A Flash Developer Resource Site

Search:

Type: Posts; User: OferG

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    665

    referring to a generic MC

    Can I tell my MC to stay a certain distance from any MC around it? Can I refer to "any MC" in some why?
  2. Replies
    12
    Views
    1,522

    I add the code you suggested and now the moving...

    I add the code you suggested and now the moving does work- so, Tanks a lot!
  3. Replies
    12
    Views
    1,522

    Thank you for your reply, Awoogamuffin. Any...

    Thank you for your reply, Awoogamuffin.
    Any ideas why my tank doesn't response to x and y movement commands (as I posted earlier)?
  4. Replies
    12
    Views
    1,522

    O.K- I "solved" it by deleting the code from the...

    O.K- I "solved" it by deleting the code from the fla file and putting the MC in myself (without addChild)- not preferable, but I wanted to continue working.
    Now the problem is this:
    When I give a...
  5. Replies
    12
    Views
    1,522

    p.s: This is the code I have in my fla file:

    p.s:

    This is the code I have in my fla file:
  6. Replies
    12
    Views
    1,522

    This is the code of my class: And this is...

    This is the code of my class:



    And this is the error I get:



    As I mentioned, I get this error in the output window- not the compiler error window...
  7. Replies
    12
    Views
    1,522

    now, everything seems to be in order (I wrote the...

    now, everything seems to be in order (I wrote the event listeners within a function and it works) but I get error #1009 and It's written in the output window so i can't even know where the mistake...
  8. Replies
    12
    Views
    1,522

    so if I need to an event listener for mouse or...

    so if I need to an event listener for mouse or keyboard events within my class- to who do I attach it to? ([something].addEventListener...)
  9. Replies
    12
    Views
    1,522

    First attempt at classes

    hi,
    I tried moving all of my MC functions into a class in order to apply them to many MC's.

    I don't really understand the class structure- I'm just sewing patches of information gathered on the...
  10. Replies
    3
    Views
    679

    I have multiple MC's- all the same but...

    I have multiple MC's- all the same but duplicated.
    I want to tell each one to preform an action once I click on it.
    But I don't want to make an individual EventListener and a function for each one.
  11. Replies
    3
    Views
    679

    One function - Multiple MovieClips?

    This is a question that has been haunting me for years-

    Is there a way to apply one function to several MC's?
    And how complicated is it?
  12. Replies
    4
    Views
    844

    Thank you! That worked like a charm

    Thank you! That worked like a charm
  13. Replies
    4
    Views
    844

    O.K. Thanks for your reply. as a follow-up: I'm...

    O.K. Thanks for your reply. as a follow-up:
    I'm trying to tell the inner MC function to check the root code (where the boolean var is located) how can i refer to a var in an upper level (root var)?
  14. Replies
    4
    Views
    844

    trying to stop function

    Hi,
    I have an MC with a function on frame 2. So when the clip loads it doesn't work (that's good), you click on the MC and it goes to it's own frame 2 and the function works (that's good). But when...
  15. Replies
    0
    Views
    1,180

    Any idea why this isn't working?

    b_mc is a ball and g_mc is the floor. I wanted it to roll on the floor, jump and fall back down but no good...
    any help will be appreciated :confused:
  16. Replies
    4
    Views
    1,403

    thanks, that makes sense

    thanks, that makes sense
  17. Replies
    4
    Views
    1,403

    Thank you for your help. I don't fully...

    Thank you for your help.
    I don't fully understand. My logo is too big? it's just a simple png image... How does it effect the speed?
  18. Replies
    7
    Views
    2,035

    Its an imported png file I f8-ed into a...

    Its an imported png file I f8-ed into a MovieClip- nothing special. I also applied a code to make it grow on mouse over and get small again on mouse out and it works OK
  19. Replies
    7
    Views
    2,035

    thanks, but I'm using MovieClips for the buttons

    thanks, but I'm using MovieClips for the buttons
  20. Replies
    4
    Views
    1,403

    positioning the popup

    Hi!
    Can anyone explain to me how to change the popup place?

    here's the page

    As you can see it's not realy where I want it.
  21. Replies
    7
    Views
    2,035

    can't link to self

    Hi!
    Can anyone see a reason why When I put in this code I get buttons that do nothing? Not even sending me to the url in a new page.
  22. Replies
    0
    Views
    6,047

    swf file won't load even- not even preloader

    I created an html page with a big swf clip on it (6.5 mb). I made a preloader but when I open it on the web I see nothing. Not even the preloader.
    I can open the page on my computer and it works. I...
  23. Replies
    3
    Views
    578

    I wish the file was small enough to attach but...

    I wish the file was small enough to attach but that's what happens.
  24. Replies
    3
    Views
    578

    setChildIndex is problematic

    I tried to use this code:



    foe_mc being the MovieClip I want to send to front.

    but the reaction is that my MovieClip (foe_mc) gut duplicated!
    does anyone know wahy?
  25. Replies
    13
    Views
    838

    Well I second that notion! My problem too is...

    Well I second that notion!
    My problem too is stopping the removeEventListener so it will run the EventListener second (and third and forth) time.
Results 1 to 25 of 34
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center