Search:
Type: Posts; User: gemein
Search:
Search took 0.06 seconds.
-
If you don't want variables & data to cache, this is a good overview (even though it's from flash 4)
http://www.permadi.com/tutorial/flashcache/
-
I your original movie, let's assume you have the blank clip on the root later, and you've got some code on a button similar to this:
on (release){
blank.loaveMovie("movie2.swf");
}
In your...
-
I don't think you can literally label the var for a text box as an array element (not positive though.. but I found a few other posts here on fk that affirm my thoughts). For a workaround, change the...
-
To prevent the image from "jumping" to a larger size, change the code within the onClipEvent(load) section to:
nScale = aScale[0];
.. and if you want to change the range of which the picture...
-
I put an example up on my website with source: http://www.vfov.com/flash/loadphp/
In the fla, I made a movie clip that stops on the first frame. The button you press plays starting at frame 2....
-
I did a search here on flashkit using the terms 'load text file' and made it search in the subject only.. and I found about 4 pages of threads pertaining to loading external text.. here are a few:
...
-
You want to send the variables back to flash just like you'd see in a web address and remember to use '&' to join variables:
so from php, do:
echo "name=".$name."&"."info=".$info;
-
On the clip you want to pause, put this code. Change the third line to the time interval you you want to wait. 3000 = 3 seconds, 1000*60 = 1 minute, etc...
onClipEvent(load){
stop(); // stop...
-
if the .swf to be loaded is in a deeper dir:
loadMovie("dir/test.swf",0); // one down
loadMovie("dir1/dir2/test.swf",0); // two down
if the .swf to be loaded is in a directory higher up:...
-
sorry bout that.. this was the best category I knew to post in. thx for the reply
-
movieclip.variable = whatever
The revised code below sends the variable frame to the MC obracacze (obracacze.frame). Btw, I got rid of your telltargets since they are depreciated. (it also shortens...
-
Check out the moock site.. scroll down on this page to chapter 10 and there is a custom button .fla you can download.. instead of using a button, a movieclip detects mouseover etc...
-
what's up with were-here.com? I haven't been able to reach the site for the last couple weeks..
-
I had problems with this before also.. here's a good link:
http://f256.com/comm/articles/flash/sound_objects-introduction.asp
and here's a previous post of mine about this:...
-
when checking if something equals something else, you have to use double equal signs:
on (release) {
if (onoff==0) {
onoff = onoff+1;
musicloop.start(0, 999);
} else if (onoff==1) {
onoff =...
-
Make a blank movieclip and place it on the main timeline (so that it spans the whole length of your movie). On the clip, put this code. Change the third line to the time interval you you want to...
-
I don't think you can call up what scene you're in (I have been wrong before:) ).. but I think I've got a workaround.
I made a new .fla and sample .swf which counts total frames, current scene...
-
That is odd.. and I can't seem to duplicate it. I created an array the main timeline (_root) and targeted it from the root timeline and from within a movieclip, both giving me the correct result.
...
-
I'm still kind of confused. Could you post some code?
-
When I ran a test array:
test = ["stuff","cool","nice"];
and did
test.length
I got 3 as the answer
You should be getting the number of elements within the array, not the length of each one...
-
Assuming you have the whole animation built on the main timeline, this isn't too hard. If, however, you have movieclips within movieclips, then things get more complicated.
1. First, create a new...
-
You don't have to know the array length.. like in my first example within the for() statement, you can get the length of an array by doing:
myArray.length
Anyway, I guess I'm not understanding...
-
Ok, I got it. On your verification page, on the second layer where it imports the data from the first page, you don't need to refer to the text fields with a .text extention. I've only used the .text...
-
After the this._y += diff; statement, put this:
if (_y > 170){
_y = 170;
}
It checks if the slider's _y value is greater than 170, and if so, it keeps it at 170
-
Keep in mind the hours are in 24 hour format.. so 1pm is 13 and 5pm is 17, etc..
theDate = new Date();
hours = theDate.getHours();
//__ IF IT IS BETWEEN 11PM AND 12PM
if (hours == 11){
...
|
Click Here to Expand Forum to Full Width
|