Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2000
    Posts
    22

    Default

    HI, my html page is composed of two .swf
    The first one is a menu and I would like it to command movie clips included in the second one?

    Lets say that a click on a button on menu.swf should set a property (set alpha property for example) on the MC called "JOE".


    setProperty ("JOE", _alpha, "30"); of course does'nt work as it does not specify the path for the second.swf (let say that it's name is "secondpage").

    What is the correct syntax ?
    IP

  2. #2
    Join Date
    Oct 2000
    Posts
    22

    Default

    HI, my html page is composed of two .swf
    The first one is a menu and I would like it to command movie clips included in the second one?

    Lets say that a click on a button on menu.swf should set a property (set alpha property for example) on the MC called "JOE".


    setProperty ("JOE", _alpha, "30"); of course does'nt work as it does not specify the path for the second.swf (let say that it's name is "secondpage").

    What is the correct syntax ?
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Toronto, Ontario, Canada
    Posts
    432

    Default

    you'd have to use javascript to interact between them. try something like "javascript:document.movie.setProperty('JOE', '_alpha', '30')" where movie is the name of your movie (you did name your movies in the html, right?)


    hth,
    Deep (just a guy)
    <font face="arial" size="2">
    Pradeep Kumar Nair, B.Math
    Senior Web Designer
    http://www.blab.com
    ICQ: 39102360
    </font>
    hth,
    Deep (just a guy)
    --
    Pradeep Kumar Nair, B.Math
    CTO
    9 Story Entertainment
    http://www.9story.com
    IP

 

 

Bookmarks

Posting Permissions

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