;

PDA

Click to See Complete Forum and Search --> : URL String


skiit21
07-09-2003, 11:57 AM
I have a client who has a site designed 100% in FLASH. For special email promotions they want to send the user directly to the product in the swf file. Is this possible to do? I want to create a url string like this…. http://www.mysite.com/site.swf=productID2

Is this possible and if so how would I go about doing it.


Thanks

catbert303
07-09-2003, 04:23 PM
http://www.mysite.com/site.swf?myvar=productID2

this will create a variable myvar on the main timeline of site.swf (in this case it will have the value productID2), the value of this variable can then be used to determine which product is displayed.

skiit21
07-09-2003, 10:00 PM
How would you handle it if the products are dynamically generated and stored in XML? I can create the myvar on the main timeline but still can't figure out how to pull each product if the one keyframe runs the entire online store.


Thanks

catbert303
07-10-2003, 04:52 PM
I guess it depends on the structure of the XML and so on, but you could load all the content from the XML into an array (or maybe an array of objects) and then use the variable passed into the movie to determine which of this content is displayed.