A Flash Developer Resource Site

Search:

Type: Posts; User: flosculus

Page 1 of 15 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    959

    private var stageRef:Stage; thats null, you...

    private var stageRef:Stage;

    thats null, you didnt set it to stage.
    on an application, the 'stage' property belongs to Application, Window, and WindowedApplication
  2. Replies
    0
    Views
    803

    Air - Modal/Slave - Window Test

    I have created a solution to the modal window problem with Air.

    To demonstrate what this script does, open your eclipse IDE, be if vanilla, zend or flash builder. Click window -> preferences.
    ...
  3. Replies
    3
    Views
    1,650

    iterated assignment on a dynamic instance var...

    iterated assignment on a dynamic instance

    var user:Object = new Object();
    user[i]

    so lazy lol.
  4. ok i had a go, but there are other variables in...

    ok i had a go, but there are other variables in the algorithm which I have no idea what they are for. so can you show some of the previous code and explain what this code is meant to do please?
    ...
  5. Replies
    9
    Views
    2,274

    heresy. OOP concepts apply to varying amounts...

    heresy. OOP concepts apply to varying amounts depending on what you are building.

    In the bad old days ppl used AS2 to build flash websites, and it isnt really object oriented at all. Flash...
  6. Replies
    2
    Views
    1,283

    right, i see. i always thought the position ...

    right, i see. i always thought the position differentiated between reading and writing. i guess not :P

    cheers, it worked
  7. Replies
    2
    Views
    1,283

    [RESOLVED] Confusion with ByteArray

    Part of a library I am building requires that a property be given a ByteArray value regardless of whether the data of the ByteArray has already been extracted prior to the parse.

    OK so here is my...
  8. Replies
    5
    Views
    1,982

    ok i found the 'cause' of the problem. whether...

    ok i found the 'cause' of the problem. whether you will find the solution useful is another matter.

    I got it working by redrawing the triangle and converting it to a graphic.

    I've only use the...
  9. Replies
    5
    Views
    1,982

    I've taken a look, however there is nothing i can...

    I've taken a look, however there is nothing i can see thats strange.

    Can you upload the mxml and any scripts used to make the flex component please.
  10. Replies
    2
    Views
    1,259

    if your creating some kind of activation...

    if your creating some kind of activation features, then you could even get a date from an external source.

    An online php page for example, using AMF:

    The php method 'time()' returns the...
  11. Replies
    1
    Views
    1,090

    this line is what tyou want to change: for...

    this line is what tyou want to change:

    for (var i:int = 0; i < len; i++) {
    btn = new FeatureButton();

    I would probably do this entirely differently, maybe use is as a change to use puremvc,...
  12. Replies
    9
    Views
    1,926

    in short, a variable of the base-class datatype...

    in short, a variable of the base-class datatype can incorporate the properties and methods of a sub-class instance. If can still refer to it by its base class data type, but on the inside, it has...
  13. Replies
    4
    Views
    1,267

    private var _array:Array = // Whatever your array...

    private var _array:Array = // Whatever your array contains
    private var _timer:Timer;
    private var _index:int = 0;
    private var _delay:int = // Milliseconds


    private function initializer():void...
  14. Replies
    9
    Views
    1,926

    All sounds very complicated :P still not sure...

    All sounds very complicated :P still not sure whats your doing, but it obviously involves treating different data types in the same way.

    If your bullets classes extend MovieClip or Sprite, then...
  15. Replies
    4
    Views
    5,293

    i guess a more efficient form of string...

    i guess a more efficient form of string manipulation could be built on that concept. however, when utilized as a string for string properties and arguments, the problem is effectively the same.
    ...
  16. Replies
    4
    Views
    5,293

    for lack of a better word i used re-initializing....

    for lack of a better word i used re-initializing.

    // This is assignment by value. The only way to transfer simpe data around.
    // The value of a is changed to the value of b, however a and b are...
  17. Replies
    4
    Views
    5,293

    Max string length

    Hello,

    I am working on a project that might involve the use of large strings.

    I am trying to find out what the max length is for a string because since as3 doesnt provide any methods for...
  18. Thread: Button help

    by flosculus
    Replies
    2
    Views
    688

    event.target.num == 0

    event.target.num == 0
  19. Replies
    0
    Views
    354

    File Association - Icons

    Hello, I did a final year uni project a this year involving an FTP based remote file text editor using AIR. Basically allowing you to modify files whilst they are on-line without using any server...
  20. Replies
    2
    Views
    396

    no. in fact sometimes the new set can be smaller...

    no. in fact sometimes the new set can be smaller than the current set, meaning the current set needs to remove the items that don't exist in the new set.

    there can also be multiple new items in...
  21. Replies
    1
    Views
    8,913

    The datagrid should have a few events for this. ...

    The datagrid should have a few events for this.

    Follow this tutorial:

    http://www.youtube.com/watch?v=MS1lzB-dcsk

    It shows you how to do it at the end.

    Flosculus
  22. Replies
    6
    Views
    1,150

    I am pretty certain your forgetting to mention...

    I am pretty certain your forgetting to mention all the runtime errors your getting.

    This is actually quite funny:

    myArray = [new one_mc, new two_mc, new three_mc];
    addChild(myArray);
    Because...
  23. Replies
    2
    Views
    396

    Check for new entry in set

    There is an algorithm that is always bugging be because I always forget how to do it.

    I need to find the new item in a new set that is not in an existing set. here is an example:

    // current...
  24. Replies
    0
    Views
    1,037

    Getting the 'mode' average

    For anyone who is interested, i've created an effective method to get the mode of an array of numbers. Whereas the mean, median and range are relatively easy to find, the mode is difficult because...
  25. Replies
    2
    Views
    1,254

    This is what i did to fix the problem. I havent...

    This is what i did to fix the problem. I havent noticed any bugs with it, it seems to do what i want it to:

    private function integralSubtraction(high:Number, low:Number):Number {
    var...
Results 1 to 25 of 360
Page 1 of 15 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center