Search:
Type: Posts; User: mgb
Search:
Search took 0.57 seconds.
-
Are you putting the button on stage, highlighting it and putting the command on the button itself? Beginners often try to put the command inside the button in one of its states.
~mgb
-
The best thing to do is to load the mc as a seperate swf on level1. That way you won't have to duplicate it for all scenes.
[edit] oops, Miss Rabbit got there just b4 me!
~mgb
-
Try
targetFullName.substr(8);
~mgb
-
getURL("javascript:scrollPage(100,100)");
and put the function on the head section of the html page-
function scrollPage(a, b)
{
scrollTo(a,b);
}
a, b represent the x, y coordinates of...
-
What version of Flash are you using?
Try-
on (rollOver) {
_root.pantalla2.gameinfo = "Jigsaw Puzzle: Put together exciting pictures of camp. What is your best time?";
}
-
set(_root.movieClipName.gameinfo, "the info");
~mgb
-
Are you using "var" when you declare the variable?
Can you post the code you are using?
~mgb
-
-
For a web page-
getURL("javascript:self.close()");
for Projector-
fscommand, quit.
~mgb
-
Use [j] instead of i or your code will italicise due to Visual Basic being implemented.
~mgb
-
Are you working with a movie loaded on a level? If so use-
on(rollOver)
{
overSound=new Sound(this);
overSound.attachSound("bloop");
overSound.start(0,1);
}
The "this" keyword is...
-
Try
this._visible = true/false;
~mgb
-
donno why this board acts crazy with "["
Use [j] instead of i or vB will make your code italic.
~mgb
[Edited by mgb on 08-08-2002 at 05:02 AM]
-
"javascript:launchwin('map/map.html' , 'newwindow' , 'height=150,width=300");
The opening single quote b4 the h in height is not closed.
~mgb
-
It might be easier to make the text file variables strings.
myVar = "01,02,03"
var A = new Array();
A = myVar.split(",");
This will return an array of strings-
-
On the button put
_root.nextSwf = "movieB.swf";
on the last frame of the fadeout put-
_loadMovieNum(_level0.nextSwf, 1);
[ use the above if the fadeout is playing above level0, if it's...
-
You can resize the opener by putting in the body tag-
<body onfocus="resizeWin()">
where resizeWin() is a function which does the reverse of the one that hides it.
~mgb
-
This will only move it 2 pixels for each mouse press. Try this-
onClipEvent (enterFrame) {
if (_root.move == "left") {
_root.ads._x = _root.ads._x - 2;
if (_root.move ==...
-
Yes, I think there's a workaround, but Microsofts idea is that the user should have control of the main window - which strikes me a very fair.
I don't know what the workaround is though.
~mgb
-
_root.mcName.varName = "YES";
or, if V2 is a root variable whose value you want to send to the clip-
_root.mcName.varName = V2;
~mgb
-
Yes, use the substring or substr functions.
~mgb
-
Put this in the head section of the html page that pops up-
<script language="javascript">
function hidePage()
{
opener.moveTo(100,100);
opener.resizeTo(100,100);
}
-
This is working fine for me-
var name="hello";
bgArray=[p1, p2, p3 ,p4];
bg=int(Math.random()*bgArray.length);
bgArray[bg](name);
function p1(n)
{
-
Put this between the closing 'title' and closing 'head' tags in your html page-
<script language = "javascript">
if(screen){
var topPos=0;
var leftPos=0;
}
function theWindow(theURL,wt,ht) {...
-
Explorer won't let you close a window without the warning.
What you can do is make it fit behind with the
window.moveTo(a,b) and window.resizeTo(x,y) functions so that it is hidden behind the...
|
Click Here to Expand Forum to Full Width
|