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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Movie using expression

Status
Not open for further replies.

HostaDesigner

Technical User
Dec 6, 2000
14
US
Is it possible to set a dynamic text field to a literal phrase such as "picture1.swf" in order to use the loadMovie action as an expression rather that using the loadMovie as a literal to refer to one specific swf file?

The reason is, I have a page of thumbnail buttons loaded onto level 1 of my movie. On rollover of each thumb a dynamic text value on level 0 is set to the name of the seperate swf that each thumb references.
Example:

on (rollOver) {
_level0.x = "picture1.swf";
}

x being the dynamic text variable. On release, each thumbnail refers to the same target movie clip on level 0 to start playing.
Example:

on (release) {
tellTarget (_level0.pictureLoad) {
gotoAndPlay (2);
}
}
 
Not exactly sure I understand, but why don't you try using the variable x to get the value, instead of trying to get it from the dynamic text box? Just a thought .... if you still can't get sorted, post again with more info.
 
go to I think I do something along these lines. Is this helpful? I don't use dynamic text in this one (Well, I do for some of the parts), but all of the images link to external swf files and on release they load up. If the images had titles, they could easily have an added variable setting to display dynamic text. Check it out, and if you've got any questions just ask.

Blended
 
Ok...I've uploaded my current "work in progress" that my question refers to. Go to:


Click "continue" on the under construction page. After the intro, click the "photos" button to go to the thumbnails page. After the thumbs load, click the leftmost thumbnail (it's the only one that currently works). You'll see some animation begin. At the point where the animation reverses, I want to put a "stop" action and load the larger picture of the thumbnail which would be a seperate swf. I don't understand how to have seperate thumbnail buttons on level 1 refer to a single targeton level 0, and the target itself will have actions to load DIFFERENT swf's. PLEASE HELP ME!! THIS SITE IS DRIVING ME CRAZY!!! One thing is for sure, I am sure getting a lot of first hand experience, though!

Mike
 
I've allready offered my help... For what it's worth!
You never came back to me!
You know what to do!

;-) "If nothing else, I can always serve as a bad example!”

 
oldnewbie . . . Believe me, I appreciate all the help you've given!!

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top