A Flash Developer Resource Site

Search:

Type: Posts; User: swak

Page 1 of 20 1 2 3 4

Search: Search took 0.21 seconds.

  1. Replies
    88
    Views
    15,464

    https://open-flash.github.io/mirrors/as2-language-...

    https://open-flash.github.io/mirrors/as2-language-reference/SharedObject.html There are some code examples you can get a start with.
  2. Replies
    5
    Views
    2,590

    18 years for me.

    18 years for me.
  3. Replies
    2
    Views
    7,237

    That's strange. I'd expect most modern setups to...

    That's strange. I'd expect most modern setups to be able to handle html5 natively. I'd suggest just searching for a free hosting. Since it's front end stuff I don't wouldn't expect any issues there....
  4. Replies
    3
    Views
    4,019

    You cannot use the same instance names for...

    You cannot use the same instance names for different objects and expect more than one to be targeted. You need to assign unique names, or you can store references to them in an array and use the...
  5. Replies
    3
    Views
    11,935

    Coming from an ActionScript background myself I'd...

    Coming from an ActionScript background myself I'd say there are two decent options for you. Either JavaScript or Unity. Both are platform agnostic. Js is probably a better option if you want to keep...
  6. Replies
    4
    Views
    3,038

    I'd suggest instead of add/removing the...

    I'd suggest instead of add/removing the movieclips, you just switch which one is visible. Maybe something like: TownEarly._visible = false;
  7. AS 2 I think that this what you're looking for:...

    I think that this what you're looking for: https://www.kirupa.com/developer/actionscript/shared_objects.htm.
  8. Replies
    7
    Views
    3,760

    I seem to recall a zoom setting that would...

    I seem to recall a zoom setting that would basically get rid of any scrolling by locking the stage so it won't scroll or zoom but will show everything.
  9. Flash8 Analogically is basically having it orbit in a...

    Analogically is basically having it orbit in a circle around another object right?
    I think you want something like this:...
  10. yeah, good luck with that.

    yeah, good luck with that.
  11. Replies
    3
    Views
    1,546

    The simplest would be to us a 2d array like this:...

    The simplest would be to us a 2d array like this:


    on (release) {
    var dVar = [[_root.image_2, 50],[_root.image_3,100],[_root.image_4,150],[_root.image_5,200],[_root.image_6,250]];...
  12. AS 2 https://stackoverflow.com/questions/27670538/as2-g...

    https://stackoverflow.com/questions/27670538/as2-get-current-frame-of-dynamic-clip this is what you're looking for. Also, why are you using as2? as3 provides better performance.
  13. Here's a working example. 75966 You'll need to...

    Here's a working example. 75966 You'll need to add a slider and name it slide. Adding the component ended up putting the file over the size limit.
  14. Replies
    4
    Views
    4,299

    AS 2 I don't have much experience with multi-frame...

    I don't have much experience with multi-frame code like this. One thing you could try is to group all the code into one layer that has one keyframe that extends across everything. Some other ideas,...
  15. Replies
    4
    Views
    4,299

    AS 2 2 things. 1) you can wrap your code using a...

    2 things. 1) you can wrap your code using a [code] tag. Or at least use the quote button. 2) Could you post the fla? That would help with identifying things.
  16. Replies
    5
    Views
    3,119

    So I haven't had much time to update things but...

    So I haven't had much time to update things but the main problem you're having is you're containing everything in a movieclip and then just moving that. All the shapes will be effected by that...
  17. Replies
    5
    Views
    3,119

    I've seen two problems so far. 1) You have it...

    I've seen two problems so far. 1) You have it automatically set to not visible and never set it visible. Not sure if there's a quirk with swishmax or something. 2) For some reason it's handling it...
  18. Replies
    2
    Views
    7,445

    The thing that makes the most sense is you need...

    The thing that makes the most sense is you need to add private/public to the _admob var:
    private var _admob: AdMob = new AdMob();
    Also, another possibility is you need to place that inside the...
  19. Replies
    17
    Views
    14,942

    Not sure what you mean by stage but to do 3D...

    Not sure what you mean by stage but to do 3D you'd need an engine that can handle it. It's not built in. https://www.youtube.com/watch?v=lE9YDQesUvg is a short vid demonstrating one I found doing a...
  20. Thread: Keypress Question

    by swak
    Replies
    5
    Views
    10,197

    CS3 That's more than needed. You only want to run the...

    That's more than needed. You only want to run the code when the key is pressed. What you have there keeps checking multiple times a second. Try something like:


    var keypressed = false;
    var...
  21. Thread: Keypress Question

    by swak
    Replies
    5
    Views
    10,197

    CS3 The keypress is an event. It'll keep firing when...

    The keypress is an event. It'll keep firing when the event happens. I suggest that you use a boolean that you set to true on key down and false on key up. Right before setting it to true to check if...
  22. You're basically saving variable in a text file...

    You're basically saving variable in a text file with LoadVars. The text file basically needs 3 things to work. The variable name, the = sign to show what was saved, and the & sign to indicate...
  23. You kind of seem to misunderstand what that & is...

    You kind of seem to misunderstand what that & is for. Its purpose is to separate variables. This is the proper way.
  24. Replies
    3
    Views
    7,813

    https://bluemaxima.org/flash point/ (Remove space...

    https://bluemaxima.org/flash point/ (Remove space in url) Is probably your best option. It's an archive of flash games.
  25. From what I understand, you're probably moving...

    From what I understand, you're probably moving from as2 to as3 which is the problem for trying to use loadvariablesnum. You'll need to use URLLoader instead now. It'll also be handled differently...
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