Flash CS3 help URGENT

Im working on a flash project and im trying to copy the
frames of one file to another but it has motion tweens and motion
guides....and the frames are specifically place at certain times.
how do i copy the frames to another file with out getting the
motion tweens detached from the motion guides and withough have the
frames get shifted. Can anyone help me? my friend suggested that i
have to copy the frames and 'reorganize' all the frames.. but then
i dont know how to re attach the motion and the motion guides..im
am pretty postive thats theres a more efficient and easier way to
copy frames from a file to another. help please!
on another note...does flash on a mac work diffrently on a
pc? cause my animation is getting pretty glitchy >.<

All you need to do is make sure your text is Static text and
flash embeds the font on your .swf so other users can see it as
is.

Similar Messages

  • Flash CS3 HELP!

    Ok, I am using adobe flash cs3, and creating a photo slide
    show with buttons and all. I am stuck in the very beginning!!! When
    I drag my Jpegs into the Library on the right side, they all show
    up, but then when I go to drag them into the workspace, it just
    shows a grey box around them. They do not fill!!! I know there is
    probably something very simple im missing but I cannon figure it
    out. I cannot even create a rectangle or shape with it filling a
    color. I know the fill lock is not on either. This makes no sense
    to me please tell me what I am doing wrong. I just started having
    this problem, it has not happened before.. PLEASE HELP :)

    No I do not. Thats not the problem, but I still cannot figure
    it out. I cannot really continue to work either until I can get
    this figured out.

  • Flash CS3 Help (Shape With Bitmap in Runtime)

    HI,
    I am A Beginner in Adobe Flash CS3
    Now, i make a fla (Flash Document) file.
    say, there is a bitmap (image) in the asset/Library (imported).
    I create a shape with that image. (fill type as bitmap).
    Now. what i want, i want to change that shape bitmap in run time using external image file (jpeg) file. I can load and change images of movie clip. But i don't want that. I want to change the bitmap of a shape (graphic symbol) by loading an external file (image file ex.jpeg)  and also want to keep aspect ratio. (say my shape size is 800X600 px and i want to load 1486x1020px image in that shape. So, it will keep aspect ratio and resize to 800x600.
    could anybody help me out..
    ****Pleaese At least give me a suggestton or Feedback****
    please check this File, May be it will help you guys about my requirement.
    Don't Panic File Size is Only (410 KB) And No Password Or Any Kind of Virus) As the file extension is (.fla And .jpg)
    (http://rapidshare.com/files/316519572/Flash_CS3_1.rar)
    First watch test.jpg file
    i heighlight some point :
    1. The Graphic Symbol (Shape 2)
    2. Shape 2 Fill Type (Bitmap)
    3. The Image In Assest Library
    4. The Shape 2 (with fill type as bitmap)
    Now, The point is what i want. If you already watch the movie (Test.fla). Then, say i have a picture (D:\Pics\Load.jpg). i want to load that jpeg file on runtime in shape 2 (as bitmap fill type) and also keep aspect ratio.  I don't want to add the image to my library (asset).
    Ok, could anyone help me out ....
    Thanks in Advance...

    Not entirely sure what you're looking for, but you use a Loader to load images at runtime. You can size them as you like by setting the width and height.

  • Adobe Flash CS3 help needed

    I need help very badly....
    Here is the reader's digest version.....
    I purchased a flash website template for my local band to try
    to elimate the pain of creating one from scratch. I never used
    Adobe Flash CS3 before, but figured I could figure out enough
    (through reading & forums) to change what I needed to
    personalize my site. Well, I have spent countless hours learning,
    and changing, and have come up with a pretty sweet website using
    this template. I now have only 2 problems left that I can not
    figure out no matter what I try.
    One of my pages is set up so that fans can listen to and/or
    save any of 3 songs that I have recorded in MP3 format. I have
    basically 3 columns set up: the 1st column has the song name, the
    2nd has speaker icons, and the 3rd column has floppy disk icons. I
    want to be able to click the speaker graphic, and play the MP3
    song, or click the floppy disk graphic and enable any fan to save
    the file. I figure there has to be a fairly simple way to do this,
    but I sure can't figure it out, and I'm starting to pull my hair
    out. Please help....
    Remember, I have just basic Adobe CS3 skills so a description
    of what to do has to be fairly easy to understand....
    Thanks in advance!!!
    CyberFly

    Please help.......

  • Flash CS3: Help me make my movie play, please!

    URL: http:schoolsignsonline.com
    This is an electronic sign company, so I'm trying to put a Flash movie of one of their signs onto their preexisting site. No sound, no skin, no controls, just the movie, looping endlessly.
    I imported an .avi video (from a PC) from the client into Flash CS3 (on a Mac), and made sure my stage was the same size as the file parameters.
    Saved the file. Tested the movie in Flash. **The movie plays just fine**. It's a picture of brightly colored balloons ascending on a black background.
    I publish the movie.
    I copy the .fla and .swf into the flash folder at the root level of the site on my local server.
    I go into Dreamweaver CS3 to insert the movie using their Insert>Flash into the div I've created for it on the index page (which uses server side includes for the nav & footer only - no PHP involved - so each page has an .shtml extension).
    I test the movie in DW by clicking on the green arrow in the properties toolbar. Nothing but white. Movie doesn't play, or if it is playing, it's only white.
    What the heck. I save the page, letting DW generate the script.
    I upload the revised index page, the flash folder (with the .swf and .fla files in it), and the Scripts folder to the site on the remote server.
    Go to a browser. Nothing but white where the movie is supposed to be.
    I asked about this on the Adobe DW group on Yahoo Groups, and they really didn't know, thinking it was a Flash problem. One of them said the movie couldn't be found. Dang it! This is a script that DW generated when I placed the movie into the page! I don't know anything about JavaScript (yet), so I'm not going to muck about in the code to break it.
    BTW, the HTML for the page with the movie on it no longer validates - I hear this is typical of a CS3 Flash insertion by DW.
    Can anyone PLEASE help me figure out what I've done wrong? What other info do you need from me?
    Thank you in advance.
    Theresa

    For the Flash-generated html file, you basically want to copy the script tag in the head section....
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    into the same place in the head section of the real file.
    and copy the entire section of code in the body starting with and including...
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    .... all the stuff between....
    </object>
    </noscript>
    into the div you mention
    And in the case of what's shown above, you would want to have the AC_RunActiveContent.js file in a Scripts folder.

  • Strange masking issue in Flash CC - Help, urgent

    I am working on a freelance job for a client that is due in the morning.  I've wasted several hours trying to figure out what is going on.  Here is my predicament:
    I have a layer with four masks, as follows -
    Text
    -- Clip 1
    -- Clip 2
    -- Clip 3
    -- Clip 4
    In the document, the clipping works perfectly fine up until frame 153.  I did the exact same thing as I did with the previous animation, just with different shapes and timing - and it somehow does not work.  It also does not work with the clipping done at frame 235.
    Now here is the amazing part: once I publish the flash, NONE of the masking works, and instead solid blue boxes show up that DON'T EVEN EXIST in my .fla document!  They appear to be the bounding boxes of my movie clips, which makes NO SENSE at all.
    I've tried everything I could think.  The worst part is that I have been using Flash CS2, CS3, and CS4 for several years and have never run into any issues using masking.
    Please help me if you can, this is very urgent and I may lose the entire project if I can't solve this problem.  I'll be checking back frequently....
    Link to file: http://www.sendspace.com/file/zqinx8
    Thank you for your help.
    EDIT: For completion, here are my system's details:
    OS: Windows 7 64-bit
    RAM: 3 GB
    CPU: 2.3 ghz
    Graphics: AMD M880G

    Hi Jostrom,
    Thanks for reporting this. We were able to narrow down this issue and has already been logged internally under bug #3585950.
    We shall update once this is investigated and gets fixed.
    Regards,
    Nipun

  • Constant Problems with flash, Please help Urgent for University work

    Hello Im having problems, my 1st frame code is
    stop();
    import flash.events.MouseEvent;
    sync_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick (e:MouseEvent):void{
    gotoAndStop(2);
    This seems to work fine, and get my to the 2nd frame, which is where i have problems, my aim is to make a button to continue, and a button to go back to the first frame i p much copied what you used.
    stop();
    SyncMusic_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
    function mouseDownHandler1(event:MouseEvent):void {
    gotoAndStop(3);
    BktoConfig_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
    function mouseDownHandler2(event:MouseEvent):void {
    gotoAndStop(1);
    The instance names were copied straight from where i named them so they are right, this is making me mad because ive been working on cs5.5 at uni, and on cs4 at home and my cs4 doesnt run my cs5.5 work i had made a start on (where all this was working)
    I keep getting the error :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Untitled_fla::MainTimeline/frame2()
    at flash.display::MovieClip/gotoAndStop()
    at Untitled_fla::MainTimeline/onClick()
    And the button going back doesnt work, Im in urgent need of help because this assignment is due next week, and ive been working on it for at least 2 weeks now and nothing i can do seems to be working.

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • Flash CS3: Help panel too large to resize

    Hi!
    I feel quite stupid but...
    for some reason my Help panel is too large, making it
    impossible to scroll down to all the items.
    Here's a screenshot:
    http://tinyurl.com/2aycu4
    When I open the Help Panel, e.g. by pressing F1 the grey
    header bar is flush with the top of the screen - no way to drag it
    higher up. The problem now is that the bottom of the panel is
    somewhere well below of the lower edge of the screen - so there
    seems to be no way to drag the lower corners of the panel in order
    to make the panel smaller, small enough to fit the window. As it
    is, it is impossible to scroll down to the lower parts of the Help
    panel.
    Any help is very much appreciated!
    Thanks!
    Andreas Weber

    Can't you resize from the top? In Windows you can usually
    resize from any window edge. So, just move the window down then put
    the mouse of the top edge until you get the resize arrows...
    Or am I wrong I notice the help window is
    non-standard.

  • Flash CS3 - Odd button problem

    Hello, Ive upgraded to Flash CS3 and I'm having a problem
    with buttons.
    When I open up my site, the old buttons work fine to navigate
    the site and open up URL links. I have the actions on their own
    layer instead of having an onRelease on each button.
    However, when I create new buttons, they don't work.
    I've even tried copying the existing working buttons,
    applying the exact same actionscript to figure out what's going on,
    but that also doesn't work, those buttons won't open up the URLs.
    Am I perhaps using the wrong publish settings/flash player
    choice?
    Thanks

    The answer is "skins" just search under "Creating skins for
    some instances" in the Flash CS3 help file.

  • Why is AS1 documentation not a part of CS3 help

    hello;
    in my flash CS3 help, there is AS2 and AS3 documentation, but
    no AS1 documentation;
    I have come to the understanding that AS1 would continue to
    be supported in future flash authoring environments;
    any thoughts?
    thanks
    dsdsdsdsd

    dsdsdsdsd,
    > I am still not convinced that AS3 is necessary
    It isn't.
    > just because an engineer can build a 800hp engine,
    > powerful enough to thrust a wing-adapted minivan
    > into flight
    > doesn't mean it is the right approach: do soccer moms
    even
    > want to fly?
    I do get your analogy. Really, I do. What I don't get is why
    you're
    the one making it -- because based on what you've described,
    it sounds like
    you're the engineer in this analogy, not the soccer mom.
    After reading
    Colin Moock's article, I would think even the soccer moms
    should find
    encouraged, but regardless ... of course you don't have to
    use AS3. ;)
    If you don't, you're stuck with a different set of
    complexities, so it
    all comes down to what you're comfortable with. In AS1/AS2,
    you have on()
    and/or onClipEvent() for handling events. You also have the
    dot notation
    equivalents (e.g. myClip.onRelease = handlerFunction). But
    wait, there's
    more! You also have addListener(). How's that for consistent?
    Ah, but
    then you also have addEventListener() -- just depends on
    which datatype
    you're handling the event for. If you're a longtime Flash
    user -- and you
    are -- then each new event handling model was something you
    took in stride.
    If you're new to the scene, it could seem like a completely
    arbitrary mess.
    In AS3 (outside of a drop-in-the-bucket NetStream exception),
    you have
    addEventListener(). Easy to learn and easy to remember,
    because it's very
    nearly consistent.
    In AS1/AS2, if you want to instantiate a new MovieClip
    instance, you
    have to refer to an existing MovieClip instance and invoke
    the
    createEmptyMovieClip() method, give the new instance an
    instance name and
    assign it a depth. In AS3, you just invoke the constructor:
    new
    MovieClip(), then add the new instance to the display list.
    It comes down to personal taste, I guess. To me, the newer
    models are
    easier to use ... once you learn them (of course). There are
    trade-offs in
    either camp, obviously.
    > if someone could tell me some concrete thing
    > that AS3 can do that AS1 cannot
    > I would appreciate it;
    I'm sure there are more, but here's a concrete thing off the
    top of my
    head: AS3 allows you to reparent movie clips (and other
    visual display
    objects) simply by removing them from the display list of one
    object and
    adding them to another. A practical example that comes to
    mind is a jigsaw
    puzzle, in which snapped-together pieces stay together,
    making it easy to
    move snapped-together pieces as a single group. Each
    individual piece could
    initially belong to the display list of the main timeline,
    but could be
    moved to the collective display list of a group of
    snapped-together pieces.
    Not that a single example should sway you. The example I
    made might
    just be meaningless to you, because you might not be
    interested in
    Flash-based jigsaws (or you might be interested, but would
    rather move
    snapped-together pieces by way of some algorithm that tracks
    the position
    and movement of each individual piece -- again, you're
    trading one set of
    complexities for another; on the main, I personally find the
    complexities of
    AS3 worth the learning curve).
    > I am working on my first AS3 project - shopping cart -
    but
    > I will not use external packages );
    And you shouldn't, unless you feel that external classes
    would help you.
    For me, I like the idea of utility classes (at least). In
    order to create a
    dynamic text field in AS1 -- let's say a non-selectable text
    field, that
    resizes as needed to fit the text, with a sans serif font --
    you might do
    something like this:
    var tf = this.createTextField("myTextField", 0, 0, 0, 0, 0);
    tf.selectable = false;
    tf.autoSize = "left";
    var fmt = new TextFormat();
    fmt.font = "_sans";
    tf.setNewTextFormat(fmt);
    tf.text = "Lorem ipsum dolor sit amet";
    (Note, this assumes Flash Player 8 or higher, because prior
    to Flash Player
    8, the MovieClip.createTextField() method returns Void.)
    So ... to me, that's a lot to type. Again (this is my mantra
    in this
    post) ... one set of complexities for another. To reuse this
    code, I could
    certainly throw it into a function. Let's say something like
    this:
    function makeTextField(target, text) {
    var tf = target.createTextField("myTextField" +
    target.getNextHighestDepth(),
    target.getNextHighestDepth(), 0, 0, 0, 0);
    tf.selectable = false;
    tf.autoSize = "left";
    var fmt = new TextFormat();
    fmt.font = "_sans";
    tf.setNewTextFormat(fmt);
    tf.text = text;
    makeTextField(this, "Lorem ipsum dolor sit amet");
    That's a tried and true procedural way to make your work
    easier. I
    think, so far, you would agree ... and I think, for you,
    there's nothing new
    so far. Notice that to keep instance names unique, I used
    MovieClip.getNextHighestDepth() to append a number to the
    instance name, and
    also to ensure that a safe depth is met. A real
    implementation would
    probably include x,y positioning parameters, to make sure
    text doesn't
    overlap ... but you get the idea.
    I could use AS2 to create a utility class called, say,
    SimpleText.
    Here's a stab at it. Quick and dirty AS2 external class file.
    // Class file
    class net.quip.utils.text.SimpleText {
    public function SimpleText() {};
    public static function makeTextField (target:MovieClip,
    text:String):Void {
    var tf:TextField = target.createTextField("myTextField" +
    target.getNextHighestDepth(), target.getNextHighestDepth(),
    0, 0, 0, 0);
    tf.selectable = false;
    tf.autoSize = "left";
    var fmt:TextFormat = new TextFormat();
    fmt.font = "_sans";
    tf.setNewTextFormat(fmt);
    tf.text = text;
    More complex? In a sense, sure. Not by a whole lot, if you
    really look
    at it. The AS1 function version was a teensy bit bigger than
    the
    non-function version. The AS2 class version is a teensy bit
    bigger than the
    AS1 function version. But once it's done, it's done. If I
    ever want this
    functionality, I just import my class and use its (in this
    case) static
    method:
    import net.quip.utils.text.SimpleText;
    SimpleText.makeTextField(this, "Lorem ipsum dolor sit amet");
    In my experience, that saves me time and effort. And this
    same sort of
    approach applies to non-static methods as well. It's just a
    way to organize
    your code. Many people find it more efficient. If you don't,
    then you
    don't. ;) It's as simple as that.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Problem Installing Flash CS3 Pro PLEASE HELP!!

    I have downloaded the installer for about the 3rd time i
    extract it all right but when i run the setup.exe its all fine
    until it starts to install but then it says something like " insert
    Adobe Flash CS3 Professional to continue" i keep trying but it
    never works i even converted the folder to a .iso and mounted it
    with the same name it told me but that still doesn't work. I have
    run out of ideas please if anyone knows the problem please can you
    help me out?

    FYI: "Br" is the Bridge application - try launching that to
    see if it fully installed.
    Chris Georgenes
    Adobe Community Expert
    mudbubble.com
    keyframer.com
    http://tinyurl.com/2urlka
    Ms. Clause wrote:
    > My computer is a brand new Vaio laptop loaded and 4 GB
    RAM. I don't think I
    > have a hardware problem. I tried to reinstall,
    redownload and it still will
    > not install the flash software. After I download I
    clicked on the file and it
    > install a folder in my drive, then I clicked on set up,
    it went through a
    > normal set up but for some reason it doesn't load Flash
    CS3, it only load 2
    > components from that I think it Br and something else.
    >

  • Color management issues with Flash CS3, please help?

    Hello everyone.
    I am having issues with color from a Jpeg image produced in Photoshop CS4
    after importing onto the stage in Flash CS3. The color in Flash changes the image to a lighter less saturated state. Yuk.
    Here is a link to a screen capture to show you what's happening (for a bigger view):
    http://www.rudytorres.com/color/weirdcolor.png
    As you can see the front image is the Photoshop image showing the sRGB color profile embedded but Flash (behind) changes that color.
    This client is quite picky and she will notice this difference.
    If any one can help, please.
    - Rudy
    P.S. It's a button somewhere, Right?

    Dougfly,
    Only an hour wasted? Lucky you. Color is an incredibly complex subject. First, forget matching anything to the small LCD on the back of your camera. That's there as a basic guide and is affected by the internal jpg algorithm of your camera.
    2nd, you're not really takeing a color photo with your digital camera, but three separate B&W images in a mosaic pattern, exposed thru separate red, green and blue filters. Actual color doesn't happen until that matrix is demosaiced in either your raw converter, or the in-camera processor (which relies heavily on camera settings, saturation, contrast, mode, etc.)
    Having said the above, you can still get very good, predictable results in your workflow. I have a few color management articles on my website that you might find very helpful. Check out the Introduction to Color Management and Monitor and Printer Profiling. In my opinion, a monitor calibration device is the minimum entry fee if you want decent color.
    http://www.dinagraphics.com/color_management.php
    Lou

  • Help!! Flash CS3 and CS4 "Test Movie" very slow on OS X

    This is a problem that, having read many forums, affects a
    very large amount of people, though Adobe doesn't care at all. It
    only affects OS X users. I know that it has been addressed many
    times in different forums, but I never actually stumbled across
    anyone having found a solution.
    When I use Flash CS3, and I make any animation, even the
    simplest tween, and I preview it with Test Movie, the result I get
    is an extremely slow playback. Something like half the FPS it
    should be.
    However, when I export the SWF and preview it in the external
    Flash Player or in a browser, it's just fine and fast.
    Another interesting thing is that in CS3, when I open the
    Help panel, the problem with Test Movie only happens like 20% of
    the time. In that case, it only gets solved if I restart or Log Out
    at least. I have no idea why the Help panel being open solves the
    problem, this only shows that this is probably a little graphic
    user interface bug, or something similar, that could be solved very
    very easily.
    In Flash CS4, there is no Help panel, so there is no solution
    to the problem.
    It would be nice to be able to press Cmd + Enter to see the
    movie, and not have to do File > Export > bla bla bla, open
    Finder, Find the SWF, double click it, wait for the browser to
    open... etc...
    I have a brand new 2.5 GHz MacBook Pro, and Test Movie runs
    faster on my 900MHz Pentium III PC!! Funny...
    Here are some links I found about this problem:
    http://bugs.adobe.com/jira/browse/FP-878
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb407896
    http://www.kirupa.com/forum/archive/index.php/t-258991.html
    This is quite ridiculous, and on Adobe's Support page, the
    solution is "Do not use Test Movie."
    And the funny thing is that they didn't even bother to fix
    this in CS4...
    So basically if something doesn't work, Adobe's solution is
    "Don't use it."
    I guess they're right!
    Please, tell me if anyone has or does not have this problem
    or knows anything about it!
    Thanks,
    Mate

    This is a problem that, having read many forums, affects a
    very large amount of people, though Adobe doesn't care at all. It
    only affects OS X users. I know that it has been addressed many
    times in different forums, but I never actually stumbled across
    anyone having found a solution.
    When I use Flash CS3, and I make any animation, even the
    simplest tween, and I preview it with Test Movie, the result I get
    is an extremely slow playback. Something like half the FPS it
    should be.
    However, when I export the SWF and preview it in the external
    Flash Player or in a browser, it's just fine and fast.
    Another interesting thing is that in CS3, when I open the
    Help panel, the problem with Test Movie only happens like 20% of
    the time. In that case, it only gets solved if I restart or Log Out
    at least. I have no idea why the Help panel being open solves the
    problem, this only shows that this is probably a little graphic
    user interface bug, or something similar, that could be solved very
    very easily.
    In Flash CS4, there is no Help panel, so there is no solution
    to the problem.
    It would be nice to be able to press Cmd + Enter to see the
    movie, and not have to do File > Export > bla bla bla, open
    Finder, Find the SWF, double click it, wait for the browser to
    open... etc...
    I have a brand new 2.5 GHz MacBook Pro, and Test Movie runs
    faster on my 900MHz Pentium III PC!! Funny...
    Here are some links I found about this problem:
    http://bugs.adobe.com/jira/browse/FP-878
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb407896
    http://www.kirupa.com/forum/archive/index.php/t-258991.html
    This is quite ridiculous, and on Adobe's Support page, the
    solution is "Do not use Test Movie."
    And the funny thing is that they didn't even bother to fix
    this in CS4...
    So basically if something doesn't work, Adobe's solution is
    "Don't use it."
    I guess they're right!
    Please, tell me if anyone has or does not have this problem
    or knows anything about it!
    Thanks,
    Mate

  • Help with Flash CS3 Particle Effect Tutorial Code

    I did the tutorial from http://www.schoolofflash.com/2008/03/flash-cs3-particle-effect/. I used a star to replace the circle. Here's my code:
    var starsArray:Array = new Array();
    var maxStarss:Number = 8;
    function addStars(e:Event)
        var stars:Stars = new Stars();
        stars.x = stage.stageWidth/2;
        stars.y = stage.stageHeight/2;
        stars.alpha = Math.random() * .8 + .2;
        stars.scaleX = stars.scaleY = Math.random() * .8 + .2;
        stars.xMovement = Math.random() * 10 - 5;
        stars.yMovement = Math.random() * 10 - 5;
        starsArray.push(stars);
        addChild(stars);
        stars.cacheAsBitmap = true;
        if (starsArray.length >= maxStarss)
            removeChild(starsArray.shift());
        stars.addEventListener(Event.ENTER_FRAME,moveStars);
    function moveStars(e:Event)
        e.currentTarget.x += e.currentTarget.xMovement;
        e.currentTarget.y += e.currentTarget.yMovement;
    var myTimer:Timer = new Timer(50);
    myTimer.addEventListener(TimerEvent.TIMER, addStars);
    myTimer.start();
    This time, I'm trying to make the stars shrink and transparent as they move away from the point. So I coded it like this:
    import flash.events.Event;
    var starsArray:Array = new Array();
    var maxStarss:Number = 8;
    function addStars(e:Event)
        var stars:Stars = new Stars();
        stars.x = stage.stageWidth/2;
        stars.y = stage.stageHeight/2;
        stars.alpha = Math.random() * .8 + .2;
        stars.scaleX = stars.scaleY = Math.random() * .8 + .2;
        stars.xMovement = Math.random() * 10 - 5;
        stars.yMovement = Math.random() * 10 - 5;
        starsArray.push(stars);
        addChild(stars);
        stars.cacheAsBitmap = true;
        if (starsArray.length >= maxStarss)
            removeChild(starsArray.shift());
        stars.addEventListener(Event.ENTER_FRAME,moveStars);
        stars.addEventListener(Event.ENTER_FRAME,animeStars);
    function animeStars(e:Event)
        trace(this.starsArray);
        this.scaleX-=0.01;
        this.scaleY-=0.01;
        this.alpha-=0.01;
        if (this.alpha<=0) // remove this object from stage
    function moveStars(e:Event)
        e.currentTarget.x += e.currentTarget.xMovement;
        e.currentTarget.y += e.currentTarget.yMovement;
    var myTimer:Timer = new Timer(50);
    myTimer.addEventListener(TimerEvent.TIMER, addStars, animeStars);
    myTimer.start();
    I couldn't make it work. All I got was an error message saying "
    1084: Syntax error: expecting identifier before rightbrace.
    Help?

    It is because of this line of code at the end
    myTimer.addEventListener(TimerEvent.TIMER, addStars, animeStars);
    if you read the documentation on addeventlistener it looks for these type of arguments to be passed
    addEventListener(type:String, listener:Function, useCapture:Boolean);
    animeStars is not a boolean it is a function. Since you already have animeStars in your addStars function you can exclude it in the last event listerer. try this:
    myTimer.addEventListener(TimerEvent.TIMER, addStars);

  • PLEASE HELP ASAP! Button in Flash CS3 not working

    I need help desperately. As soon as possible. I only know the
    VERY basic's of flash, so I need it to be simple!! I am using Flash
    CS3, but the only coding I know is from Flash 8.
    1.I simply want to just be able to type out text that will be
    my button. (I clearly know how to do this)
    2.Convert that text to a button. (I know how to do this as
    well)
    3. Apply an action to the button. (I keep getting the error
    "actions cannot be applied to the current selection")
    4. Have that button go to a specific place in the timeline
    that I have named (It has the red flag next so I know where to send
    the button to)
    5. This is the ONLY code I know is even close to what I need
    to have it be at:
    on (release) {
    //Movieclip GotoAndStop Behavior
    this.gotoAndStop("graphic");
    //End Behavior
    Is there a way to upload the flash files? If so I will
    upload, because I know this sounds simple enough, but it wont work.
    Thanks
    Ashlee

    You are trying to use AS1 in your movie, and the movie's
    Publish settings are set to use AS3. You can use your current code
    by opening the Publish Settings, going to the Flash tab and then
    selecting AS1-AS2 in the Actionscript option.
    A better, long term solution, would be to read through the
    tutorials that come with Flash CS3 to learn the proper coding
    techniques to use with AS3.

Maybe you are looking for

  • Error executing reports from forms

    Hi, Iam trying to launch reports9i from forms9i, Iam getting following error, 500 Internal Server Error java.lang.StringIndexOutOfBoundsException: String index out of range: 0      at java.lang.String.charAt(String.java:444)      at oracle.reports.rw

  • HT204587 HOW CAN I GET MY IPHONE 5S TO APPEAR IN ITUNE?

    How can i get my iphone 5s to appear in itunes?

  • Adobe Acrobat Reader 9.1 and printto command on file

    Good morning. We've installed the new 9.1 version of Acrobat Reader. And we found that "print" and "printto" command on PDF files have been removed! Is this by design? We didn't find any release note about this. We're currently using the "printto" fe

  • Manual bank statement - FF67 error

    i do not have bank statement. So i am trying to upload manual bank statement. I used TCode FF67. After Tcode, in next screen, it asking, bank id, housebank, etc. Also it is asking about opening & close balance. I entered close balance Rs.10000 (on ra

  • 'Recovered Files' in my iMac Trash folder

    I have iMac that was upgraded to Mavericks in January. But only recently I have been seeing a folder, called 'Recovered Files', suddenly showing up in the Trash folder every day, despite deleting it daily. This folder contains file called 'MerpAD Off