A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Setting the download order?

  1. #1

    Setting the download order?

    Can I put a .swf in an html page and have it download last?
    I want a little text animation to happen after the rest of the page is loaded.
    Thanks

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Top Shelf
    Posts
    757
    you could have a JavaScript onLoad event handler for the body of your html page. once the page has loaded, you call a function to tell flash that the page has loaded, and that it can play the animation:
    Code:
    <BODY onLoad="javascript:beginAnimation()">
    see
    here for more info on communicating from JS to Flash.
    This information is subject to change without notice and
    is provided "as is" with no warranty.

  3. #3
    Hey Thanks! The info is perfect.
    Have a nice weekend.

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