Centered Pop Up Doesn't Work On IE
hi,
I have followed the tutorial on the site and it was working great, but when I made my site live and tested it on IE, it doesn't pop up anything.
help anybody?
thanks!
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 10-12-2005, 08:48 PM
View Complete Forum Thread with Replies
Sponsored Links:
Centered Pop-up Does'nt Work?
I've just fixed my site up in Flash, and it works great!
But my centered pop-up does'nt open in IE and looks even worse FireFox.
I've checked and double checked everything, and I CAN"T find the bloody fault anywhere!!!
Can somebody help me out here?!?
THX!
www.wdotp.com
http://users.pandora.be/willem.photography/index.fla
View Replies !
View Related
Centered Pop-ups Wont Work In IE But Will In Firefox?
Hey, just need to know why this wont work in IE
http://www.akmphoto.net/order_microsite.html
When you click on the btns the pop-up doesnt work...notice it works PERFECTLY in Firefox....any ideas??
code for the btns in flash are
Code: green_btn.onRelease = function() {
getURL("javascript:Launch('http://www.akmphoto.net/micro_site_2.html', 776, 480)");
};
And the Java script used is
Code: <script language="JavaScript">
function Launch(page, width, height) {
OpenWin = this.open(page, "Silver Micro Site", "toolbar=no, menubar=no ,location=no, scrollbars=no, resizable=no, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + """);
}
</script>
View Replies !
View Related
Centered Jpeg In MovieClip Doesnt Work On The Web
ok so i got a little dilema. ive seen the tutorials on centering a jpeg to a movie clip when its loaded but they are actually cheating . All they do is load it in the center of the stage and not the center of the actual movieclip. This was working fine untill i decided to upload it on the web. And now its all screwed up because i think its trying to recalcuate what the "center" of the stage is everytime u resize ur broweser window. For anyonen who doesnt know the code im talking about here it is:
_root.container._x = Stage.width/2;
_root.container._y = 50;
_root.container._alpha = 0;
_root.onEnterFrame = function() {
if (_root.container._width>0) {
delete _root.onEnterFrame;
_root.container._x -= _root.container._width/2;
}
};
Is there a better "proper" way of doing this? Im surprised Adobe didnt fix this in cs3...
Any help or points in the right direction would be really appreciated.. Thanks guys!!
oh yea heres the link if u want to see what i mean. Click on illustration and then click on the different pieces. This is reeeaaally wierd... http://www.7splat.com/
View Replies !
View Related
Drop Menu : Rollovers/GetURL In A Movie Don't Work...and The SWF Doesn't Work In FF
My links/rollovers don't work in Mozilla and the dropdown menu part don't work (the rollovers and the getURLs) in any browser.
What's wrong with this??? I think it's something simple.
I've already tried:
Code:
this._lockroot = true;
I also tried writing the AS as:
Code:
one.title.text = "The Text";
one.onRollOver = over;
one.onRollOut = out;
function over () {
this.gotoAndPlay(2);
}
function out () {
this.gotoAndPlay(11);
}
one.onRelease = function(){
getURL("http://www.thelink.com");
}
...didn't work...
I hope someone can help!
Download the: Source File
(Lately I've gotten no help off this site and it's been very depressing because this site people used to be very helpful...I hope someone can change my mind)
View Replies !
View Related
This._lockroot Doesn't Work (combobox Components Won't Work)
I have a preloader (preloader.swf) which loads a form (offerte.swf).
I've put the this._lockroot on the "application" timeline on the first frame of the "Flash form application" (offerte.swf).
But the combobox components still won't work.
I had it working before, but suddenly it seemed to stop! Now I can't get it get to work again.
Preview: www.blaak.nl/flash/
View Replies !
View Related
This._lockroot Doesn't Work (combobox Components Won't Work)
I have a preloader (preloader.swf) which loads a form (offerte.swf).
I've put the this._lockroot on the "application" timeline on the first frame of the "Flash form application" (offerte.swf).
But the combobox components still won't work.
I had it working before, but suddenly it seemed to stop! Now I can't get it get to work again.
Preview: www.blaak.nl/flash/
View Replies !
View Related
Smoothing Doesn't Work It Oughta Work
Hello!
I am trying to develope this website:
http://anarchy.primalinsanity.com/~villain/nma.rar
Its smoothing effect, however, has mysteriously disappeared. It is only enabled in authoring mode, not if I export the movie. I've tried everything to re-enable it:
1) Changed formats from JPG to PNG
2) Library > Bitmap Properties > Allow smoothing
3) File > Publish Settings > Smooth
But nothing seems to work
Thanks everyone,
Johann
View Replies !
View Related
New Instance Button Doesn't Work, No Apps Listed, But Apps Work
In my admin panel if I click on the New Instance button it doesn't do anything. I've seen other posts about this and they all end up being caused by people having no applications to load, but that's not the case here. My apps are installed and they work fine, but the new instance button doesn't list them and they don't show up in the applications list of the admin panel, even when they're running.
This has to be something pretty simple, but I'm not having any luck figuring it out. Any ideas?
View Replies !
View Related
Loader.close Doesn't Work In Flash But Does Work In Flash Player
When testing a movie in flash with simulate download the Loader.close() function doesn't seem to work when trying to cancel a load but it does work in a browser! You'll need to try to load a movie that has sound. The loader looks as if it stops but then the sound that's in the loaded movie will play, proving it hasn't stopped loading
add a button with instance name btnCancel
Attach Code
function onClickbtnCancel(e) {
// damn thing doesn't work in Flash but works online
ldr.close();
/* this stuff isn't even needed
ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, onCompleteHandler);
for (var i:uint=0; i < container.numChildren; i++) {
if (container.getChildAt(i) is DisplayObjectContainer && container.getChildAt(i).name == "movieclip loader") {
container.removeChildAt(i);
}
}
*/
}
btnCancel.addEventListener(MouseEvent.CLICK, onClickbtnCancel);
var container = new Sprite();
var ldr = new Loader();
ldr.name = "movieclip loader";
container.addChild(ldr);
var urlReq = new URLRequest("file.swf");
function onCompleteHandler(e) {
addChild(e.currentTarget.content);
}
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
ldr.load(urlReq);
stop();
//--------------------On another note. Anyone know why I can't add text format styles to List components?
import fl.managers.StyleManager;
// set style for all components such as the List
var tf = new TextFormat();
tf.color = 0x000000;
tf.font = "Verdana";
tf.size = 14;
//StyleManager.setStyle("textFormat", tf); // <- this works but that's not the point
StyleManager.setComponentStyle(List, "textFormat", tf); // this works fine for a TextArea, just not a List??
Edited: 07/11/2008 at 10:08:19 AM by Cine-Med
View Replies !
View Related
Centered Xml Images / Centered OnResize
I am loading xml images, while also trying to center them onResize.
In this tutorial: http://www.kirupa.com/developer/mx20...otogallery.htm the images are all the same size, are being loaded into a static movieclip, and are aligned to the Top Left corner.
What I am trying to do is load different size images into a movie clip which stays centered on resize (i'm making a fullscreen flash site), while also loading each individual image centered within that clip (instead of the default top left).
Here is the code I am using for postioning the MC onResize:
Code:
mainInit();
function mainInit() {
// Set alignment and scale to allow onResize to work.
//Stage.align = "LT";
//Stage.scaleMode = "noScale";
// Create the title clip.
this.attachMovie("picture", "picture", 10);
// Keeps the title clip in place when the movie is resized.
picture.onResize = function() {
this._y = Stage.height-(picture._height/2);
this._x = Stage.width-(picture._width/2);
};
// Register titleClip to be notified when movie is resized.
Stage.addListener(picture);
// Set initial position of title clip.
this.picture.onResize();
}
I tested the following code (given to me by 'The Canadian' - thanks!) - within the xml onload function using that tutorial and it would not work with the first image, and seemed to only work properly 90% of the time:
Code:
picture._x = (Stage.width / 2) - (picture._width / 2);
picture._y = (Stage.height / 2) - (picture._height / 2);
...So, my question is does anyone know how to load center aligned variable size images, while also calling the movieclip to center onResize. I have tried everything I can think of and cannot get it working properly...
View Replies !
View Related
I Know This Should Work, But It Doesn't
in a game i'm making i've put this scrip in a movie clip:
onClipEvent (enterFrame) {
for (i=1; i<6; i += 1) {
if (this.hitTest(_root["shot"+i])) {
removeMovieClip (_root["shot"+i]);
this.play();
}
}
}
its just a for loop see if a shot hit the movie clip the shot is removed and the movie clip plays, the clip plays fine but the shot isn't removed (the shot is a duplicated movie clip)
i also tryed to remove the movie clip the shot hit (it was also duplicated) by after the explosion takes place it is removed with this script:
removeMovieClip (this);
but that doesn't work either. can any one help? or has my copy of flash lost the ability to use the "removeMovieClip" command?
View Replies !
View Related
With () -- Doesn't Seem To Work
Here is the structure:
movie Clip _level0.ColorBoxX.Highlight (where X is an integer)
and there is a button on the _level0.ColorBoxX
from the 'on (release)' action of a ColorBoxY I want to modify the _visibility of the Hightlight mc on ColorBoxX
so here is my with statement.
Note: _parent.currentColor = the X of the ColorBoxX
with ("_parent.ColorBox" + _parent.currentColor){
Highlight._visible = false;
}
I know that "_parent.ColorBox" + _parent.currentColor evaluates to the proper mc name via doing a trace but the mc visible doesn't go to false (i.e. the mc still shows up)
what am I doing wrong?
View Replies !
View Related
Still Doesn't Work
i want to load extra swf file to a defined location of my flash movie, I made an empty MC with instance name "location" and put it into location i want my extra swf to be at. my swf file outside named "introduction.swf", so i did as a friend told me:
on (release) {
loadMovieNum (introduction.swf, _root.location);
}
i put my main movie file and the extra file in the same folder,but it doesn't work, when i press the button , it just open another IE window with "http://introduction.swf/" in the address blank and get " The page cannot be displayed". So strange, could anybody tell me where is the mistake? Thanks!
View Replies !
View Related
Why Doesn't This Work?
I want to launch an .exe file from a flashmovie:
Why doesn't this work:
on (release) {
fscommand ("exec", "start.exe");
}
(I have the .exe application in the same directory as te my swf...I've tried it with an .exe projector (instead of a .swf) too...)
Can anybody help me ..please!!!
View Replies !
View Related
It Has To Work, But Doesn't...
hi,
I have a movie with two scenes.First scene has just one frame with lots of layers.And there is a mc on top layer which contains 200 frames in.I have 6 special frames in that 200 framed mc.When playhead goes any of them 6 times totally,I want the main movie go to next scene.
So what did I do:
I put an empty mc in 200 framed mc(call it mc A).and add that script to it;
onClipEvent (enterFrame) {
hit = 0;
}
then I add this a/s to empty mc in those special frames;
onClipEvent (enterFrame) {
_root.hit++;
if (_root.hit == 6) {
_root.gotoAndPlay(2, 1);
}
}
BUT IT DOESN'T WORK,what is wrong ,can anyone help me about it?You can offer some other way also.
Thanks for your time.
View Replies !
View Related
#%@&* Why - Doesn't - This - WORK ?
i have a chat room that works using php and flash5
note the "that works" bit of that last statement and replace it with "doesn't work". doesn't work that is if you load it in on a seperate level or target. (hummpph!!!)
i need, need, n-EEED! this to work on a seperate level.
why won't it???
tnx
View Replies !
View Related
Why It Doesn't WORK
Ok this script should giveme a progresive resize of the x and y Scales. Instead it resizes the movie instantly to 100 =(
onClipEvent (enterFrame) {
this.onRollOver = function() {
while (this._xscale<100) {
this._xscale += 1;
this._yscale += 1;
}
};
View Replies !
View Related
Why Doesn't This Work?
i have this code in my main movie for a preloader that works just great...
onClipEvent (enterFrame) {
t = _root.getBytesTotal();
l = _root.getBytesLoaded();
percent = int ( (l/t)*100)+"% loaded";
if (percent=="100% loaded") {
tellTarget ("_root") {
gotoAndStop (5);
}
}
}
inside this movieclip is just a textfield that displays the percentage loaded. now, i am loading seperate swfs into this main movie into a movieclip called "loadClip1" using a slightly modified version of this script and the percentage loaded script will not display but the movie loads when it is complete. why can't i see the percentage loaded information???
onClipEvent (enterFrame) {
t = _root.loadClip1.getBytesTotal();
l = _root.loadClip1.getBytesLoaded();
percent = int ( (l/t)*100)+"% loaded";
if (percent=="100% loaded") {
tellTarget (this) {
gotoAndStop (5);
}
}
}
View Replies !
View Related
Why Doesn't This Work? Please Help
I have this script attached to a button. On the Main timeline it works fine:
-----------------------------
on (release) {
_root.next = "about";
if (current != "") {
if (next != current) {
this[current].play();
}
} else {
this[_root.next].play();
}
}
-----------------------------
But when I place this button INSIDE a Movieclip, it doesn't work. On the debug, it sets var 'next' equal to 'about' (another MC), but it never is able to get _root.next to play.
Does anyone know if I'm usoing the wrong syntax here?
View Replies !
View Related
Still Doesn't Work
If I export the file as a swf I still get it without spinning logo. What I do when I see it spinning is go to the menu under test movie and it spins but when I export as swf or avi it doesn't spin. any more suggestions.
Thanks
Jamie
View Replies !
View Related
Why Doesn't This Work ?
Hi, I'm just trying to dynamically generate my menu with an array but it doesn't seem to work:
myMenus = new Array("accessories","view", "print");
for (i=0; i<=myMenus.length; i++) {
_root.myMenus[i].onRollOver = function (){
trace("hello");
}
}
Can anyone tell me why assigning this rollover doesn't work?
My instances are named "accessories","view", "print"
Thanks
View Replies !
View Related
Php Doesn't Work
I have a Dynamic text box that is supposed to connect to a php page. It works when I run the Flash page from my computer (locally), but the same Flash page when running at our ISP (live) can't find the php. Does anyone have any ideas about why this would happen?
View Replies !
View Related
OS X Work But OS9 Doesn't
Please, someone help me!!!
I had a website publised by flash MX then it works perfect on OSX or
Explore5.2 but some script doesn't work at all when you see it by OS9 or Explore 5. I published them as flash 5 but maybe 5 doesn't support script of flash MX?
But then again if I publish it as flash 6, a lot of OS 9 users won't be able to see the site, right?
please take a look
@ www.kistudio.info
by both osx and os9.
portfolio page is the one the script doesn't work...
thanks,
tototo
View Replies !
View Related
Why Doesn't This Work? Please Help
I have a banner that will repeatedly flash across the screen in a loop of about 15 frames, and at the beginning of this loop, frame 77, I have this code: (This is the title screen for a corny little RPG thingy)
;
stop();
random = random(3);
if (random=0) {
banner = "Press ENTER to start";
gotoAndPlay(78);
}
if (random=1) {
banner = "Forget the princess, Get the gold!";
gotoAndPlay(78);
}
if (random=2) {
banner = "Level up by killing bad guys!";
gotoAndPlay(78);
}
if (random=3) {
banner = "What are you waiting for? START!!";
gotoAndPlay(78);
}
The problem is, the banner always assumes the value of the last condition, even if I had random=random(2), it would still be the value of "What are you waiting for? START!!"
My goal is to have the value of the banner be a different string every time it goes by the screen, but for it to be random.
And THEN, in frame 78, I have this code:
if (Key.isDown(key.ENTER)) {
gotoAndStop(108);
}
But THAT doesnt work, either.
It just keeps on looping with the same banner text.
And one more question:
How would I ultimately create a graphic that moves around the screen in response to directional key presses??
(I have Flash MX 6.0)
View Replies !
View Related
It Doesn't Work (?)
For everyone:
take a look at this and, please, tell me why the clipmovie "Produzione_struttura"
don't execute the action I gave to the 2 buttons inside...Please, tell me how to make it work . By the way, I use Mac.
Thanx in advance
(Big thanx MophoAl, u know why)
View Replies !
View Related
Why Doesn't This Work?
Code:
str_button = mainTag.childNodes[i].childNodes[1].firstChild;
_root["navbutton"+i].txt_button = str_button;
this works, but I want to change the text to uppercase - I tried
Code:
str_button = mainTag.childNodes[i].childNodes[1].firstChild;
_root["navbutton"+i].txt_button = str_button.toUpperCase();
but that didn't work - doing a trace on it gives "undefined"
Can anyone tell me what's wrong?
ps - I posted this first in the XML forum, but have found I tend to get quicker answers here - sorry for the crosspost!
Cheers
JennyJ
View Replies !
View Related
Why Doesn't It Work? :(
I'm making a scene which is started with stream sound; when the stream is over, I connected it with an 'even' Sound and a stop(); action. It worked properly, but when I tried to connect more another sound (with another stop(); action) it didn't stop the movie at all, it continued to play again (from the begining). I couldn't understand why...??
Explain:
Frame (1): Start sound A, stream mode, loop=0.
Frame (1+n): end stream (the A sound's gone out)
Frame (1+n+m): start B sound with 9999 loops ('Start' mode) + stop(); action.
Last frame: stop B sound (use 'Stop' mode) + start C sound ('Event' mode) with 0 loop + stop(); action.
>> The movie doesn't stop at any frame with stop(); action... (!!??!)
Please help me, I don't get them, why... 8-}
View Replies !
View Related
Why Doesn't This Work?
Code:
on (release) {
_root.score = _root.score+10;
}
on (release) {
if (_root.score==100) {
gotoAndStop(2);
}
}
i have a dynamic text box var=score in the same frame as the button with the above script..
before the button is pressed the text box reads _level0.score
after it is clicked it changes to NAN and remains there
also is there a way to change this so it works with a movie clip coming into contact with another mc, to add 10 points to the score box, and remove that mc from the stage?
View Replies !
View Related
Still Doesn't Work
I thought that might solve the problem but I have looked at other sites of mine that don't use the wmode transparent parameter and they are still just white empty spaces on NS 6.2. Also some sites I made with Flash 5 are fine. I have exported these movies from flash mx as flash 5 but that doesn't fix the problem. Any advice???
View Replies !
View Related
Why Doesn't This Work?
I took 1 of the tutorials and followed it just like it said and the preloader is suppose to come up right away, but it stays at a white screen until the whole thing is loaded then the preloader come up for like 1 second, please help me with this. http://mp7.zapto.org
click the weekly best song.
View Replies !
View Related
Why Doesn't This Work?
hey,
I followed this tutorial...
http://www.kirupa.com/developer/mx/p...transition.htm
I am getting close, but my "doors" don't close when i click a button, they start openning???
thx,
Baljinder
View Replies !
View Related
Why Doesn't This Work?
alright, just need a little help with a bit of action script...
making a movieclip play using if... and variables....
var clicks = 0;
click.onPress = function() {
clicks++;
trace(clicks);
};
if (clicks == 20) {
ab.gotoAndPlay("b");
}
any help would be appreciated
Thanks
Maikel
View Replies !
View Related
Why Doesn't This Work ?
I've made some little animated buttons - they are movie clips - but i can't make them take me anywhere , tried doing the _root. command in the line but still doesn't work
can someone tell me why
i know its probably just me missing something but its starting to annoy me now
View Replies !
View Related
Why Doesn't This Work ?
I have this file that when i try and load the swf into another movie online it just doesn't come in - if i remove the 2 first frames that are the preloaders it works fine - trouble is in the future some big files are going in there so i could do with a preloader.
Is there some piece of code in there that shouldn't be or have i missed something ?
View Replies !
View Related
Why Doesn't It Work?
basically my problem is this, i have this picture, and when you click it i need it to assign 2 variables: varX and varY, heres the code:
on (release) {
place = "images/1";
loadMovie(place+".jpg", "size");
varY = getProperty("/size", _height)*.273333;
varX = getProperty("/size", _width)*.16375;
gotoAndPlay(4);
}
-this code is on the thumbnail-
What's happening, is you click on a thumbnail of image 1, an offscreen movie "size" loads the full picture, and i'm trying to get the width and height of movie "size" and multiply it by those numbers, and set them to there according varX or varY. It just doesn't function like it should, and i feel like i'm missing something obvious....
View Replies !
View Related
This Doesn't Work
trying to make this work but it doesn't.
1. have the scroll work when .swf movie is loaded in movie clip (loader) on main movie page.
2. when clicking policy button from main movie... the swap depth command needs to only works ONCE. Right now, it swaps depths back and forth...one is the correct one, the second time is not. I need some kind of if command or something.
check it out guys, .fla posted below.
http://www.angelfire.com/games2/gamersglory/MX6.fla
http://www.angelfire.com/games2/gamersglory/POLICY.fla
this is in flash MX format. I have flash mx 2004 pro if needed to switch.
View Replies !
View Related
Why Doesn't This Work?
Hey guys, i'm working on a snakes and ladders board game and am struggling with the validation of data, can sum1 explain why this code is not working, it would be greatly appreciated, the frame (6) that the code links to is the error message, wheras the frame (4) is the next frame used in creating the game,. My intention is for the code to check a series of 10 numerical boxes, ensuring that no numbers are the same, and that all boxes are filled out:
on (release) {
if (F1 == F2) {
gotoAndStop(6);
b = 0;
for (i=1; i<=10; i++) {
b = "S"+i;
if (eval(a).value>0) {
b = b+1;
if (b == 10) {
gotoAndStop(4);
}
}
}
}
View Replies !
View Related
Anyone Know Why This Doesn't Work?
Hey,
I have this script on an EXIT button to take the user back to the screen they came from. This code worked in other parts of my site, but this one doesn't seem to want to work.
code: on (release) {
switch (ezview) {
case 2: // Tools_EZView_MainMenu
_root.Tools_EZView.gotoAndStop("EZVIEW-MAIN MENU");
break;
case 0: // Null
_root.gotoAndStop("MAIN SCREEN");
break;
}
}
Could it be that I don't have CASE 2 pointing to the correct place? It's a MC on the main timeline.
I also have the following on the frame this is coming from:
code: ezview = 2; // Tools_EZView_MainMenu
Thanks!!
Jeff
View Replies !
View Related
Should Work, But Doesn't...
Hey guys, this is very weird.
I have three movies, loaded in the following order:
main.swf (level 0)
curtain.swf (level 2)
home.swf (level 1)
Main is the main movie, like an empty stage with just all the things that always be there while thee use will be in the site.
The curtain.swf have a movie clip called (and instantiated) as mcCurtain. It's like a curtain that will be closed while home.swf is loading. When it is loaded, the curtain should open. To open it, I put in the very first frame of home.swf:
_level2._root.mcCurtain.gotoAndPlay("openit");
But Flash ignores the command.
I could stay making some mistake on my path, then I made the following test, in the same very first frame:
trace(_level2._root.mcCurtain._visible);
Then I received a "true" response, that is, the path is correct. But why it doesnt goes to the frame I want???
Thanks!
View Replies !
View Related
Why Doesn't This Work?
I've been staring at this for too long. Take a look at the file, I'm using MX2004 Pro. This is a portfolio website. When you click on the 'design' page, a sub navigation opens. If you click on any of the sub navigation buttons, everything works properly. But, if you go back to the main navigation buttons, you got trouble. If you're on the 'print page, and you click the 'about' page in the main navigation, the page displays properly. This is the only time it works right. If you're on the 'interaction', or 'motion' page and you click the 'about' page, it doesn't work properly (don't bother with the 'music' or contact' page, they're not done yet). I don't see a difference with the code I used for each page, so what's wrong? Any insight would be greatly appreciated. Thanks.
-tommy
View Replies !
View Related
Why Doesn't This Work?
Hi, thanks for taking the time,
I attached the .fla to make it easier for you to follow my bizarre train of thoughts...
If you roll over "mc" (see attached .fla) it should actually jump to its frame 2, which doesn't quite happen in practice. Any ideas? Thanks for you help!
View Replies !
View Related
Why Doesn't This Work?
I'm trying to move a MC with ActionScript. I can get it to work if I assign a variable to setInterval, and then use the variable name inside of the parenthesis for clearInterval. Does clearInterval have to work with a variable, or can I just refer to the name of a function?
Thanks!
Code:
onClipEvent (enterFrame) {
function move()
{
if (_x<400)
{
_x += 1;
}
else
{
clearInterval(move);
}
}
setInterval(move, 5);
}
View Replies !
View Related
|