Jump to content
Search Community

Search the Community

Showing results for tags 'Mulitple Loading'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi, I have a page with various image buttons (page1). From this page I am accessing another page (page2) where greensock's SWF loader is constructed and loads multiple SWFs from the first page (page1). These larger SWFs are corresponding to various buttons on the first page (page1). For that I have set up a var on page1: var sourceVar_ProductsPopUps:String; then each button has a code like this: then I use this var in all the buttons function onClickSumix16RGBPopUp(event:MouseEvent) :void { sourceVar_ProductsPopUps="prdcts_popups/Sumix16RGB-popup_tl.swf"; gotoAndPlay("(page2"); } Then this var is used in the SWF loader construction on page2: loaderProductPopUps = new SWFLoader(sourceVar_ProductsPopUps, Then I wanted to have additional buttons on page2 and load other SWF files into that same SWF loader on page2. So I used the same code. I made a button and this is my script from a button on page2: tryDelete_mc.addEventListener(MouseEvent.CLICK, onClicktryDelete_mc); function onClicktryDelete_mc(event:MouseEvent):void {sourceVar_ProductsPopUps = event.currentTarget.prop; } Why it doesn't work in the second case?
×
×
  • Create New...