A Flash Developer Resource Site

Search:

Type: Posts; User: ilike2

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds; generated 19 minute(s) ago.

  1. Replies
    3
    Views
    1,161

    Have you imported the tween class? import...

    Have you imported the tween class?

    import fl.transitions.Tween;
  2. Replies
    1
    Views
    8,634

    Firstly, you need to move the square code into...

    Firstly, you need to move the square code into sprite containers. Then use the swapChildren() method to swap the z-index of the containers. More info on the swapChildren() here.


    //1st Square...
  3. Here is some code to get you started. ...

    Here is some code to get you started.


    //Array to hold message days
    var dayMessages:Array = new Array();
    dayMessages[0] = 'This is Sunday message';
    dayMessages[1] = 'This is Monday message';...
  4. Replies
    3
    Views
    1,154

    Try using this code. It will disable any...

    Try using this code. It will disable any interaction with the movie clip.

    ball_mc.mouseEnabled = false;
  5. Replies
    3
    Views
    1,154

    You need to set random numbers to the the x and y...

    You need to set random numbers to the the x and y properties. eg

    yourMovieClip.x = Math.random() * stage.stageWidth;
    yourMovieClip.y = Math.random() * stage.stageHeight;
  6. Use a For loop, like this function...

    Use a For loop, like this


    function callJS(e:MouseEvent):void
    {
    e.target.filters = [clickShadow];

    for (var i:uint = 0; i < list.length; i++)
    {
    if (e.target == list[i])
  7. This is another solution. var list:Array =...

    This is another solution.


    var list:Array = [Pic1_btn, Pic2_btn, Pic3_btn];

    var defaultShadow:DropShadowFilter = new DropShadowFilter(5, 45, 0x000000, 0.6, 16, 16);
    var...
  8. Sorry, I typed it out quickly. If possible can...

    Sorry, I typed it out quickly. If possible can you please upload a simple FLA example?
  9. Your nearly there, try this. var list:Array...

    Your nearly there, try this.


    var list:Array = [Pic1_10_btn, Pic1_11_btn,Pic1_12_btn];

    var overShadow:DropShadowFilter = new DropShadowFilter();
    defaultShadow.color = 0x000000;...
  10. Replies
    4
    Views
    2,986

    You need to specify the hour in the Date class...

    You need to specify the hour in the Date class like this.

    Eg.


    var year:Number = 2013;
    var month:Number = 1;
    var day:Number = 3;
    var hour:Number = 8;
  11. Replies
    4
    Views
    2,986

    Can you post up your code?

    Can you post up your code?
  12. what is the file size of your swf file?

    what is the file size of your swf file?
  13. Replies
    1
    Views
    1,044

    Try this. ...

    Try this.


    yourClickTagInstanceName.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
    yourClickTagInstanceName.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);

    function...
  14. Thread: Drag n Drop

    by ilike2
    Replies
    1
    Views
    617

    Delete the following lines of code and create...

    Delete the following lines of code and create four movie clips with the respective instances names: holder, block1, block2 and block3.


    var holder:Sprite = new Sprite();
    var block1:Sprite = new...
  15. Thread: help!

    by ilike2
    Replies
    3
    Views
    903

    Can you please clarify exactly what you want?

    Can you please clarify exactly what you want?
  16. Replies
    2
    Views
    941

    try using "_blank" to open in a new window...

    try using "_blank" to open in a new window instead of using "_self"
  17. Replies
    2
    Views
    4,089

    Try this link to get you started:...

    Try this link to get you started: http://www.gotoandlearn.com/play.php?id=131
  18. Replies
    2
    Views
    929

    Try using Greensock's throwprops plugin. ...

    Try using Greensock's throwprops plugin.

    http://www.greensock.com/throwprops/
  19. Thread: Please help me

    by ilike2
    Replies
    2
    Views
    813

    Error1009 means your trying to access something...

    Error1009 means your trying to access something that isn't instantiated yet. Make sure your movie clips all have instance names.
  20. Replies
    1
    Views
    622

    Unfortunately, not possible. ...

    Unfortunately, not possible.




    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS2E9C7F3B-6A7C-4c5d-8ADD-5B23446FBEEB.html
  21. Try tracing out the currentFrame and check if you...

    Try tracing out the currentFrame and check if you see any numbers.
  22. Replies
    7
    Views
    16,193

    I've previously had problems exporting to .mov...

    I've previously had problems exporting to .mov files as well. I fix it by manually setting the stop exporting time. Try this.

    In the 'QuickTime Export Settings' click the 'After time elapsed'...
  23. Replies
    3
    Views
    669

    It depends. Can you clarify what you are trying...

    It depends. Can you clarify what you are trying to achieve?
  24. Use the gotoAndPlay() method. This will play the...

    Use the gotoAndPlay() method. This will play the movie clip on the next timeline iteration.

    For example,


    MC.gotoAndPlay(2);

    If you are currently using the play() method to start the...
  25. Replies
    1
    Views
    818

    Try something like this. Put the code in your...

    Try something like this. Put the code in your first frame and add your sound code as shown.

    var played:Boolean = false;

    if(!played){
    played = true;

    //add your sound code here
    }
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