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

Flash/Generator - Variables: How to ?

Status
Not open for further replies.

revasco

Technical User
Jan 29, 2002
1
US
Greetings,

I am new to Flash from Director. I recently set up Flash with Generator templates. I am not able to load a .jpg using a Generator variable { } with LoadMovie though I have no problem loading if I call the .jpg directly. My code looks something like this:

var Image="Pic001.jpg";
LoadMovie("template.swt?ImageFile=Image", 0)

In the object parameters I named the file {Image}

The Inspector says I cannot access the URL path or the .jpg.

Does anyone have experience using generator variables and know why I am having problems ?

Thanks,

revasco
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top