A Flash Developer Resource Site

Search:

Type: Posts; User: ifmi

Page 1 of 6 1 2 3 4

Search: Search took 0.17 seconds.

  1. hey, questions.push( getDefinitionByName (...

    hey,


    questions.push( getDefinitionByName ( 'question' + i.toString() ) );
  2. Replies
    1
    Views
    1,601

    your statement: i>=nameArr.length will never...

    your statement:
    i>=nameArr.length

    will never be reached...
    because the loop ends before it:
    i<=nameArr.length-1;

    you need to use for loop definition:
    i < nameArr.length;
  3. Replies
    2
    Views
    1,772

    First off all rename your instance class from...

    First off all rename your instance class from Main to MediaPlayer:


    ...
    public class MediaPlayer extends MovieClip
    ...


    Then create empty Main class, where you will be creating instance:...
  4. Replies
    2
    Views
    2,307

    Hey, The problem you have is hided in this...

    Hey,

    The problem you have is hided in this functions:


    private function navBtnOVER(evt:MouseEvent):void{
    format.color=0xff0000;
    // txtTF.setTextFormat(format);
    // you setting textFormat...
  5. Replies
    1
    Views
    1,735

    you can accet it like this: var xml : XML =...

    you can accet it like this:


    var xml : XML = <State>
    <Center ID="BOCC">
    <Dispatch>
    <Log>
    <LogType>Traffic Collision - Ambulance Responding</LogType>
    </Log>
    ...
  6. Replies
    1
    Views
    1,578

    place this code in the first frame of your file:...

    place this code in the first frame of your file:


    stop ();

    this.addEventListener ( ProgressEvent.PROGRESS, handleProgressEvent );

    function handleProgressEvent ( e : ProgressEvent ) : void...
  7. Replies
    2
    Views
    1,781

    It is not working because of the security sandbox...

    It is not working because of the security sandbox violation.
    SecurityError: Error #2137

    go here: http://goo.gl/Hwz9V

    And set the trusted root folder, where all your project are. it will solve...
  8. Replies
    5
    Views
    1,804

    Hey, my friend worte an article about it you...

    Hey,

    my friend worte an article about it you can read it here:

    http://goo.gl/y1LZr

    hope it will help ya.
  9. Thread: AS3 Regex Match

    by ifmi
    Replies
    2
    Views
    2,036

    hey, check this String function:...

    hey,

    check this String function:
    http://goo.gl/yWV5w

    also you need to check this library:
    http://goo.gl/yWV5w
  10. Replies
    3
    Views
    1,246

    When you are comming back to the frame, it...

    When you are comming back to the frame, it restarts it completely, if you have there a code which puts the mc on the stage or mc is putted by defaut, then it will be there again.
  11. Replies
    1
    Views
    1,643

    Hey, it is possible for quite a long time: ...

    Hey,

    it is possible for quite a long time:

    http://goo.gl/P2N7E

    have fun!
  12. Replies
    7
    Views
    2,023

    or go here: http://goo.gl/Hwz9V And set the...

    or

    go here: http://goo.gl/Hwz9V

    And set the trusted folders, where all your project are. it will solve the problem.
  13. Replies
    7
    Views
    2,023

    it shows me SecurityError: Error #2137 so...

    it shows me

    SecurityError: Error #2137

    so if you are using the _self, then try not use _self, but some JS workaround

    Flash -> button -> click -> JS -> redirect page
  14. Replies
    2
    Views
    1,910

    In the global security setting panel go here:...

    In the global security setting panel go here: http://goo.gl/Hwz9V
    an then select the project directory ( for me it is D:\projects ), and put on Always Allow.
    Usualy this helping to access network...
  15. Replies
    6
    Views
    2,288

    Then you need a variable: var currentPiece :...

    Then you need a variable:

    var currentPiece : uint = 0;

    then in the timer function:

    function onTimer(evt:TimerEvent):void
    {
    if ( currentPiece < bitmapsArray.length )
    {
  16. Replies
    4
    Views
    1,936

    Hi, if you want to remove completely the...

    Hi,

    if you want to remove completely the movieClip from memory, you need to remove all eventListeners also.

    this is the cleanest version i think you can get from it:

    http://goo.gl/f17IS
  17. Replies
    6
    Views
    2,288

    Have no idea what is wrong there... please...

    Have no idea what is wrong there...

    please check this link, there is everything working:

    http://goo.gl/KrNYh
  18. Replies
    6
    Views
    2,288

    hey. First of all these 2 logics issues: ...

    hey.

    First of all these 2 logics issues:


    bitmapsArray = new Array(); // you need to initialize the Array

    // loop through all pieces
    for (var x:uint=0; x<6; x++)
    {
  19. Replies
    2
    Views
    1,792

    if i undestood correctly the structure looks like...

    if i undestood correctly the structure looks like this:

    myClip
    |-myChild1
    | |-myLittleChild
    |
    |-myChild2
    | |-myLittleChild
    |
    |-myChild3
  20. Replies
    1
    Views
    556

    hi, please use instead of...

    hi, please use

    instead of
    event.target.startDrag(true);

    Just
    event.target.startDrag();

    see the diference in the docs: http://goo.gl/xi9ap
  21. Replies
    5
    Views
    671

    hey, take a look at this property: ...

    hey,

    take a look at this property:

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObjectContainer.html#tabChildren
  22. hey, you should do like this: you need to...

    hey,

    you should do like this:

    you need to have 2 swfs.

    1st - preloader.swf ( with only preloader graphics )
    2nd - content.swf ( where all you actual content is )

    and then. preloader...
  23. Replies
    6
    Views
    950

    hey, it is quite easy: gotoAndPlay (...

    hey,

    it is quite easy:

    gotoAndPlay ( currentFrame + 20 );

    p.s. just add some checkings: value > 0 and value < totalFrames
  24. Replies
    3
    Views
    1,032

    Serge Jaspers: Flash Player in the browser on...

    Serge Jaspers:

    Flash Player in the browser on Android currently not support the camera. For workaround see http://bit.ly/dcJIDP

    ------------------

    so it seems we need to wait a bit and move...
  25. Replies
    3
    Views
    1,032

    The minimum resolution to get the camera is 215 x...

    The minimum resolution to get the camera is 215 x 138 pixels, according to the as3 documentation. We are using Toshiba Folio tablet which has 1024 x 600 pixels resolution. so it is more than enough....
Results 1 to 25 of 142
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center