A Flash Developer Resource Site

Search:

Type: Posts; User: cuteuaboy

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Timer Delay that Varies Based on Condition or Parameter?

    I'm currently developing a trivia game. When the user clicks a button to select an answer, that click starts a sort of "chain reaction" of time-delayed events: reveal if the answer is right or wrong,...
  2. array would probably be best for my needs

    Thanks for the feedback. I think putting all the circles in an array would probably be best for my needs. What I really want to do is not just have the circles fade when clicked, but to have all of...
  3. One ENTER_FRAME Function Used by Multiple Instances: Possible without External Class?

    I have a piece of code that is very similar to this example I found on LiveDocs, which I'm pasting here for convenience:


    import flash.display.Sprite;
    import flash.events.Event;
    import...
  4. Aaaah, I see. So even when I think I'm telling an...

    Aaaah, I see. So even when I think I'm telling an instance to do something by typing its name in my code, I'm really just talking to the variable of the same name that holds all the data about that...
  5. Ok, so I completely understand how the variable...

    Ok, so I completely understand how the variable changes which instance it's associated with each time the loop actions execute. Thanks. The only thing I'm still unclear on is why can't I just assign...
  6. How can you have instances with no corresponding variables?

    I'll be the first to admit that I don't know why my original code even works. I don't understand how I can just create a new variable named square (never changing the variable name) over and over and...
  7. Why Do Actionscripters Like Instance Names?

    I guess this comment will reveal that I"m not a "real" programmer, but I think instance names were an easy concept for novice programmers to grasp. There's a thing on the stage that is an instance of...
  8. Sorry about the mix up with the z variable. I...

    Sorry about the mix up with the z variable. I forgot to change it to an i after pasting it from some other code snippet. The thing I don't understand is, once you assign the name to be "square" + i,...
  9. Assigning Instance Names to Clips Added from Library

    I have a movie clip in my library named square_mc and I assigned it the class name square_mc. I've figured out how to create a loop and use addChild to add the clip to the stage. I can modify...
  10. oh, sweet jesus thank you! I literally just did a...

    oh, sweet jesus thank you! I literally just did a dance in my living room as the text fields finally displayed the right text. I know these questions probably make me seem like I don't understand...
  11. nothing ever seems simple with 3.0

    When I tried the first option, I got this error message:

    1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type flash.text:TextField.
  12. using loop variable to target a series of text fields on the stage

    I have a series of text fields that I manually put on the stage and I'm using them to show answers in a quiz. Their instance names are answer1, answer2, answer3, and answer4. I want to use a loop to...
  13. using an array instead

    Yes, I could make an array and put the text fields in there. I just wanted to be sure that I wasn't overlooking something simple. So I guess the short answer is evaluating variables within a path to...
  14. concatenate variable to make instance name path?

    I looked over a few other posts on this topic, but I haven't found any answers that I could get to work. In AS 2.0, I would create lots of movie clips, text fields, etc, that had sequentially...
  15. thanks

    thanks for the explanation
  16. Why is onEnterFrame triggered for single-frame MCs?

    When a Flash timeline (at the root level or in a movie clip) only has one frame, the frame doesn't loop and execute its frame script over and over. (A stop command isn't needed. I just knows not to...
  17. Replies
    1
    Views
    2,998

    Mouse Event Handler vs. Mouse Listeners?

    I found an example use of the onMouseDown, onMouseMove, and onMouseUp event listeners in the ActionScript help files. The example used a listener to listen for the mouse events and draw boxes when...
  18. Replies
    4
    Views
    469

    the where and how

    Yes, I realize that if this content is on my server there are all kinds of things I can do to prevent people from modifying it. The problem is I have a client that wants the SWF files (and all the...
  19. Replies
    4
    Views
    469

    protecting external data

    Ok advanced scripters, I need your advice. I have external XML and images that are dynamically pulled into my .SWF file, making it easy to update the text and images without republishing the .SWF....
  20. Replies
    1
    Views
    360

    loading function from AS file

    I want to load a function from an external .as file, but I don't want to use #include because then I have to republish every .swf that uses the function any time I make a change to the .as file. I...
  21. Replies
    3
    Views
    610

    I need it to show the amount loading, but that...

    I need it to show the amount loading, but that has little to do with my problem, which is that data won't display as the image is loading from its external folder. I know the difference in...
  22. Replies
    3
    Views
    610

    preloader for external jpgs

    I've looked and looked on the board and I can't find something that works for my situation. I have this movie clip that makes a little frame around a thumbnail image. Inside that frame is an empty...
  23. Replies
    3
    Views
    759

    Ok, I used your code (thanks) and put the PHP...

    Ok, I used your code (thanks) and put the PHP file right next to my .swf. My images are in a folder called "images," just like the directory in your code. I ran the debugger and when I click my...
  24. Replies
    3
    Views
    759

    Passing Variables with PHP

    I have read nearly every posting on the boards about using PHP to evaluate the number of images in a folder, but none of them go into enough detail about how to write the PHP file. I went to...
  25. Replies
    0
    Views
    460

    bitmap compression on load

    I have a main movie with other .swf files loading into it through an empty movie clip on the main movie's timeline. For some reason, when the .swf files load into that clip, the images have been over...
Results 1 to 25 of 39
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center