A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [AS2] How to import swf into another swf?

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Smile [AS2] How to import swf into another swf?

    Actionscript 2

    main.swf (size = 800X600)
    small.swf (size = 300X255)

    How can I insert this "small.swf" into my page, the result I want is "small.swf" will show within the main page?

    I tried the code below, but it just show "small.swf" outside the page, i can't see my main page.
    Code:
    onClipEvent (load){
    _root.loadMovie("small.swf");
    }

    Anyone can help?

    Please!

  2. #2
    Junior Member
    Join Date
    Jun 2005
    Location
    Ludhiana
    Posts
    16
    use tel target.

  3. #3
    Member
    Join Date
    Feb 2009
    Location
    nomad
    Posts
    61
    ...so, why exactly wouldn't the "load" AS work for this versus "tel target" as was suggested? Seems like it should?

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