|
-
URL String
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
-
Senior Member
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.
-
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
-
Senior Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|