Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get old movies to dissapear script 1

Status
Not open for further replies.

gdevo

ISP
Mar 12, 2001
10
US
1st let me just say that you guy's are great to help me out like this.

you can veiw my work here after the movie loads you can choose a color to get the sub menu and then choose from roof, siding or trim. (I've only worked on the "trim" selections so far) as you can see I can't get the old movie clips to disapear when a new color is selected. Each color name is a movie clip that moves to the left and fades to 100% alpha then stops at clip frame 15. Then I want the new selection to move the movie to frame 16 where ther is a "go" script in the movie clip that continues the clip to frame 30 fading to 0%. As I type this I wonder if I'm invoking a double negative or somthing like that. Your insights are very welcome.

Thank you Gary
 
hi Gary

I'm currently working on something very similar in concept at the moment (your sites still loading as I type this) so I'll post back when it comes through in entirety.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
hi Gary

I'm currently working on something very similar in concept at the moment (your sites still loading as I type this) so I'll post back when it comes through in entirety.

Is it the fact that the selection in the bottom-right (trim) doesn't get rid of the previous selection?

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
ouch

ok, on the 'trim' button where all you actions are I changed the first 'if' to the following and tested it with the two buttons mentioned in teh actions, all worked perfectly:

on (press) {
satinTrim = new Color(trim);
satinTrim.setRGB(0x98999A);
}
on (release) {
if (_root.quarryTrim:_currentframe=15) {
tellTarget ("_root.quarryTrim") {
play ();
}
}
tellTarget ("_root.satinTrim") {
play ();
}
}

Can I say Gary, that for what the buttons actually do I reckon you've made the job harder for yourself than it actually should be. It took me a long time to find the actions causing the problem also. Have you thought about trimming the instance names from 'text' names to 'numbers' such that you could use looping actions to repeat the same action (ie:your 'if' actions) over and over to check if the movies were in position.

I'm working on something very similar where an architectural client can select alternative materials for a design and view a 3dMax animation relative to their selections. I just think you possibly need to sit back and rethink your approach to creating this as in my opinion you've over-complicated the whole thing.

However, it's good to see someone tackle architectural facades in this way as it is something I use as a source of income in Flash. Keep it up, and let us know when you're finished. As soon as I finish my own I'll send you the link (and the fla).

regards
dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
IMPORTANT >>>> forgot to mention that you should also put a 'stop' action in the first frame of each of the 'colour name' movie-clips which slide out beside the 'Trim' note.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Dave, thanks allot! this worked great. but now you have my curiosity peaked about the numbering loop you were speaking of. could you be so kind as show me a sample?

Thanks again, Gary
 
Dave, another question. did the .swf file take so long to download or the movie itself? Did the movie load OK for you? I suspect your in europe or england so I'd like to know if there was a problem.

thanks, Gary
 
I'm in Edinburgh, Scotland.

At 47K the swf didn't take (too) long for me, but I'm on a <0.5k/s-ish connection! For 'normal' visitors to this swf it would problably come up within a couple of secs or thereabouts. The fla took about 10 minutes to download, but again this was because of my bad connection.

As far as the looping goes, I'll try and take some time out tonight to create a sample, and get back to you.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top