A Flash Developer Resource Site

Search:

Type: Posts; User: llyfre

Page 1 of 8 1 2 3 4

Search: Search took 0.07 seconds.

  1. AS 3 game with inventory : added items remain after removing them

    Hello,
    I am coding a game with an inventory and I am using addChild to move the item clicked into the inventory. This works fine, however when I move forward on the time line and then return back...
  2. Replies
    6
    Views
    12,986

    Actionscript 3.0 in 2020 - is AIR a solution?

    Hello, I have used AS3 in the early 2000's - 2010 and have taken a break for almost a decade. I am interested in teaching a class around 2Dgames and Animate is an option. The question I have...
  3. Replies
    4
    Views
    12,198

    solved!

    Thanks Fruitbeard, though I wasn't able to successfully use a variable to compare against. I got it working but it wouldn't loop endlessly, rather it still got stuck on frame 1. For anyone looking...
  4. Replies
    4
    Views
    12,198

    as an update, if instead of using:...

    as an update, if instead of using:
    trashInside_mc.goToAndPlay(2);
    I use
    this.nextFrame();
    the animation repeats a second time, but then it stops.
    I tried using a frame label instead of going...
  5. Replies
    4
    Views
    12,198

    skip frame 1 after mc's timeline loops

    Hello, I have an mc with 72 frames and a stop action on frame 1 so that it doesn't animate until another mc is clicked. The problem I'm having is that once the animation is initiated, it gets stuck...
  6. Resolved!

    After receiving a TypeError: Error #1007: Instantiation attempted on a non-constructor, I found this thread which gave me what I needed to solve the problem of what to put in the addChild ()...
  7. How to addChild from an array of MC's based on e.target?

    I have an array of 8 movie clips which can be dragged and dropped onto an MC that is their common hitObject.

    I would like whichever mc is being dragged to be added as the child of the hitObject MC...
  8. Replies
    3
    Views
    6,375

    Still not quite there....

    Thanks for your code, dawsonk. I'm finding that now after the mc's are dragged and dropped into the drawer, I am unable to open the drawer back up, thereby putting me in an equal position to the...
  9. Replies
    3
    Views
    6,375

    Update with revision, but still need help....

    I've come around this a slightly different way in order to simplify things, however I'm still stuck without being able to drag my mc off the target after i've dropped it there. Please send me a...
  10. Replies
    3
    Views
    6,375

    How to drag MC back out of target MC?

    Hello, I would like to create a drag n drop target like the drawer in the game machinarium.

    Basically, in this point+click game a drawer tweens in and out of the stage area from the top when the...
  11. Moot, Thanks for the speedy reply and even...

    Moot,

    Thanks for the speedy reply and even more for the clear solution.

    My first app has been successfully published thanks to your reply!

    Cheers!
  12. trouble with publishing AS3 project using AIR 3.2 for iOS as Target

    Hello,

    I am new to publishing an AS3 project to develop an iOS application and I am having troubles for which I have been unable to find a solution.

    Upon publishing, I receive the following...
  13. Replies
    4
    Views
    3,524

    Even better + keeping me learning. Cheers!

    Even better + keeping me learning.

    Cheers!
  14. Replies
    4
    Views
    3,524

    Resolved!

    Didn't know I could use just one loader --thanks for the elegant solution!

    Now I have the perfect controls to which I simply added a line to stop the sounds in order that when the loader unloads...
  15. Replies
    4
    Views
    3,524

    how to apply removeChild to multiple .swf's

    Hello,

    I have a project in which the user has the option of pressing any one of 5 keyboard keys that each loads a different .swf file. I would like whatever key the user presses to unload...
  16. Replies
    1
    Views
    2,209

    I have learned that in order to have the...

    I have learned that in order to have the fullscreen take effect, a user must initiate it, so I have successfully created the effect by attaching it to a mouse event. The problem I am having now is...
  17. Replies
    1
    Views
    2,209

    AS3 : How to make browser fullscreen?

    Hello,

    I would like to use AS3 to automatically resize the browser to fullscreen so I can loose all the chrome. I have been experimenting a lot but have been unsuccessful.

    Here's an example...
  18. CS 5.5 bug

    So, I've read more and found others having this problem when moving from CS5 to CS5.5, which is my case exactly (despite the thread being about CS3!).

    Anyway, I thought I'd post my workaround:
    ...
  19. Oh blast! I had this working fine, walked away...

    Oh blast! I had this working fine, walked away and came back a week later and now I'm running into trouble. I have an FLV instance on frame one named miles and I'm using the following code to make...
  20. Replies
    4
    Views
    1,294

    I gave jAQUAN's script a whirl and got back the...

    I gave jAQUAN's script a whirl and got back the following error messages:

    1067: Implicit coercion of a value of type fl.transitions:Tween to an unrelated type Class.

    1188: Illegal assignment to...
  21. Replies
    4
    Views
    1,294

    Question about Classes

    Hello,
    I'm working on a project that involves a large number of bitmaps that all will have an alpha tween to fade them in. I am using AS3 for the tweens rather than the timeline, however every...
  22. missing video class

    Hello,

    I stumbled upon this post after searching for hours on the web with no success. Low and behold, this works like a charm! Well, after the following code is added in order to import in the...
  23. Replies
    1
    Views
    995

    how to customize size of new window?

    Hello,

    I've looked over a slew of 'new window' scripts but am having troubles that are perplexing me so I thought I'd send a shout out to see if someone could help sort things for me.

    I have a...
  24. Replies
    0
    Views
    1,538

    how to clear: createEmptyMovieClip

    I am working with a slider that involves the following elements in AS2 (CS4):

    First: createEmptyMovieClip
    Second: attachMovie
    Third: onEnterFrame = scrolling

    The full script is below, and...
  25. Replies
    1
    Views
    2,315

    Here's the code formatted and I'm using AS2 with...

    Here's the code formatted and I'm using AS2 with Flash CS4.....
    onClipEvent (enterFrame) {
    xcenter = 467.5;
    speed = 1/15;
    if (_root.mask.hitTest(_root._xmouse, _root._ymouse,false)) {
    var...
Results 1 to 25 of 177
Page 1 of 8 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center