A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Motion Scripting

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    12

    Motion Scripting

    Hey, I've had KM for a few months now, and I haven't started playing around with motion scripts till now. But, there's a problem. If I write some text, and give it a motion script effect, it stays at the same size, even if I resize it. It's not working as a WYSIWYG editor.

    Help is appreciated,

    -Fyce
    Last edited by blanius; 08-06-2006 at 09:27 PM. Reason: Orange text are you nuts!

  2. #2
    Steve R swrzzzz's Avatar
    Join Date
    Jan 2005
    Location
    Leicestershire,UK
    Posts
    195
    Hi

    I just tried this and I see the same thing. I *can* change the size of the text after I have added the motion script by changing the font size though, and that works so maybe its a workaround for you then you will see the right size text on the screen.

    I can only guess that the motion script uses the font size defined for the orignal text.

    Hope this helps - maybe someone else will have more thoughts

    Steve

  3. #3
    Steve R swrzzzz's Avatar
    Join Date
    Jan 2005
    Location
    Leicestershire,UK
    Posts
    195
    got it!

    If you create your text with your motion script then convert it to a movie clip before you resize it with Shapes-ConverttoMovieClip you can resize the movie clip as much as you want

    Steve

  4. #4
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    MotionScripts are used like this, thjat script has got included text, position and font face & size. You can freely convert text to a shape with points -> but effects like flames wont be "left to right" but all at once. but there is a little trick -> convert text to single letters, then convert each letter to shape with points, and add to first letter on first frame effect (flames for example), then add to second letter on second frame same effect, then to thrid letter on third frame... of course do it all in a movie clip - this will let you to repeat animation, just add in clips' last frame gotoAndPlay('start'); where start is a name of first frame. this will look like a normal effect, but will increase size of your swf.

  5. #5
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    some of those work but if u want it to be easly selectable select ur text then transfrom it to shape with points then add motionscript 2 it

  6. #6
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Changing the font size is the easiest solution. Converting to points is generally a bad solution because it increases the size of the swf.

  7. #7
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    o well he wanted to know bob lol i neva knew it makes the file size bigger does symbols make the swf file smaller?

  8. #8
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    Quote Originally Posted by XareoX
    o well he wanted to know bob lol i neva knew it makes the file size bigger does symbols make the swf file smaller?
    if you saying "symblols" were thinking about letters - hm, yes.
    Thats why, for example, i dont use exotic fonts in animations - swf got only information like html, font size, style and text:

    Hello World!

    makes about 27 bytes. When ill convert text to a shape with points, ill have in swf points coords and math functions, what is normal for vectors, and HEllo World! can be much bigger, and the size can be different, depending on font. Arial Narrow will be smaller than Times New Roman for example - TNR is shreif, it has got more poinst. More points - more functions - more functions & more points - bigger size.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center