A Flash Developer Resource Site

Search:

Type: Posts; User: darthjones

Search: Search took 0.02 seconds.

  1. Reading $_POST values from the page a SWF is embedded on

    Basically, the user clicks on a button in a Flash movie and the following code is run:


    var variables_to_send_out:URLVariables = new URLVariables();
    variables_to_send_out.test1 = "this is a...
  2. [CS3] Adding a MovieClip to the Stage from a Class function

    Of course, it's easy enough to do when not working with classes. Basically, I want to be able to execute a function from one of my classes that does the following -


    function buildArea():void
    {...
  3. How do you import an animated gif with smoothing disabled?

    Is there any way to bypass the default smoothing option when importing animated gifs? I want to be able to import to the timeline so that each frame of the gif is put in a separate frame in the...
  4. Replies
    1
    Views
    1,562

    Finding the cursor location in a textbox

    Is there a way to find out what line the blinking cursor is located at in an input box? I am creating a virtual keyboard and I need to know where the blinking cursor is so that when the user presses...
  5. Trying to run code within a movie clip from the main timeline

    here is the fla file - http://www.grokinfullness.com/example.fla

    I am trying to run code that is located in the actions layer of a movie clip from the main timeline. I want to do this because I...
  6. that was just an example i made up. i tried to...

    that was just an example i made up. i tried to illustrate the fact that even simple functions that you KNOW should work with global functions often don't when using _global.
  7. What is the best way to handle global variables?

    I often use something like the following on the first frame -

    _global.myVariable = 5;

    These variables are usually changed with functions like the following -

    changeVariable = function(...
  8. How do I get the name of the object that I am currently manipulating?

    Say I have a movie clip called test_mc and I wrote the following function on the movie clip –

    on (press)
    {
    trace( “the name of this movie clip is “ + <code> );
    }

    When you click on...
  9. How do you set a movie clip's visibility on frame 2 from frame 1?

    I have an actions layer that spans an entire project and I want it to be the only place that has code. On the second frame, there is a movie clip that I want to be invisible when the user first goes...
  10. Replies
    1
    Views
    556

    Why doesn't this hitTest work?

    This might make more sense if you download and run the .fla file first -

    pointer_mc was originally just two lines put together to form a + sign. The resulting shape was converted into a movie...
  11. Thank you for the suggestion. Unfortunately, it...

    Thank you for the suggestion. Unfortunately, it does not seem to work for this particular situation. I attached a copy of the .fla file that I used to test it out if you want see for yourself...
  12. How do I make it so that my functions can be called no matter where they are placed?

    A lot of helper functions that I've written are scattered around and I want to just place all of them at the very bottom. Unfortunately, whenever I do that some of the functions that call those...
  13. Replies
    11
    Views
    451

    sorry about that. i put the example together at...

    sorry about that. i put the example together at school and they just upgraded to mx 2004. i've re-attached a non-2004 version.
  14. Replies
    11
    Views
    451

    Ok. I've attached a copy of what I am working on....

    Ok. I've attached a copy of what I am working on. The actual swf that I will use is really big so I made a temporary one for testing purposes. The loaded swf is called countUp.swf and the fla file...
  15. Replies
    11
    Views
    451

    that doesn't seem to be working for me. i'm using...

    that doesn't seem to be working for me. i'm using the following to load the movie -

    loadMovie("test.swf", _root.hldMovie.loadMovie_mc);

    i'm using flash mx.
  16. Replies
    11
    Views
    451

    gaining control after loading an swf

    I am using loadMovie to load up an swf that contains a 2 minute animation. The animation is loaded on the first frame. I want to go on to the next frame automatically after the animation plays. How...
Results 1 to 16 of 16




Click Here to Expand Forum to Full Width

HTML5 Development Center