dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: target.loadMovie

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    21

    target.loadMovie

    have a XML sub-menu and I want to load an external .swf on click

    Is this the only action script I need on my main timeline?

    target.loadMovie("gameday.swf")
    stop();

    Here is my XML sub-menu code:
    <SubMenu label="Game Day" bgColor="0x999999" bgAlpha="65" borderThick="" borderColor="0x999999" borderRound="0" font="arial" fontSize="11" fontColor="0xffffff" usingEmbedFont="false" bold="true" italic="false" link="http://www.ssdfsdfwsdf.com" targetWin="_self"/>

    Do I use the link? Or the targetWin=" " ?

    Thanks for your help in advance.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    read about the asfunction. you will need a function in the fla. Then enter the params (name of the .swf or ese) in the xml.

    gparis

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