Jump to content
GreenSock

spica2

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

spica2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks. That helped. A bit It deals responive positioning with gsap. But still the problem, what if the script is already running with its calculated measuments and a new mediaquery gets in action (e.g. device rotation) with other styles, e.g. you want to switch from a centered to left aligned.
  2. I am using some fromto css animations. gsap writes the css as inline styles, eg relative margin informations to absolute pixel margins. when I change the windowsize or change the orientation on a smart device my design is broken, because the absolute pixels do not fit to the new window dimension. Is there a general concept to deal with that?
  3. After dealing some hours with that problem and redrawing all my artwork, I think it is the heavy use of bezier curves, that influences the calculation of path length, especially counter-rotated or intersecting handles. Adding more anchors do not realy help generally. If anybody can confirm my impression, I would appreciate. After all: its a FF bug, how will one know what the hell is going on.
  4. Oh, yes. That works fine. Simple and good solution. Do you have any idea, what kind of paths shapes causes the problem. Not all shapes have that gap. bth, the official demo http://codepen.io/GreenSock/pen/jEEoywsuffers the same thing.
  5. Having some issuis with DrawSVG in FF34. The Path does not get drawn fully. Other browsers are ok. Could have to do with the getLengthProperty problem in FF. Experimented with several pathes, that hade this strange behaviour. Some could be fixed by rearranging the points of the pathes, for what reason I can not see. The example in the pen seems to be ok with its path. The gap seems to be between the 0th nd first Point of the path.
  6. bingo to display tlf a additional recource (textLayout_X.X.X.XXX.swz, I alwayse wondered where this came from in the file directory after previewing) is loaded from the adobe webserver each time you start the file. This causes the crossover warning and the crash because compiled for air this is prohibited. You must compile the recource directly in the airfile. See this (german): http://help.adobe.com/de_DE/flash/cs/us ... 5aa72-8000 well, this was an annoying puzzle – in the end it is just a few clicks.
  7. fount it, at least what causes the crash: new TLF-Text. With TLF this warning is shown, that I have ignored:
  8. hi carl, thanx for your help. I will test your suggestion, I first have to review the whole file whichs timeline is much more komplex, so I am not shure, if your suggestion will fit. Meanwhile I found similar results. As far as I can see, only the btn instance is removed from stage after the second run. You can see this in this file eclosed. But I have no explanation, why its taken from the display list. What realy irritates me is, that building the file new from scratch, its working. The file, that I am working with was a CS4 file now opened in CS5. Can there be unvisible code somewhere caused by the import? e.g. Copy pasting the timeline in a new file ist working (but as I mentioned I cant do it with the whole project, that is more complex). I also would like to test to export it as Air 1.5, but cs5 does not offer this. Any ideas on that are welcome. I will give feedback on my further tries.
  9. thanx carl, for your test. enclosed you will finde my fla. the strange thing about it is, when I export it for player 10 it works fine. But I need it as air. CS5 exports air 2, cs4 air 1.5. as an air project the error is the same. have no explantion for it.
  10. have a problem with a script that was running in cs4, but now in cs5 I get errors. I am fading in objekts by timelines after framejumps eg. frame 0 stop(); mybtnLeiste1.mybtnPT1.addEventListener(MouseEvent.CLICK , function (event: MouseEvent): void {timeline.reverse()}); var timeline:TimelineMax = new TimelineMax({onComplete:function ():void {timeline.pause();}, onReverseComplete:function ():void {gotoAndStop(10)}}); timeline.appendMultiple(TweenMax.allFrom([ mybtnLeiste1, myBild1, myAktualisieren, myteaser1, myteaser2, myteaser3 ], 0.8, {autoAlpha:0}, 0.1)); and frame 10 mybtnLeiste2.mybtnPT1_2.addEventListener(MouseEvent.CLICK , function (event: MouseEvent): void { timeline2.reverse()}); var timeline2:TimelineMax = new TimelineMax({onComplete:function ():void {timeline2.pause();}, onReverseComplete:function ():void {gotoAndStop(0)}}); timeline2.appendMultiple(TweenMax.allFrom([ mybtnLeiste2, myUhr1, myUhr2, myUhr3, myUhr4, myUhr5 ], 0.8, {autoAlpha:0}, 0.1)); Jumping by the button on frame 0 to frame 10 works. But jumping back from frame 10 to frame 0 gives an error cant figure out a solution. Any help? (Still wondering why its was working in cs4)
×