Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

andy_fx

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by andy_fx

  1. Hi there,

     

    I ran into a certain problem. I try to switch different products and need them to animate. The whole

    content is dynamic from XML.

     

    So i first created in a for loop multiple tweens with var myTween:TweenMax

    Runs perferct. I have control over all "myTween".

     

    But i need it to run with TimeLineMax. So I tried var myTL:TimelineMax

    But "myTL" seems to be overwritten.

     

    Here's the code to clarify:

    for(var i:int = 0; i < fileArr.length; i++) {	
    
    this.addChild(new MovieClip()).name = "mc"+i;	 
    
     var myTL:TimelineMax = new TimelineMax();
     myTL.append(TweenMax.to(..tweening code here...);	
     myTL.append(TweenMax.to(..tweening code here...);	
     myTL.append(TweenMax.to(..tweening code here...);	
    }
    

     

    So I'd need something like myTL1, myTL2, myTL3 and so on, but I don't

    know how. I also tried to store each "myTL" in an array... same effect.

     

    So... anybody has an idea how to dynamically naming new Timeline Instances within a for loop?

     

     

    Andy

  2. I have a feature Request.

     

    What if it would be possible to tween the sound-playhead or seek-time?

    Would work better for embedded sounds of course. So it could be

    possible like e.g. in Soundtools to scrub through the milliseconds

    and "hear" the actual position as you go back and forth.

     

    (im)possible?

     

    Cheers,

    Andy

  3. Hi there,

     

    somehow my reply was missing. I tried excluding/removing

    several things/lines, but had no luck with Firefox. Also

    I'm using swfobject 2.1. There must be something I'm doing wrong ;)

     

    I sent you a test file via E-mail. I hope that is okay?

     

    Best regards,

    Andy

  4. Hi there,

     

    wasn't sure where to put this (tweening/transformation). So please feel free to move if it fits better somewehere else.

     

    Goal:

    I wanted to have a Fullwindow stretched and/or Fullscreen Flashsite for

    a product demonstration.

     

    Problem:

    Works fine in Fullscreen, Browser Window Internet Explorer but fails completley in

    Browser Window Firefox.

     

    My Actionscript setup


    • [*:a1npw2hc]I set up a Liquid-Stage and put all the required lines in the first frame of the movie
      [*:a1npw2hc]I placed all pinned and strechted MCs in the first Frame.
      [*:a1npw2hc]Set Align via AS to TOP_LEFT
      [*:a1npw2hc]fscommand Fullscreen
      [*:a1npw2hc]stage Scalemode is set to "noscale"

     

    stage.quality = StageQuality.HIGH;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    fscommand("fullscreen", "true");
    LiquidStage.init(this.stage, 1000, 700, 1000, 700);

     

    My HTML setup

    I looked into your example and set it up accordingly.

    Doctype is:

     

    
    

     

    I also set up a CSS for body and HTML Tag:

    html, body {height: 100%;width: 100%;margin: 0px;padding:0px}

     

    Conclusion

    Wether alignment mode... all the time Firefox is behaving strange. But your example works

    in FF and IE. So I guess the problem is not necessary in the HTML-Part.

     

     

    Could you please help me on this? I can also send you my Project (it's in a very early stage and

    filesize would be minimum).

     

    Thanks in advance,

    Andy

×