A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: play external swf on specific frame on another html page

  1. #1
    Flash Genie letschillout's Avatar
    Join Date
    Feb 2007
    Location
    31.52949, 74.347272
    Posts
    146

    play external swf on specific frame on another html page

    Hi ppl, I have question here

    i will send newsletter to client via email
    client clicks on image or link and it will open a specific frame in swf

    i know we can jump specific frame in html if swf is embed in same html
    but i am looking for external swf in html to be played on specific frame.

    anyone have idea?
    Charag - 3D, Flash Games, Animations,
    Website Development & More...


  2. #2

    Thumbs up Query strings and cookie variables

    So initially I thought to do what I wrote below, then I saw this article for using query strings from another forum post-- http://noscope.com/journal/2003/12/query_string
    which is much nicer than what I thought of. Aren't forums great for learning??


    Old idea:
    Serious: You could get fancy, where only one flash file exists, but the e-mail link the person click contains information about what button was pressed, i.e., query string. (http://en.wikipedia.org/wiki/Query_string ) You could write a little server side program to create a cookie based on their query string (the query might look like "http://yourwebcontent.emailstuff.com/mailindex.html?framestart=1") Then the flash movie would read the cookie contents and start on the number or name that the framestart variable in the cookie is set to based on which query string was sent to the server.

    So look up how to set a query string based cookie value, then look up how to load a cookie variable into flash. If the terms you read for scripting this process sound foreign to you, just link people to a bunch of different Flash files.
    Last edited by Gazaah; 07-27-2010 at 12:14 PM. Reason: Hey there's a method for that...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center