News:

If you need instructions on how to get through the hotels, check out the enclosed instruction book.

Main Menu

Ok what the hell...

Farted by FrostShell, June 09, 2009, 06:32:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FrostShell

So I made this pre-loader. ExampleA is when I export it from the original fla it was made in. ExampleB is exported from a brand new fla that I copy and pasted the button into (you can keep pressing play, it loops). Look at the animation in the beginning where LOADING changes to PLAY, and notice how in ExampleB the "play" part of the animation gets nudged out of place.

EXAMPLE A
[flash]http://www.frostshell.com/stuff/butt1.swf width=250 height=150[/flash]

EXAMPLE B
[flash]http://www.frostshell.com/stuff/butt2.swf width=250 height=150[/flash]

I've tried totally re-doing that part of the animation, making a new graphic for the animation, made sure the export settings were exactly the same in both flas.  For some damn reason, whenever I paste this thing into a new fla, it screws that one tiny bit of the whole button, every time.

So... what the hell?

Add: upon closer examination, it seems that when I paste it into a new fla, the little center white dot thing (whatever the hell you call it) gets thrown off on that one graphic. Why the hell would that happen?
[flash=http://www.frostshell.com/stuff/FSsigT.swf]width=570 height=170 wmode=transparent[/flash]

Slurpee

Well, that's a heck of a thing.

I want to say that usually the only time I see that kind of animation error is when there's a discrepancy between the type of object in the beginning and ending keyframes in a motion tween (e.g. the first frame is a movieclip, and the last one is a group, because of some modifications I made as an afterthought.), but that wouldn't explain why it only happens in a new .fla document.

I would try breaking all tweens in the offending animation into keyframes, and going from there. (Assuming you're using tweens.)

SpongeClock SquarePants

weird little problem youve got there. I know form experience tweens can fuck up when on a different keyframe the registration point or the rotation point is altered. Simple copying shouldnt do that but i guess it did.

Try tweenlite to code the tweens inside your loader actionscript, it should save some hussle.

Slurpee

scsp might know what he's talking about more I haven't updated flash since mx came out.

FrostShell

Simply selecting the tween and choosing "convert to frame by frame animation" (aka a bunch of keyframes) fixed the problem for whatever reason. Very odd considering it was such a simple tween. Hell, the 'loading' text animation was the exact same thing, just backwards, and it worked fine. Maybe CS4 has some new breed of glitches for us to discover. Anyhoo thanks for the help, problem solved.

What is tweenlite by the way?

And I might as well ask now, anyone know an easy way to convert AS2 code to AS3 code? I barely understood actionscript2 and now they switched up the whole game.
[flash=http://www.frostshell.com/stuff/FSsigT.swf]width=570 height=170 wmode=transparent[/flash]

SpongeClock SquarePants

Quote from: Frostshell;1596503Simply selecting the tween and choosing "convert to frame by frame animation" (aka a bunch of keyframes) fixed the problem for whatever reason. Very odd considering it was such a simple tween. Hell, the 'loading' text animation was the exact same thing, just backwards, and it worked fine. Maybe CS4 has some new breed of glitches for us to discover. Anyhoo thanks for the help, problem solved.

What is tweenlite by the way?

And I might as well ask now, anyone know an easy way to convert AS2 code to AS3 code? I barely understood actionscript2 and now they switched up the whole game.

http://www.clockcrew.cc/talk/showthread.php?t=86105 check fhis thread for tweenlite.
i think tweenlite if available for both as2 and as3.

as for converters, this is the best i could find: http://www.5etdemi.com/blog/archives/2006/11/as2-to-as3-converter-createtextfield-geturl-handling/

i decided to just learn as3