Search:
Type: Posts; User: etcettra
Search:
Search took 0.26 seconds.
-
-
Embed the swf in an .html document. (Ctrl+F12 to have MX create the .html for you).
-
What stoc told you to do changes the value of the variable "random_angle".
-
Mind saying that again? In english this time please.
-
onClipEvent (enterFrame) {
for (j in myArrayOfMCs)
if (this.hitTest(myArrayOfMCs[j])) {
Do stuff;
}
}
}
-
Try:
for (s=1;s<100;s++) {
_root["clip"+s].gotoAndStop(_root["var"+s]);
}
-
Actualy there IS a syntax error in those lines.
var dx=this._x-_root["foot"+i"_mc"]._x;
Should be:
var dx=this._x-_root["foot"+i+"_mc"]._x;
^
-
n = "5";
trace(n+1); // output = 51
n = Number(n);
trace(n+1); // output = 6
-
Is this what you're looking for?
http://www.kirupa.com/developer/flash5/borderless.asp
Im not really sure but that would be my guess.
-
You might need to use / or probably you just need to use \\ becasue \ is an escape character so it escapes the next character from it's normal meening (ie. \n inserts a line break), so \\ would give...
-
Just put the code I gave you in frame 1 of your movie and then put this in a button:
on(release) {
_root.out.text = _root.translate(_root.in.text);
}
-
I beleive it's:
on (release) {
fscommand ("exec", "c:\path\to\exe\acrobat5.exe");
}
-
In flash 5 buttons can't have instance names, that's why you're getting the error.
-
Try this:
myString = myString.split("\r").join("\n");
That will replace every \r with \n.
-
In the last frame of your movie put:
getURL("www.mysite.com", "_self");
-
Heh, I thought this was kind of a neat idea, so I came up with this:
alphabet = {A:"4", B:"|3", C:"C", D:"|>", E:"3", F:"F", G:"G", H:"|-|", I:"I", J:"J", K:"|<", L:"1", M:"|\\/|", N:"|\\|",...
-
Well I'm not going to debug it, but I can give you a much simpler way of replacing "*" with "&".
trivia_rebuild = trivia_contents.split("*").join("&");
-
In flash 5 buttons and text fields can't have instance names.
-
I can't make a finished product, but here's something you can work with.
In the _root:
picNames = ["pic1.jpg", "pic2.jpg", "pic3.jpg" ...];
In your button:
on (release) {
-
on (release) {
if (Key.isDown(192)) {
getURL("http://www.mysite.com/mypage.php", "_self");
}
}
192 is the key code for the ` (backstick).
-
If you set:
gridvalue="a";
rowvalue="b";
columnvalue="a";
location_id = gridvalue + rowvalue + columnvalue;
than:
location_id == "aba";
-
Becasue you didn't tell it what to DO with the result from getTimer().
Try:
onClipEvent(enterFrame) {
txtInstance.text = getTimer();
}
Change "txtInstance" to the instance name of your...
-
This should do what you want, unfortionately I don't have time to explain it though.
onClipEvent (mouseMove) {
_rotation = Math.atan2(_root._ymouse-_y, _root._xmouse-_x)/(Math.PI/180);...
-
This should work:
on (press) {
this[Selection.getFocus()] += this_variable;
}
-
I don't know if Flash 5 has the option, I assumed you were using MX (this is the MX bord after all). The only work around I know of would be to create an empty movie that preloads your main one.
|
Click Here to Expand Forum to Full Width
|