Search:
Type: Posts; User: Lexicon
Search:
Search took 0.07 seconds.
-
This doesn't need to be documented as being correct, it just is.
You can do multiple assignments on one line...
a = "abcd all have the same value"
b = "abcd all have the same value"
c =...
-
I think there are some timing issues you need to get your head around because I think this is the same problem as before. i.e. The location dots do not exist until the focus_mc is attached.
You...
-
no worries.
Here is the solution without nested functions. It uses the name of the clickable county as a seed for the correct function name. (beds gets assigned the onRelease function...
-
Ok, then my points posted above; that beds.beds_focus_back never exists and that you need to assign the onRelease function after you have attached the clip in question, are the answers you seek. :)
...
-
This function draws a circle. I wouldn't bother with attaching clips and scaling, just draw the circle inside a clip.
function circle(mc:MovieClip, r:Number, x:Number, y:Number):Void
{
var...
-
It is very confusing to see what you are trying to do and what you are expecting to happen. Maybe you can clarify your problem more.
Here are some observations anyway...
beds.beds_focus_back...
-
Whispers,
The mask_bmp is a generated bitmap, and is totally independant of the maskee_mc. The maskee_mc (the clip that gets masked) can contain anything you want, any colours etc. The maskee_mc...
-
Here is a quick example, it basically allows you to draw some red shapes into a movieClip. The red shapes are copied onto a blue bitmapData object and the blue channel of this is then copied to the...
-
just noticed I forgot to say....
the code added to the link buttons needs to be placed above your gotoAndPlay command.
:domo:
-
I suspect that neither of the above solutions will help.
I think that you have probably placed the 'pictX' movieClips on stage in the flash API. Then your buttons move the swf to a different...
-
Hi,
make sure that your wavs are created at 11, 22, or 44 kHz.
-
First declare a variable to store the interval reference on a frame where your buttons lie.
var myInterval:Number;
and create the interval like this...
-
1. You should always declare your variables using var.
2. You should always type your variables (unless you absolutely need to re-cast variables). You will have faster code if you don't re-cast...
-
You only ever get 0 because you always set i to 0 at the top of the function.
There are other illogical things in your code, meaning that i can only ever be 0.
If I understand you correctly for...
-
no worries, works in all AS versions.
Welcome to Flash Kit! :grouphug:
-
var myString:String = "text1|text2|text3|text4";
var myArray:Array = myString.split("|");
-
There is no such thing as an assiciative array in AS, so I guess you are using an Object.
In which case you gone done something silly because undefined you should not get :)
-
The answer lies in your first post.
getURL only accepts between 1 and 3 parameters. You are using 4.
Refer to the definition of getURL for the correct parameter order, and descriptions.
...
-
if the class has no package prefix then you can just do this...
var foo = new ["someClass"]();
if it is contained in a package then you can do this...
-
You could write a jsfl command script to do it.
Look at the Extending Flash section of the help files.
-
Here's a basic loop to get the x/y coords in a grid. I'll leave you to declare the variables.
for(i=0; i<numOfImages; i++)
{
x = startx + ((i%numInRow) * spacing);
y = starty +...
-
You could get a property from the parent swf like this...
code in child swf
function initHandler(evt:Event):void
{
// check if loaded inside a parent clip (else standalone)
if...
-
yup, i assumed a non fullscreen start :domo:
-
The gotoAndStop function does just what you have found it to do. It jumps to the specified frame and stops there. In other words it does not allow you to command the movie to play frames 1 to 5 in...
-
try this one...
// flash player 8
var fullscreen:Boolean = false;
_btn.onRelease = function()
{
fscommand("fullscreen", String(fullscreen=!fullscreen));
}
|
Click Here to Expand Forum to Full Width
|