A Flash Developer Resource Site

Search:

Type: Posts; User: supertom44

Search: Search took 0.02 seconds.

  1. Thread: Import As

    by supertom44
    Replies
    0
    Views
    794

    Import As

    Hi all.

    I come from a python background and in python when importing a class I can assign it a shorter name.

    Like so:

    import MyGame as MG

    That way I can access any of the functions or...
  2. I think it may have been due to the fact that...

    I think it may have been due to the fact that main is assigned to the stage, but the function was not set as a static function.

    I moved the functions out into there own utils class and made them...
  3. The Main function is the constructor so it gets...

    The Main function is the constructor so it gets called when the class is created.

    Do you mean how do I call the randomLevelLight function that is defined in main from my other class.

    ...
  4. Thanks for the reply I know it shouldn't matter...

    Thanks for the reply I know it shouldn't matter what order there in, thats the issue I am having it will only work if I put them in a certain order.

    If you look at the two codes I posted the first...
  5. Public Function Inaccessible Method Error

    Hi all.

    I am very new to flash so bare with me.

    I have two classes that I am trying to get to intereact, main.as which is the class attached to the stage and then light_mc.as which is attached...
  6. Replies
    0
    Views
    627

    Flash Reaction Game

    Hello all.

    I am having to create a game in flash for a uni project, we are using Cs5, and must use AS3.

    This is the first time I have used flash so I am very new to it all.

    In my game I have...
Results 1 to 6 of 6




Click Here to Expand Forum to Full Width

HTML5 Development Center