dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: gobbles

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    532

    Hi I assume the pictures are in an array, so...

    Hi

    I assume the pictures are in an array, so something like this:

    pseudo code:
    on click
    // move everything left
    for( var i = 0 i < pics.length; i++)
    {
    pics[i].x -= pics[i].width;
  2. Hi My bad, it is the PHP tag that works best...

    Hi

    My bad, it is the PHP tag that works best in here:)

    It seems strange, if I press the label button the program generates a new label and I can move it around no problem, no strange jumps. But...
  3. Replies
    2
    Views
    462

    You are doing it correctly, must be a misspelling...

    You are doing it correctly, must be a misspelling or the likes.

    Try listening for onError events and exceptions to get more info, but trust me, you are doing it correctly .. :/

    In your example...
  4. Replies
    2
    Views
    646

    The easiest thing to do is to make two date...

    The easiest thing to do is to make two date objects with Flash's date type and them subtract them from each other. The alternative is to subtract the hours, subtract the minutes check for a remainder...
  5. Replies
    2
    Views
    7,435

    Hi I don't think it is the complementary color...

    Hi

    I don't think it is the complementary color always, but you surely always get a color that is in the opposite end of the spectrum.

    If you color is FF4466, split in into the red, green and...
  6. Replies
    2
    Views
    1,209

    Generate all the final positions in a loop, you...

    Generate all the final positions in a loop, you could use Points, put these points into an array or vector.
    Place all the nodes randomly around the screen and afterwards use the Array/vector points...
  7. Replies
    3
    Views
    532

    if currentPicture == lastPicture; start over...?...

    if currentPicture == lastPicture;
    start over...?

    Is that what you mean?
  8. Hi There is a code tag in the flashkit editor,...

    Hi

    There is a code tag in the flashkit editor, the little hashmark# please use that to format your code, if you don't, it is difficult to
    see what your code does?

    Describe your problem in more...
  9. Replies
    4
    Views
    967

    Ahh that is AIR specific for the stage I think,...

    Ahh that is AIR specific for the stage I think, sorry :)

    I just looked at some mouse up/down drag code I did a few months back. I have only a mouse over listener, then when rolling over I remove...
  10. Replies
    4
    Views
    967

    try using MOUSE_LEAVE :)

    try using MOUSE_LEAVE :)
  11. Replies
    8
    Views
    498

    also going ... means that c is an array of...

    also going ... means that c is an array of parameters, so event if there is only one it is still num = c[0];
  12. Thread: Using as XML

    by gobbles
    Replies
    2
    Views
    974

    Try xml = new XML(loader.data) The way...

    Try


    xml = new XML(loader.data)

    The way you are doing it, I think only works for DataEvents.
  13. Replies
    20
    Views
    1,726

    You're welcome ok, in the onPress method, or...

    You're welcome

    ok, in the onPress method, or what you changed it's name to:) try tracing like this.


    public function onPress(evt:MouseEvent):void {
    if (evt.currentTarget == daCircle ||...
  14. Replies
    20
    Views
    1,726

    Ok these are ok. daCircle = new daCircle()...

    Ok these are ok.

    daCircle = new daCircle() should be daCircle = new Sprite() //I think I actually wrote that, sorry. This is because we dont have a type called daCircle, but daCircle is a Sprite....
  15. Replies
    20
    Views
    1,726

    Sorry I don't have Flash IDE installed, Eclipse...

    Sorry I don't have Flash IDE installed, Eclipse only, so can't see the .fla. What are the errors that are left?
    Oh, and what is the "presser" is that a Class you wrote or a button you made or...
  16. Replies
    20
    Views
    1,726

    Ok, I copy pasted the code into Eclipse and made...

    Ok, I copy pasted the code into Eclipse and made a bunch of changes, method and variables names should be "camel case" (look this one up at wikipedia or the like).
    Only Class names starts with an...
  17. Replies
    20
    Views
    1,726

    You have not instantiated "dacircle", that is why...

    You have not instantiated "dacircle", that is why it is not ready or "undefined property".

    are you trying to add dacircle to dacircle?

    The "Access of undefined property" error is in 99% of the...
  18. Replies
    2
    Views
    735

    *double post*

    *double post*
  19. Replies
    2
    Views
    735

    When you are "outside" of the app I don't think...

    When you are "outside" of the app I don't think there is any way of doing that :/

    There are only app shortcuts and global OS shortcuts, an app can sometimes set up global shortcuts upon...
  20. Replies
    20
    Views
    1,726

    Hi all the sprites are not instantiated.. you...

    Hi all the sprites are not instantiated.. you need to go "var sprite1:Sprite = new Sprite()" for each Sprite you use, you need this for all the objects you wish to address.

    The Pointer Class...
  21. Replies
    2
    Views
    630

    setup an eventlistener for each enter frame: ...

    setup an eventlistener for each enter frame:

    addEventListener(Event.ENTER_FRAME, update, false, 0, true);

    private function update()
    {
    if(getTimer % 5000) step to next label:
    }

    however, it...
  22. Replies
    9
    Views
    731

    maybe you put the ++ on a specific frame and not...

    maybe you put the ++ on a specific frame and not on and enterframe event?
  23. Replies
    9
    Views
    1,160

    need to select "Project" - > "Release build" ......

    need to select "Project" - > "Release build" ... if you are in Eclipse or Flex Builder .. but you don't say ;)
  24. Replies
    2
    Views
    927

    Hi John You should write a getter/setter for...

    Hi John

    You should write a getter/setter for these values in a <mx:Script> tag.



    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"...
  25. removeChild(mc); When it is removed from the...

    removeChild(mc);

    When it is removed from the displayList and you have "left" the function, it will be marked for garbage collection unless you have other references to it.

    Problem is, you don't...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center