A Flash Developer Resource Site

Search:

Type: Posts; User: ::bluemoth::

Page 1 of 20 1 2 3 4

Search: Search took 0.11 seconds.

  1. Try this thorough tutorial:...

    Try this thorough tutorial: http://www.flashkit.com/tutorials/Actionscripting/Drag_and-Nuno_Mir-1817/index.php
  2. Replies
    10
    Views
    2,018

    Got it. partArrow =...

    Got it.



    partArrow = slides.getChildByName(legsDirection); // The unique child path
    partArrow.moreText.text = '10'; // Target child textfield


    Thanks for your help fruitbeard.
  3. Replies
    10
    Views
    2,018

    Thanks for looking fruitbeard.

    Thanks for looking fruitbeard.
  4. Replies
    10
    Views
    2,018

    75293File attached. I hadn't read the Google...

    75293File attached. I hadn't read the Google Policy about not linking straight to file.
  5. Replies
    10
    Views
    2,018

    Thanks fruitbeard. I have uploaded a minimized...

    Thanks fruitbeard.

    I have uploaded a minimized version:
    http://goo.gl/JdkyHR

    The showSlideDirections function creates instances of moreArrow, which displays arrows at the top and bottom of...
  6. Replies
    10
    Views
    2,018

    I can trace the 'myText' child name, but I am...

    I can trace the 'myText' child name, but I am struggling to reference it, so as to be able to alter the value:


    for(var u2:Number = 0; u2 < legsArrow.numChildren; u2++){
    trace('Children: ' +...
  7. Replies
    10
    Views
    2,018

    Hello again fruitbeard. This method doesn't...

    Hello again fruitbeard.

    This method doesn't work for me. I get error 1010 as soon as I try to access anything within the getChildByName("legsDirection") instance. Not sure why dot syntax doesn't...
  8. Replies
    10
    Views
    2,018

    Accessing children of getChildByName

    Does anybody know of a way to access a library MovieClip's children?
    I am adding instance of MovieClip to parent like so:


    var legsArrow:MovieClip = new moreArrow();
    legsArrow.x = 0;...
  9. Replies
    7
    Views
    4,557

    Funny that. Without being placed on the stage ......

    Funny that. Without being placed on the stage ... it technically doesn't exist. Yet addChild doesn't create it. Over 10 years and I still cannot understand Flash sometimes.
  10. Replies
    7
    Views
    4,557

    Thanks for the reply fruitbeard. So addChild in...

    Thanks for the reply fruitbeard. So addChild in AS3 does not create an object? Hmmm, I used to be able to create objects from the library in AS2 ... is there an alternative to addChild? that would...
  11. Replies
    7
    Views
    4,557

    Thank you so much fruitbeard. Quick question for...

    Thank you so much fruitbeard. Quick question for my sanity ...

    When setting instance name for new MovieClip

    legsArrow.name = 'legsDirection';
    Why can't I reference it like so:
    ...
  12. Replies
    7
    Views
    4,557

    Cannot removeChild

    I have a movieclip created like this:

    var legsArrow:MovieClip = new moreArrow();
    legsArrow.x = 0;
    legsArrow.y = 0;
    legsArrow.name = 'legsDirection';
    trace('add legsArrow: ' + legsArrow.name);...
  13. Thanks fruitbeard, I had a quick demo and it...

    Thanks fruitbeard,

    I had a quick demo and it works great. I am going to look over your code closer to see how your division works (my math is not as good as I wished it was) and see where my...
  14. Thanks fruitbeard, I will give it a try. The...

    Thanks fruitbeard, I will give it a try. The deciding to ceil or floor is the part that I was hoping had a dvisible function, but I guess some extra code will be needed as per usual.
  15. Round number to nearest divisible number

    I have a draggable object that has a minimum (negative) and maximum (0) y position (-1200 to 0 for example).
    When dragged between these y positions, I want to snap the object via a tween, to nearest...
  16. Replies
    1
    Views
    1,199

    Nevermind. I decided to try the dynamic values...

    Nevermind. I decided to try the dynamic values outside the conditional block, and voila. They work. Not sure why the conditional block fails silently, but that isn't important right now. Thanks...
  17. Replies
    1
    Views
    1,199

    Only hard-coded numbers are working

    I have been struggling to get dynamic width and height values to work. The values trace fine, but only hard-coded numbers are working. I have the variables set to Number data type and cannot think...
  18. Thanks for trying, but that's a link to AS3...

    Thanks for trying, but that's a link to AS3 methods. I need an AS2 solution.
  19. AS2: Accessing parent MC class from child MC

    I've been using greensock classes in a parent movie, but am now looking to use the same classes from within some child movies, but it doesn't work (I presently have to import them into each child...
  20. Replies
    1
    Views
    774

    Flash8 loadClip won't load picture

    I have a nested blank clip (_root.banner.holder.picture) and want to load a picture into it, using the following code in the _root.

    No matter what I do, I can't get it to work


    ...
  21. Replies
    0
    Views
    353

    Character Key Context Problem

    Perhaps you have encountered this:

    You create a text input field in Flash, you export it to an swf, test that swf directly on several machines, and everyone can type their email in fine using the...
  22. Nevermind, I'm just going to create the asset as...

    Nevermind, I'm just going to create the asset as a seperate swf and load it using loadMovie instead.

    Thanks.
  23. [MX04] Load MC into MC (stage instances)

    Is anyone familiar with a way in which to load an MC (background) on the stage, into another MC (backgroundHolder) on the stage?

    Normally I'd use a linkage identifier, however in this instance I...
  24. Replies
    4
    Views
    829

    Thanks a_modified_dog Somebody showed me a...

    Thanks a_modified_dog

    Somebody showed me a more elegant method of what I was trying, using MovieClip instead of String:

    var formPath:MovieClip = _level0.form;
    var formPath:MovieClip =...
  25. Replies
    4
    Views
    829

    The problem with that, is that it will only work...

    The problem with that, is that it will only work for either the single level, or double level reference. Not both.

    The reason I want it to work for both, is that I plan to load the script into a...
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