Type: Posts; User: ilike2
Search took 0.03 seconds.
Have you imported the tween class?
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.
Here is some code to get you started.
//Array to hold message days
var dayMessages:Array = new Array();
dayMessages = 'This is Sunday message';
dayMessages = 'This is Monday message';...
Try using this code. It will disable any interaction with the movie clip.
ball_mc.mouseEnabled = false;
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;
Use a For loop, like this
e.target.filters = [clickShadow];
for (var i:uint = 0; i < list.length; i++)
if (e.target == list[i])
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);
Sorry, I typed it out quickly. If possible can you please upload a simple FLA example?
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;...
You need to specify the hour in the Date class like this.
var year:Number = 2013;
var month:Number = 1;
var day:Number = 3;
var hour:Number = 8;
Can you post up your code?
what is the file size of your swf file?
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...
Can you please clarify exactly what you want?
try using "_blank" to open in a new window instead of using "_self"
Try this link to get you started: http://www.gotoandlearn.com/play.php?id=131
Try using Greensock's throwprops plugin.
Error1009 means your trying to access something that isn't instantiated yet. Make sure your movie clips all have instance names.
Unfortunately, not possible.
Try tracing out the currentFrame and check if you see any numbers.
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'...
It depends. Can you clarify what you are trying to achieve?
Use the gotoAndPlay() method. This will play the movie clip on the next timeline iteration.
If you are currently using the play() method to start the...
Try something like this. Put the code in your first frame and add your sound code as shown.
var played:Boolean = false;
played = true;
//add your sound code here
Click Here to Expand Forum to Full Width
Poll by Flashkit.com