| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
hi hi hi
PLEASE can someone help me. i sense theres a quick fix here and im super tired of going through pages and pages of things i dont need! im building an application for a company which makes customised casino tables and they want an application where there customer can "build" their own table on screen so they know what they are organising. what i think i need is scripting for a button so when i click on "green mahogany round" button for the table edge it brings up that image specifically? then "chrome/crystal turret" button would add that image in there as well? i think its something along the lines of "if" "then" scripting? does anyone have any ideas on this?!?! my deadline is looming and im beginnning to panic!!! please help me! |
|
#2
|
|||
|
|||
|
Well your "if then" syntax is:
Code:
if (condition) {
statement;
}
But I think what you need is just for the image of the casino table to become visible when the button is clicked? Yes? Code on the green mahogony buttony thingy... Code:
on (release) {
greenMahog._visible = true;
}
And just change the 'greenMahog' to whatever the name of the image is that you want to show. On the frame just put the code: Code:
greenMahog._visible = false; So that when you run the program the image is invisible until the user presses the button... This is a really basic method of solving this problem. But it does work. Its just length scripting... Hope this helps.
__________________
Ask me for help in the following areas: Flash - Should be able to help HTML/Dreamweaver/Web Design - Should be able to help. CSS - Can help in some areas Also working on: JavaScript PHP C++ DHTML |
|
#3
|
|||
|
|||
|
oooh thanks so much thunder!
ill give it a bash.. looks workable thanks again! |
|
#4
|
|||
|
|||
|
hmm.. cant seem to get it to work. high possibility im been stupid though
im not sure i explained myself properly. im want to have an image of the whole table but just certain things to change.. aka the colour of the wood around the table. ill have a button for that option etc etc you mentioned i must put code on a frame but i dont want to work by jumping to various frames because the options are too endless. i literally want an image to turn on and turn off another q which clarifying may help. what "format" must the image be in? i've drawn the table and its elements in vector to break it up. must i then make each piece a symbol? graphic/movie clip? sorry to be a pain! hope you understand my pleb jargon |
|
#5
|
|||
|
|||
|
Hi,
Bit off topic but . . . this sounds like a really interesting project you have here Would love to see it when its complete Do you have msn? Thanks Squishy |
|
#6
|
|||
|
|||
|
hey squishy
it Is a kewl project thats why i took it on when it may be beyond me! lol i dont have msn sorry! |
|
#7
|
|||
|
|||
|
hehe thats a shame
Thanks Squishy |
|
#8
|
|||
|
|||
|
oooh i think i almost have the solution
but i need a leeeetl bit of help tweaking the action script.. im going to fragment the table into its elements then create a "slide show" kind of movie clip symbol for each soooo what i need is.... script for a button to say: on release go to a specific frame in a certain movie clip! by golly! i think it can work lol |
|
#9
|
|||
|
|||
|
It sure can!
Code:
on (release) {
_root.mcName.gotoAndStop(#);
}
At least that should be right... Just change the mcName to the name of the movieclip you want to enter and the # to the frame number you want to go to. BTW - If you want it to play an animation that starts on that frame its gotoAndPlay(#); |
|
#10
|
|||
|
|||
|
ooooh it worked!
and well... i KNEW there was a simple solution thanks for the help thunder you're a champ! |
|
#11
|
|||
|
|||
|
No worries. Let me know if you have any more problems.
|
|
#12
|
|||
|
|||
|
hi again thunder X
hope your flashing is going well ive come across a little snag again and was wondering if your words of wisdom could help me out im using rollout/dropdown menus in this application and they are upsetting my blood pressure. im using the scripting on (rollOver) { gotoAndStop(2); } on the initial button in frame 1 then a background transparent button behind all the buttons in the second frame with scripting on (rollOver) { gotoAndStop(1); } this is apparently the std easy way to make drop down menus the praaaablem comes in when theres more than one drop down menu... they get sticky and the previous rolled out menu doesnt always dissappear when the new one is rolled over is there a better way to do this that you know of? tanks for your time mikkyg |
|
#13
|
|||
|
|||
|
Sorry its taken so long to get back to you. Got exams coming up... Not looking forward to them... Decided to take what I class as a well earned break. :p
Have you specified them to dissappear on rollOut? I'm guessing its because all the buttons underneath each other are interfering with the rolling... Try in a new document just having all the roll over buttons in different spots around the stage. And just making sure your script works... And all that jazz. I have never used rollOvering before... So I'm not sure... |
|
#14
|
|||
|
|||
|
yup i did that...
i also specified on every button for every other button to return to frame on.. was a mission but at least its safe... lol thanks for the help again and good luck with the exams! may u write with speedy fingers |
|
#15
|
|||
|
|||
|
And its still not working?
Hmm, can you upload the .fla and send me a link? |
![]() |
| Viewing: Tutorialized Forums > 2D Graphics > Flash > Help with customised build-your-own product flash application |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|