A Flash Developer Resource Site

Search:

Type: Posts; User: ilike2

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. 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';...
  2. Replies
    3
    Views
    437

    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;
  3. Replies
    3
    Views
    437

    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;
  4. 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])
  5. 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...
  6. 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?
  7. 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;...
  8. 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;
  9. Can you post up your code?

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

    what is the file size of your swf file?
  11. Try this. ...

    Try this.


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

    function...
  12. Thread: Drag n Drop

    by ilike2
    Replies
    1
    Views
    345

    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...
  13. Thread: help!

    by ilike2
    Replies
    3
    Views
    550

    Can you please clarify exactly what you want?

    Can you please clarify exactly what you want?
  14. Replies
    2
    Views
    552

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

    try using "_blank" to open in a new window instead of using "_self"
  15. Replies
    2
    Views
    1,157

    Try this link to get you started:...

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

    Try using Greensock's throwprops plugin. ...

    Try using Greensock's throwprops plugin.

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

    by ilike2
    Replies
    2
    Views
    499

    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.
  18. Replies
    1
    Views
    404

    Unfortunately, not possible. ...

    Unfortunately, not possible.




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

    Try tracing out the currentFrame and check if you see any numbers.
  20. Replies
    7
    Views
    3,913

    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'...
  21. Replies
    3
    Views
    359

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

    It depends. Can you clarify what you are trying to achieve?
  22. 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...
  23. Replies
    1
    Views
    428

    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
    }
  24. Replies
    1
    Views
    371

    To make you button clickable, you need to add a...

    To make you button clickable, you need to add a click event listener to your button. Then you can use the gotoAndStop() method to go to a different frame.

    ...
  25. Try this. MovieClip(root).gotoAndStop()

    Try this.

    MovieClip(root).gotoAndStop()
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width


HTML5 Development Center