Jump to content
Search Community

gjacob

Premium
  • Posts

    16
  • Joined

  • Last visited

Posts posted by gjacob

  1. Hi,

     

    I would love to ditch this code myself but the banners we are working on are for a very broad international market and some countries in southern Europe and asia never updated their ad servers for AS3. I also don't think that they ever will and within the next 2 years everything will convert to HTML.

     

    Thanks a lot for the support! Your tip with TweenNano._jumpStart(this); did the trick with the addition of this.

    • Like 2
  2. The red dot in the middle should move to the left side.

     

    The green and blue are just normal tweens to see if the timeliness is playing.

     

    There are also some traces on the loaded clips timeline to test if code will be executed.

     

    If you have a look at the BannerAS3.swf you can see this red dot move to the side.

     

    It does work when the BannerAS2.swf directly into the swf2fallback.swf but them I have no way to communicate with the loaded file.

  3. Hi,

     

    I am making a small tool to save pngs from AS2 banners at intervals that are determined by the loaded clip.

     

    Since AS2 can not save a PNG and also not communicate with AS3 directly. I made a simple shim file that uses GSkinners SWFBridge. This file is loaded into my AS3 file loads the AS2 swf and manages the communication. Unfortunately I can't load the bridge into my AS2 file directly due to file size constraints.

     

    AS3 File

       -AS2 Shim

          -AS2 Banner

     

    My problem is that the AS2 files that are loaded by my shim run except for TweenMax. 

     

    Is anyone aware of any constraints that could cause this problem.

  4. Yes in using the latest Version. Just downloaded it today. Ill der if i can make an example that behaves the same. The hard Part is that it is part of a complex project and in just not sure if I can get the same problem to happen in a simple example. Also quite strange is that this is a refresh of a Project that was online last year that did not have these problems.

  5. I have a project with many separate classes all using liquid stage to scale the elements to the size of the browser.

     

    The code is quite complex and I have no way of simply reproducing the problem but was wondering if there are any known bugs that could cause it.

     

    The problem is that 2 of my elements are being released from the liquid stage for no apparent reason. there is no code to release the elements but after the display of another panel in a non related class 2 elements are released.

     

    I have added some code to your classes to see if the release command is being called but it is not.

     

    liquid stage also seems to be sometimes forgetting items when the min size is reached.

     

    is it correct to have an instance of liquid stage in every class that uses it od should i have one static instance for the entire site?

     

     

     

    thanks

     

     

     

    Greg

  6. Hello,

     

    I am trying to use the LiquidStage / LiquidArea classes and am having a problem with multiple instances.

     

    In my Preloader I have an image that is stretched

     

    ls = new LiquidStage(this.stage, stage.stageWidth, stage.stageHeight, 1000, 550);

    la = new LiquidArea(this, 0, 0, stage.stageWidth, stage.stageHeight);

    la.attach(preloaderContainer, ScaleMode.PROPORTIONAL_OUTSIDE);

     

    This always works fine.

     

    when the Preloader is finished I start my Application and do the same thing with a color version of this image i was showing in the Preloader.

     

    This also works fine as long as I don't not resize the window before the Preloader is finished. If i do this the second image is moved about the distance that the browser was resized.

     

    Does anyone have any tips for what could be causing this.

  7. Hello,

     

    All im trying to do is pin an object to the bottom left of the stage. This works fine when I view the swf in the flash player or when i compile with the Flash IDE and view it in a browser window. But when I comile it with the Flex SDK and view it in a browser window it no longer works. The stage.stageWidth and height trace out properly though.

     

    Has anyone else had this problem?

     

     

    Thanks

     

     

    Greg

     

    Heres the code:

     

    ____

     

    import flash.display.MovieClip;

    import com.greensock.layout.LiquidStage;

     

    var controls:MovieClip = new Controls();

    addChild(controls);

     

    controls.x = 10;

    controls.y = stage.stageHeight - controls.height - 10;

     

    var ls:LiquidStage = new LiquidStage(this.stage, 550, 400, 550, 400);

    ls.attach(controls, ls.BOTTOM_LEFT);

     

    ____

×
×
  • Create New...