A Flash Developer Resource Site

Search:

Type: Posts; User: lastMohican

Search: Search took 0.06 seconds.

  1. CS3 Access timeline functions from inside a class

    As above is there a way to access any function written inside main timeline from a class ?

    for example:
    main timeline frame 4:


    function foo()
    {
    trace("foo");
    }
  2. Replies
    8
    Views
    1,573

    ~ is the bitwise NOT so ~speed-1 is a high tech...

    ~ is the bitwise NOT
    so ~speed-1 is a high tech way of writing -speed :)
    although Im pretty sure it should be ~speed+1... Ill check it out later
  3. Replies
    3
    Views
    1,177

    Dude.. no score, no health, no lives,difficulty...

    Dude.. no score, no health, no lives,difficulty seems static...game seems to continue forever lol. On the plus side the AI seems to be in good shape. Taking down 2 guys simultaneously was fun!
  4. Replies
    1
    Views
    934

    nvm...solved both issues lol. First was a coding...

    nvm...solved both issues lol.
    First was a coding fault :D
    For second it seems I can use parent of the shape to get to the movieclip
  5. Replies
    1
    Views
    934

    getObjectsUnderPoint issues

    So I am currently creating a prototype for a shooting game. I have a movieclip and I am moving it around on stage at random. But when I do a trace(getObjectsUnderPoint(new Point(mouseX,mouseY))); I...
  6. Replies
    4
    Views
    1,146

    Ah I got it! Removed the grid listener & added...

    Ah I got it! Removed the grid listener & added the individual block listeners in the main timeline instead of the as file. Now evt.currentTarget always gives me [object NormalBlock] :)
  7. Replies
    4
    Views
    1,146

    Ah sry about that. I was trying various things to...

    Ah sry about that. I was trying various things to resolve the issue so kinda copypasted the modified code. Rectified that now & also put in a new function just for testing evt.target :)

    I have...
  8. Replies
    4
    Views
    1,146

    [RESOLVED] evt.target problem

    I had this really wierd unexpected problem recently. I had a movieclip NormalBlock with it's own NormalBlock.as and I am instantiating about 400 of those at runtime. The movieclip had initially 5...
  9. Replies
    1
    Views
    672

    If you are using AS3 then use stage.stageWidth

    If you are using AS3 then use stage.stageWidth
  10. Replies
    3
    Views
    843

    ZOMG I figured it out! For some reason the font...

    ZOMG I figured it out! For some reason the font doesn't show up whenever I put the fla directly under a drive(for eg; E:\,D:\) . If I put it inside some folder then the font shows lol.
    Is this...
  11. Replies
    3
    Views
    843

    Embedded fonts problem

    I have a really wierd problem with embedding font. I have a pretty basic code for testing how embedding works. But it's not working :( .Basically the swf is blank when I run it. I have attached the...
  12. Flash8 ah. That is what I am doing currently...

    ah. That is what I am doing currently actually.But I was hoping this could be done too. I guess not. Thanks for the reply /no1
  13. Flash8 Different colors on opposing side of a movieclip

    Hi guys. Is there any way to color both sides of a movieclip(a simple red square for example with green on other side) so when I rotate it the respective color will be shown?
    This may be something...
Results 1 to 13 of 13




Click Here to Expand Forum to Full Width

HTML5 Development Center