dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Manx Mariner

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    525

    Thank you! Solved.

    Thank you! Solved.
  2. Replies
    2
    Views
    525

    Problem traversing XML file.

    I am having a problem traversing an xml file. I can get the last item of the xml file with the code below but I want all the items. Any ideas? TIA.


    var rssLoader:URLLoader = new URLLoader();...
  3. URLLoader/URLReqest memory leak problem.

    I have the following code where I am pulling XML weather data from NOAA. This is an AIR app. Everything loads fine but, every time it is loaded it adds about 1.3mb to the System.totalMemory check I'm...
  4. Yes, sorry, but that was a typo. I should be...

    Yes, sorry, but that was a typo. I should be "Page18". I fixed it above and had it correct in my Flash code so the problem still exists. Thank you though...I have made that mistake before :)
  5. How do you access a button within multiple MovieClips.

    I have the following code that loads MovieClips to the stage:


    var sp:MovieClip = new MovieClip();
    addChild(sp);
    for (var i:int=1; i<19; i++) {
    var ref:Class = getDefinitionByName("Page"+i)...
  6. Replies
    6
    Views
    2,317

    I don't know why. I'm doing nothing with...

    I don't know why. I'm doing nothing with myLetters except for adding children to it. This is all in one frame.

    My apologies for not mentioning this sooner but there will be multiple letters added...
  7. Replies
    6
    Views
    2,317

    5TonsOfFlax I tried "myLetters.getChildByName"...

    5TonsOfFlax

    I tried "myLetters.getChildByName" but had basically the same problem.

    TypeError: Error #1009: Cannot access a property or method of a null object reference.

    Any other ideas or...
  8. Replies
    6
    Views
    2,317

    OK, I figured out that its because I have placed...

    OK, I figured out that its because I have placed the letter inside of a MovieClip named "myLetters". This is done so I can easily hide or manipulate all the letters (there will be more than one).
    ...
  9. Replies
    6
    Views
    2,317

    HitTest problem

    I am working on a project where you have an object that will be dropped on another object and a HitTest performed. But I'm getting the following error. Any ideas on why?

    Thanks for any help.

    ...
  10. Replies
    1
    Views
    1,306

    Shorten the length of "e.target.name"?

    Is there an easy way to shorten the length of a target name? As you can see in the code below I have added "_snd" to "e.target.name".

    Let's say "e.target.name" equals "square_1" so the code below...
  11. bump

    bump
  12. How do you change AS array data from main timeline?

    Let's say I have a file that loads an AS. Within that AS is an array that loads to a list menu in the main file or .fla. The list menu is used as navigation, so when the user clicks on one of the...
  13. Replies
    0
    Views
    879

    Break array into individual lines.

    I have an array "newList1" with first names in it. I would like to go through the array list and have the names broken down line by line. The script below brings the list into a menu but right now...
  14. Woah! I think my head hurts. :) I give up... so...

    Woah! I think my head hurts. :) I give up... so close but yet so far...

    Thank you for your help, I really do appreciate it.
  15. I have added comments to the original function...

    I have added comments to the original function "dropItem", maybe this will help understand the original code:


    function dropItem(event:MouseEvent):void {
    event.target.stopDrag();
    //below...
  16. OK, I tried what you suggested and the shapes...

    OK, I tried what you suggested and the shapes drag and duplicate and if not dragged on top of their target the shapes dissappear. But, the shapes don't snap to their target at the bottom of the stage...
  17. I received the following errors with the function...

    I received the following errors with the function dropItem:

    1061: Call to a possibly undefined method stopDrag through a reference with static type flash.display.DisplayObject.
    1119: Access of a...
  18. This is what I'm after: I have 3 shapes at the...

    This is what I'm after: I have 3 shapes at the top of the stage -- "box_mc", "triangle_mc", and "circle_mc". When the user clicks on one of these 3 shapes a duplicate will be created that can dragged...
  19. Thanks 5TonsOfFlax for your great help. I am...

    Thanks 5TonsOfFlax for your great help. I am hoping you can now help me with the second part of my script in the function "dropItem". What I have below was working with my original script in this...
  20. Thank you very much! :) It is working great! ...

    Thank you very much! :) It is working great!

    What do you mean when you say "cast it"? That's a new one to me...
  21. With function below I get an error 1119: Access...

    With function below I get an error 1119: Access of possibly undefined property constructor through a reference with static type flash.display: DisplayObject. This error is from the 3rd line of the...
  22. Sorry, I don't know why I didn't put this in the...

    Sorry, I don't know why I didn't put this in the original post. :confused:

    Below is what I'm wanting to do except I would like the items "box_mc", "circle_mc", and "triangle_mc" to be duplicated...
  23. Dang, you are too fast :-) I was trying to...

    Dang, you are too fast :-) I was trying to clarify my post by editing it before you replied:

    Also, I have many objects on the stage that will be dragged on the stage and I would like copies made...
  24. The classname is "myBox". How would I use your...

    The classname is "myBox". How would I use your code below in my code above?

    Also, I have many objects on the stage that will be dragged on the stage and I would like copies made of all of them...
  25. Can you give an example using the code above?

    Can you give an example using the code above?
Results 1 to 25 of 26
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center