A Flash Developer Resource Site

Search:

Type: Posts; User: Gibson221

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,200

    AS 2 I tried a._name but that returned 'undefined' And...

    I tried a._name but that returned 'undefined' And I'm trying to get only the variable name 'arr' from the object array 'arr' that is passed into the function.



    printName(arr);
  2. Replies
    4
    Views
    1,200

    AS 2 Converting object array name to string?

    I have an associative array declared, with an association as follows:



    var arr:Object = {};

    arr.something = 12;

    I also have a function that gets passed an object array (arr in this case),...
  3. Replies
    5
    Views
    1,700

    Flash8 Sorry I guess I'm still not being coherent. I...

    Sorry I guess I'm still not being coherent. I mean when I trace the string comboBoxString for an array value ie:

    trace(comboBoxString[0][0][1])

    I get an undefined value because it's a string,...
  4. Replies
    5
    Views
    1,700

    Flash8 Sorry. I mean that I would like to manipulate it...

    Sorry. I mean that I would like to manipulate it like as an array that I've previously made i.e:

    someArray = new Array(....)

    comboBoxString = comboBox.text


    Where the text from...
  5. Replies
    5
    Views
    1,700

    Flash8 Associating string with array?

    Hi, I'm just trying to associate a string with a previously declared array but I'm unsure how to do so.

    In this instance, I'm taking the literal string from a combo box label:

    thisString =...
  6. Replies
    0
    Views
    287

    Flash8 MovieClip duplication problem...

    Hi.
    I was messing around with movieclip duplication the other day for part of a project and I came across something that made no sense to me whatsoever.

    When running this code in the main...
  7. Replies
    0
    Views
    2,354

    Flash8 FileReference.save() in AS2?

    I was wondering whether I could save data to a text file using a flash 8 environment with AS2(FileReference), I read many ways about it using AS3 but not AS2.

    Example code from website(AS3):


    ...
  8. Flash8 haha! that's pretty much exactly what I did to...

    haha! that's pretty much exactly what I did to solve the problem :P


    I put this:





    onClipEvent (enterFrame) {
  9. Flash8 Yes I am using _root tags, could you look at this...

    Yes I am using _root tags, could you look at this code and see what I should do? Cheers

    I don't know how to address the object.mc other than using _root... :(



    *EDIT* solved myself using...
  10. Flash8 [RESOLVED] MovieClip recognition problem...

    Hi.

    Okay, I have two movie clips on stage, each with the same code, I have another movie clip that comes along and interacts with the two of them and changes properties to its speed and such.
    ...
  11. Replies
    3
    Views
    671

    Flash8 That's cool I understand your logic, but what...

    That's cool I understand your logic, but what happens if the string length is 1, and the character you're searching for is "?", it wont work. So would you have an inner loop for disallow?

    cheers
  12. Replies
    3
    Views
    671

    Flash8 Validating a string for only letters...

    Hi.

    I want to be able to validate a string so that it doesn't contain any numbers or special characters like '@!%^' for instance, how would i go about doing this?


    thanks :)
  13. Replies
    2
    Views
    586

    Flash8 awesome that worked, thank you :)

    awesome that worked, thank you :)
  14. Replies
    2
    Views
    586

    Flash8 Numerical sort issue...

    Hi.

    I defined an array construct and assigned two variables to part of the array so I can simple sort it:


    number1 = array[i]
    number2 = array[i+1]

    if(number1 > number2){
  15. Replies
    5
    Views
    693

    Flash8 Ah, that's fantastic :) Thank you, it worked

    Ah, that's fantastic :) Thank you, it worked
  16. Replies
    5
    Views
    693

    Flash8 Yeah, its part of my coursework and I'm to...

    Yeah, its part of my coursework and I'm to demonstrate an array sort algorithmically.


    In terms of duplicating the array, ZippyDee, I tried something like that:



    oldArray =...
  17. Replies
    5
    Views
    693

    Flash8 Array sorting issue

    I'm attempting to sort an array, which I've loaded from a sharedobject location. I've performed a simple sort on it, using a 'temp' string as a means of swapping items and it's saved the new array...
  18. Replies
    1
    Views
    438

    Flash8 Reading from an outside shared Object?

    I was trying to obtain data I wrote using a sharedobject location from one application on another, but it didn't seem to work(used same machine). So I take it local stored data is only allowed to be...
  19. Flash8 Algorithmic problem with saving array data :(

    I want to save a list of names into an array, the user will enter a name and depending on the length of the array, it will append it differently. For instance, if the max length is 3, and 2 values...
  20. Flash8 It's alright, found a simple solution online... :)

    It's alright, found a simple solution online... :)
  21. Flash8 Using 'delete this.onEnterFrame' to kill code?

    Hi.

    I'm designing a platformer game, in which the code is all held within the character MC. I want to pause the game using something like 'delete this.onEnterFrame' as a start point to terminate...
  22. Replies
    0
    Views
    463

    Flash8 Extension of work area?

    Hi, very simple question:

    I'm finding the grey work area limiting, I want to be able to extend it further than the boundaries I have come across.

    I have been able to drag graphics and such...
  23. Replies
    0
    Views
    437

    Flash8 Disabling movie clip actions?

    Hi, I'm designing a platform game, and I wish to load up a pause screen by keypress(I've managed to do this part). What I would then like to do is load up this pause screen, and whilst it is doing...
  24. Replies
    3
    Views
    437

    Flash8 Hey guys, it's cool I managed to fix it with some...

    Hey guys, it's cool I managed to fix it with some other counter code :)
  25. Replies
    3
    Views
    437

    Flash8 Sadly I tried that and myTimer is still...

    Sadly I tried that and myTimer is still incrementing to 4 after I restart it:(


    *edit*

    With the clearInterval, it spends longer deducting the 3rd life after restart, longer than 3 seconds
    ...
Results 1 to 25 of 50
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center