A Flash Developer Resource Site

Search:

Type: Posts; User: JN Hawkins

Search: Search took 0.03 seconds.

  1. Problem calling JavaScript from enterFrame event

    I have some code on a clips enterFrame event as follows:

    onClipEvent (load) {
    function init() {
    _parent._x = 800;
    _parent._y = 600;
    maxleaves = 120;
    G = 1/1.618033989;
    GA =...
  2. Thanks for all your help Jonmack, haven't had a...

    Thanks for all your help Jonmack, haven't had a chance to look at it yet but from what you wrote it seems to make sense. I've re-written it all differently and actually have it working by attaching...
  3. controlling load and enterFrame events for clips that are attached by attachMovie()

    I'm using MX and I have a movie where I am trying to create some random motion graphics effects. I have a clip with instance name "container", when container loads I am randomly attaching a movie...
  4. controlling load and enterFrame events for clips that are attached by attachMovie()

    I'm using MX and I have a movie where I am trying to create some random motion graphics effects. I have a clip with instance name "container", when container loads I am randomly attaching a movie...
  5. Just had something else to add to my previous...

    Just had something else to add to my previous post:

    If hard coding an MC's events is not possible perhaps referencing the clip by it's element number from within the array and than specifying the...
  6. Replies
    1
    Views
    438

    hard code a movie clip in the library

    I am using Flash MX to randomly generate a movie clip from within an array of clips named graphics[] that exist only in the library and are to be called using the attachMovie method. My problem is...
  7. Thanks a lot, that seems to have done the trick....

    Thanks a lot, that seems to have done the trick. Now that I've got this part working I realize that I can't add code to the randomly generated instance of graphic[n]... Is there a way to attach code...
  8. randomly generate a clip from an array of clips

    I am using Flash MX and am trying to have an MC randomly selected from another MC. The first MC simply has an instance name of container and I want to place code using onClipEvent(load) to randomly...
  9. randomly generate a clip from an array of clips

    I am using Flash MX and am trying to have an MC randomly selected from another MC. The first MC simply has an instance name of container and I want to place code using onClipEvent(load) to randomly...
  10. Replies
    1
    Views
    433

    I have a movie that loads other swfs into an...

    I have a movie that loads other swfs into an empty movie clip when links are pressed. I am having problems with the preloader for the loaded swfs. I am using the same preloader as the main movie but...
  11. Replies
    1
    Views
    347

    fixed it - was an ftp problem

    fixed it - was an ftp problem
  12. Replies
    1
    Views
    347

    I just updated my swf, made a small change, and...

    I just updated my swf, made a small change, and after uploading it, it freezes when it's finished loading. The thing is, I never touched the scene with preloader, which is based on generic code and...
  13. cool, thanks Antibody - btw I wanted it to work...

    cool, thanks Antibody - btw I wanted it to work were frameInQuestion was actually two different places, I tried using the || operator but it only worked when I had two different copies of the code?
  14. I am trying to set an if/else statement when a...

    I am trying to set an if/else statement when a button is released:

    When the button is clicked if a specific movie clip, ie:
    _root.myclip is at a certain frame I want it to go to a different...
  15. Replies
    1
    Views
    580

    I have a fairly typical preloader with an MC that...

    I have a fairly typical preloader with an MC that scales along the x axis, and a dynamic textfield showing how many bytes have loaded, here is the code:

    loaded =...
  16. I want to know how to preload external swfs -...

    I want to know how to preload external swfs - ie:a movie with a button in it loads an external swf when clicked, however, I want to preload this external swf from the movie that calls it (the one...
  17. Replies
    1
    Views
    428

    Setting the level of a Movie Clip

    I want to know if it is possible to set the _level of a movie clip within a movie as opposed to just setting levels for loaded swfs, if this is possible, what is the correct syntax?
  18. Replies
    1
    Views
    321

    I was wondering if it is possible to set the...

    I was wondering if it is possible to set the _level of a movie clip within a movie. ie: the root movie is _level0 and I would like to set a movie clip within this movie at a different level. as...
  19. ahhh

    Many thanks Crankyracoon,

    Worked just fine - I actually wanted progress for the entire movie so I just changed .clip to _root.
  20. hmmm

    It's still not working - is there a reason why you used the _ for the _getBytesLoaded because it now treats it simply as another variable (the color for easy syntax recognition is black)
  21. preload progress bar using bytesloaded

    My problem now is that I would like to build a preloader with a load progress bar etc., that is based on bytes loaded rather than frames loaded.
    This is because I have most of my content loading in...
Results 1 to 21 of 21




Click Here to Expand Forum to Full Width

HTML5 Development Center