Search:
Type: Posts; User: ilike2
Search :
Search took 0.03 seconds.
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';...
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
function callJS(e:MouseEvent):void
{
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);
var...
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.
Eg.
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?
Try this.
yourClickTagInstanceName.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
yourClickTagInstanceName.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
function...
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.
http://www.greensock.com/throwprops/
Error1009 means your trying to access something that isn't instantiated yet. Make sure your movie clips all have instance names.
Unfortunately, not possible.
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS2E9C7F3B-6A7C-4c5d-8ADD-5B23446FBEEB.html
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.
For example,
MC.gotoAndPlay(2);
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;
if(!played){
played = true;
//add your sound code here
}
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.
...
Try this.
MovieClip(root).gotoAndStop()
Click Here to Expand Forum to Full Width