Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Movie Working When Test, But Not When Opening The .swf



I had an error I couldn't get around in the old version of this gallery, so I'm starting over from scratch, testing it meticulously the entire time.

My current problem is that when I test the movie (ctrl+Enter) in Flash it works fine, but when I go and open up the .swf file, none of the images show up, but I don't get any errors and everything I use to track the progress of my code works fine.

Anyone have any idea why this might be?



ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 12-03-2007, 03:45 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Error Opening Url When Test Movie On Mac
Migrated over to mac. Getting an infuriating error -- error opening url -- whenever I hit test movie. The thing is for a little while I can test the movie no problem, then I go to lunch, come back, and suddenly the thing doesn't work.

Any ideas?

Error Opening URL On Test Movie Command
Mac OS10.3.8
Flash MX 2004 7.2 Professional
G5 dual 2 gig
2 gigs o ram

Everytime I test a movie now, I get the stupid error, I tried trashing Flash's prefs, but I still got the same dang thing. What gives?

(FlashCs3) Error Opening Url On Test Movie
After a year of working on the PC, just switched over to the Mac. The other thing that's different is that I recently upgraded to CS3.

Whenever I hit test movie I get a black screen and an error opening url message. Rebuilt the project thinking it had something to do with that. Worked for a while but now the same thing again: error opening url.

What's going on here?

Test Movie Not Working
I have put together a flash document 1 page , with submit button ,text areas , combo box etc.. Saved file as - to local folder for site,set all parameters,published file ,yet when I test movie nothing works ,cursor shows that all components are assigned an action yet get nothing.

Test Movie Not Working
hello
I am just doing a simple fading text, -->convert text into symbol, movie clip, change alpha.. This all works in the timeline, BUT does NOT work in "test movie" nor does it work when published. (Other actions do work)
Can anyone help me? Thank you in advance.

Test Movie Not Working
Some colleagues of mine often get a blank white screen when they go to "test movie". The computers are networked!! Ive never seen this happen before!

Any ideas?

Thanks

Button Actions Not Working When I Test Movie
Buttons:

I've created 3 of them, each with a goto&stop action directing them to their designated scenes and frames.

The buttons work in movie editing mode, but not in test movie mode. What's going on here? Any advice would be greatly appreciated, thanks.

-deckard

Movie Instances In Test Not Working With Buttons
hi, i have a problem with testing the movie... i have the main scene, "homepage" then a movie instance "square" then another movie instance within that movie instance, "artpage".... i have a link in "artpage" that is supposed to take the viewer back to "homepage"... when i test the movie, it goes back to the homepage background however the buttons do not show up... the buttons though are part of "square," the first movie instance... the only script i used on the button in "artpage" is

On (release)
gotoAndStop ("Homepage," "1")

is this right?? any suggestions?

Scroll Bar Working In Test Scene But Not In The Movie
My scroll bar works in test scene but not test movie, what do I need to type to get the actionscript to work. The scroll bar is not on the main timeline.

This is the code I'm using:

y = getProperty("_root.text.content", _y);
if (y<-2000) {
gotoAndPlay(4);
} else {
setProperty("_root.text.content", _y, y-6);
}


Thanks

Button Working As Test Movie But Not In Browser
We have created a flash web page that contains a button in the shape of a truck, when you roll over the button it plays a movie clip (an animated version of the truck) which we have as the over state in the button. This was working fine and the movie clip of the truck played correctly when we rolled over the hit state area of the truck.

Then we wanted to add a link to the truck button and now we are having problems! We right clicked on the truck button on the main stage and added the action for onpress, get url, etc. and when we tested the movie in flash it seemed to be working.

When we uploaded it to the server the over state effect on the button only works if you click the truck first, we cannot figure out why this would happen.

We built the page using flash mx but our player is flash player 8 - could this be the problem or is the action added in the wrong place?

any help would be greatly appreciated... thanks in advance.

Links Not Working In Browser But Do In Test Movie?
Hi,

For some reason none of the links in my site work with when I preview it in the browser (IE7). They work fine when I hit ctrl + enterand test the movie in Flash though.

My links are simple buttons composed of text and have the ususal ActionScript:

on (release) {
getURL("http://www.bbc.co.uk", "_blank");
}

What is going on? Oh, and I have made sure I have already 'clicked to activate' the movie.

Please help?

2 Of 4 Buttons Stop Working When Test Movie
I have a main menu consisting of 4 buttons. They work as expected when Enable Simple buttons is turned on. However, when I press Test Movie, the 1st and 4th buttons do not work. The mouse doesn't change states over them, it's as though they aren't there. I decided to recreate the buttons in a separate file and try again. All buttons worked as expected when test movie is called. Great. I then port all four buttons back into my project and the same thing as before happens. I don't believe it's the code, but here is the code I'm using for the buttons, in any case:
*******************
stop();

function onHomeClick(evt:MouseEvent):void {
gotoAndStop("home");
}
home_btn.addEventListener(MouseEvent.CLICK, onHomeClick);

function onAboutClick(evt:MouseEvent):void {
gotoAndPlay("about");
}
about_btn.addEventListener(MouseEvent.CLICK, onAboutClick);

function onWorkClick(evt:MouseEvent):void {
gotoAndPlay("work");
}
work_btn.addEventListener(MouseEvent.CLICK, onWorkClick);

function onContactClick(evt:MouseEvent):void {
gotoAndPlay("contact");
}
contact_btn.addEventListener(MouseEvent.CLICK, onContactClick);
************************************

Any help or productive thoughts would be appreciated.

Flash Working In Test Movie But Not When I Publish
I have a swf file that load dynamic images; the name and path of the images are take from a XML file;
When I test them with Test movie, or publish preview are not any problem, but if I publish the file, and try to play from outside flash it doesn't work;I tried with relative url(put all files on the same folder),direct url,on localhost,also on site and nothing works.

Test Movie Works Well, Html Previews Not Working
Sorry I fix that now .
Thanks
[Edited by rukpong on 08-23-2002 at 10:18 AM]

Alpha/Fades Working When I View In Flash, But Not If I Test Movie
Hi,

I have text that is supposed to fade out and other text fades in every few seconds. When I go through the timeline it seems to work fine...but when I go to test movie or play the file in my browser the text doesn't fade at all. I converted the text to graphics...any easy fix for what I'm doing wrong!?

Thanks

MyVars.onLoad = Function(success) Working In Test Movie?
I have a little problem that's bugging me with the onLoad check for success when running my movie through Test Movie.



Firstly here's the actionscript on my submit screen:


Code:

myProfile.onLoad = function(success){
if (success){
gotoAndPlay("end");
status_txt.text = "Submitted";
}else{
gotoAndPlay("end");
status_txt.text="Not Submitted";
}
};
stop();

submit_btn.onRelease = function(){
myProfile.sendAndLoad("submitprofile.asp", myProfile, "POST");
};



I set up a LoadVars called myProfile and I have it posting the variables stored throughout the application to an asp page that links to an access database using sendAndLoad.

I have the onLoad testing if myProfile has been successful and going to next scene and displaying a 'Submitted' in a text field and if not successful going to the same screen but displaying 'Not Submitted' in the text field.

So when I run my movie through test movie it displays 'Submitted' even though I know that the loading of the data into the database is unsuccessful... Or has it?

There's no data in the database so why is this function's status true rather than false?

It works perfectly ok on localhost and web server and displays not submitted if I purposefully put an error in the variables.

HELP!

Anyone know what the reason is for this? As I say, it works fine on web server when running on the index.htm and accessing the asp page to database.

Cheers

G

Url's Not Opening In "test Movie" Mode.
Howdy, I installed Netscape (sloppily) for testing purposes and it hijacked a lot of my file extensions. I have since removed it, but now the "test movie" mode isn't opening Url's (from a button, for example) in a default browser, or anywhere.

Anyone know where I should be looking to get that working again?

(Flash MX 2004 pro)

Flash 8: Change "Test Movie" Working Directory
I just posted this with Google Groups but it doesn't appear to be showing up on the adobe forums, I apologize for those that see this twice.

How do I change the working directory that flash uses when I do Test Movie (ctrl-enter)?

Directory Layout:

project/
..index.html
..source/
....some.fla
..images/
....some.png
..flash/
....some.swf

project/index.html embeds project/flash/some.swf. project/flash/ some.swf loads project/images/some.png. I want to be able to use Flash 8's Test Movie feature but when I do it looks for the image at project/flash/images/some.png which doesn't exist. How can I tell Flash to pretend it's running in project/ instead of project/flash/?





























Edited: 03/05/2007 at 10:58:35 AM by MicahM

Buttons Not Working In "Test Movie"
Hello everybody!
This is my first post...

My Problem: My buttons will not work when I try to test them by using ctrl-enter or Contol > Test Movie. However, they work ok when I turn on Enable Simple Buttons.

I am confused because I have made buttons that work before. I have seen this question before with no answers. I have heard that there could be several reasons for this, but I don't know what they are.

Maybe we could start compiling a list of possible reasons for this problem?

Thanks a lot for any help, this is a frustrating little bug for me.

(Authoring Mode-test Scene-test Movie )Different Results WHY?
(Authoring mode-test scene-test movie )Different results WHY?I will get mad working on a quiz for a month plz help: im working on quiz game -frame by frame- its 15 scenes each scene contain about 70 frames with 70 action script :go to and stop - go to and play - stop every thing is fine till scene No. 11 in the authoring mode when choose from control menue enable simple buttons - enable simple frame action : its working fine scripts executed fine but when going to test movie mode some scripts doesnt work WHY? what mistakes i have done? what should i do ? how can a void such a problem ? any suggestions PLZ??? Thanks in advanced

Buttons Work In Test Scene But Not In Test Movie...WHY?
Hi all,
I have buttons in a movieclip i've used
_root.
and the buttons work when i do test scene but when i try and test movie the buttons link back to the wrong screen. why is this? There is no apparent reason as the scripting seems fine.

[F8] "Test Movie" Not Working
I admit it, I am a novice newbie beginner... I only installed Flash 8 Professional yesterday and bought the book "How to do everything with Flash 8". The first example is to develop a "text" item and animate it to rotate, fade out and stop using Insert/Timeline Effects/Transform. The creation performs as expected when I select "Control/Play" and it also plays as expected when I press the "play button" in the thumbnail view (right hand side). But it fails to show the text, spin it, and fade out when I select "Control/Test Movie". It shows an initially blank field which remains blank during the movie and shows only the final frame. Similarly, when I locate the SWF file produced from this, clicking on it which summons the Flash player does the same thing. Clicking on other SWF files plays them as expected, so I am assuming I have a malformed swf file. Any suggestions? Somehow between "fla" and "swf" things are getting messed up and I know nothing about what the conversion process involves.
THANKS FOR ANY HELP!!
Clevercrow
I'll attach the "fla" and "swf" (had to put swf in zip!) files.

How Do You Test Preloader In Test Movie?
hey... another question...

how do i test my preloader in the Test Movie?

when i use Test Movie the file is already 100% loaded so i dont know if my preloader is workin or not. is posting it in the web the only way to test if the preloader is working? thanx in advance. peace and prayer

alex

Test Scene Vs. Test Movie
Whenever I have done work in flash, these two commands have always worked the same. However, this one time, I test scene and the thing works exactly as I would like it to. When I test movie, one of my movie clips doesn't show. I can not find any problems in the code, and the layers all seem right, does anyone know of a difference between these so that I can look for a different problem? I have been racking my brain and the brains of others for about a week now on this. Thank you for any help.

Steve

Test Scene Vs. Test Movie
I have Scene 1 as a loader, and Scene 2 as my movie...

when I "test scene" for Scene 2 the quality looks great!

but when I "test movie", my Scene 2 movie looks like crap!

Anyone know why!? I went to "publish settings" and put all my settings at highest quality possible. jpg's are at 100, and flash settings are all at 100 and best quality.

They are imported jpg's by the way. And look great until I export or even preview as a flash movie. (????)

Thanks.

Test Scene Different Than Test Movie
I am doing a picture page in flash and for some reason it works when I do test scene, but it doesn't work when I do test movie. Does anybody know why this is happening.

Hit Test Not Working
I'm trying to check if the mouse cursor hits a mc named "leader", and I'm using the following code:


code:
_root.onEnterFrame = function() {
if (_root.leader.hitTest(_root._xmouse, _root._ymouse, true)) {
menuOn = true;
trace("hit");
}
else {
menuOn = false;
trace("no hit");
}
}


It seems correct to me, but I'm getting no traces, so somethings not catching. Any clues, anyone?

TIA,
aaroneousmonk

[F8] Hit Test Not Working-sometimes
I am developing a cell division movie in Flash 8.
I have included a hit test of mcarr[i] with cell[i]
in the cell movieclip action script.
This hit test is not working sometimes.
Can anybody please help me in solving this problem?
I am attaching the FLA for your scrutiny.

Hit Test Not Working
hey guys,

I have a swf that i want to stop and play when the user rolls over it with the mouse. here is the code attached to a movieclip.

onClipEvent(enterFrame){
if(!_root.invis.hitTest(_xmouse, _ymouse)){

trace("notOver");

} else{
trace("over");
_root.gotoAndPlay(94);
_root.video.trialer.volume =100;
_root.intro_txt.gotoAndStop("blank");
_root.bill.gotoAndPlay(2);
_root.vidFrame.gotoAndPlay(2);
_root.vidBlack.gotoAndPlay(2);
_root.replaybtn.gotoAndPlay(2);

}

}


my problem is that when i just test the swf it doesn't work on a mac. But it does work on a pc.

Does anyone know Why and how i could fix it?

thanks

Remove Mc After Hit Test - Not Working
THIS QUESTION IS NOT BIG, I THINK, IT IS JUST DESCRIBED BIG. I HAVE A FEELING THAT THE PROBLEM IS SMALL, WHICH I COULD NOT PINPOINT. GRATEFUL FOR HELP.

SITUATION : Two mc's. One falling from top, another moving right and left on x axis to catch the falling mc

PROBLEM : falling mc does not disapper after hitting catching mc, though hittest() was checked and removemovieclip() is placed

falling mc is duplicated into four mc's and those four are falling from top. out of these four, some are not performing hittest(), they are just passing through the catching mc.

here is the entire code of fla

---------START
Scene 1
actions for frame 1
numGold = 4;
for (i=2; i<=numGold; i++) {
gold.duplicateMovieClip("gold"+i, i+1);
}
actions for frame 2
stop ();
pad, (net)
actions for pad
onClipEvent (load) {
movespeed = 30;
}
onClipEvent (enterFrame) {
if ((Key.isDown(Key.RIGHT))) {
this._x += movespeed;
if (this._x>500) {
this._x = 500;
}
} else if ((Key.isDown(Key.LEFT))) {
this._x -= movespeed;
if (this._x<10) {
this._x = 10;
}
}
}
actionmc, (actionmc)
actions for actionmc
onClipEvent (load) {
if (_root["gold"+i]._y>400) {
this.removeMovieClip();
}
}
pad, (net)
actions for pad
onClipEvent (load) {
movespeed = 30;
}
onClipEvent (enterFrame) {
if ((Key.isDown(Key.RIGHT))) {
this._x += movespeed;
if (this._x>500) {
this._x = 500;
}
} else if ((Key.isDown(Key.LEFT))) {
this._x -= movespeed;
if (this._x<10) {
this._x = 10;
}
}
}
(empty), (score)
ball, (gold)
actions for ball
onClipEvent (load) {
function reset () {
this._y = 1;
this._x = random(300)+100;
goldSpeed = random(5)+10;
}
reset();
}
onClipEvent (enterFrame) {
this._y += goldSpeed;
if (this._y>400) {
reset();
}
for (i=1; i<=_root.numGold; i++) {
if (this.hitTest(_root.net)) {
_root.score += 100;
_root["gold"+i].gotoAndPlay(2);
}
}
}
ball, (gold)
actions for ball
onClipEvent (load) {
function reset () {
this._y = 1;
this._x = random(300)+100;
goldSpeed = random(50)+1;
}
reset();
}
onClipEvent (enterFrame) {
this._y += goldSpeed;
if (this._y>400) {
reset();
}
}
Symbol Definition(s)
pad
actionmc
ball
actions for frame 1
stop ();
actions for frame 2
stop ();
HIT, (Times New Roman, 72 pts)

---------END

Hit-test Area Not Working
hi-

i have a slight problem well actually its a biggy

i have followed a isometric flash tutorial and im having problems with collision detection heres the code for the collision area MC:




Quote:




onClipEvent (load)
{
this._visible = false;
}

onClipEvent (enterFrame)
{
if (hitTest(_root.engine.base._x, _root.engine.base._y, true))
{
_root.engine.hit = 1;
}
else
{
_root.engine.hit = 0;
}
}







and this for one of the player sprites:


Quote:





onClipEvent (load)
{
this._visible = false;
}

onClipEvent (enterFrame)
{
if (Key.isDown(40))
{
_root.engine.travac = 0;
}
if (_root.engine.stopd == 0 && _root.engine.travac == 0 && _root.engine.travad == 0 && _root.engine.travae == 0)
{
stop();
if (Key.isDown(40))
{
this._visible = true;
_root.engine.top._visible = false;
_root.engine.right._visible = false;
_root.engine.left._visible = false;
if (_root.engine.hit == 1)
{
gotoAndStop(1);
_root.engine.stopd = 1;
_root.engine.base._y = _root.engine.base._y - 2;
_root.engine.base._x = _root.engine.base._x - 4;
_root.engine.top._y = _root.engine.top._y - 2;
_root.engine.top._x = _root.engine.top._x - 4;
_root.engine.right._y = _root.engine.right._y - 2;
_root.engine.right._x = _root.engine.right._x - 4;
_root.engine.left._y = _root.engine.left._y - 2;
_root.engine.left._x = _root.engine.left._x - 4;
this._y = _y - 2;
this._x = _x - 4;
}
else
{
play();
this._y = _y + 2;
this._x = _x + 4;
_root.engine.base._y = _root.engine.base._y + 2;
_root.engine.base._x = _root.engine.base._x + 4;
_root.engine.top._y = _root.engine.top._y + 2;
_root.engine.top._x = _root.engine.top._x + 4;
_root.engine.right._y = _root.engine.right._y + 2;
_root.engine.right._x = _root.engine.right._x + 4;
_root.engine.left._y = _root.engine.left._y + 2;
_root.engine.left._x = _root.engine.left._x + 4;
}
}
}
}






it all was working until i needed to place the entire engine in a movieClip

thanks in advance,

dom

Hit Test Not Working Immediatly
I have a hit test checking to see if two fishes collide and the hit test doesn't do anything until 5 fishes have been hit, and then it reacts to the hit test 5 times. here is the file and by the way you have to eat 5 fish before it starts glitching.
Heres the file.

For() Loop Hit Test Not Working... :-(
THE FILES:
http://www.rwocreative.com/flaTests/..._portfolio.swf
http://www.rwocreative.com/flaTests/..._portfolio.fla

THE PROBLEM:
Here's the code I'm using in the attached file. This code resides in the instance of the movieClip that I'm trying to drag (in the instance of pic, layer '[as]: click n' drag'). What the movie should be doing is:

1. click and drag any instance of the movieClip on the stage
2. if you drag the movieClip over another stationary movieClip, its target x/y coordinates will take on the values of that stationary movieClip's _x and _y coordinates.
3. on release, the movieClip will move itself to it's target x/y coordinates. If it's released over another movieClip, it will snap to that movieClip's x/y position, else it will return to it's original location.

What it's really doing is just step 1.; the only coordinates that are copied over to any movieClip (other than clip #4) are the coordinates to clip #4. Just try dragging any of the first 3 boxes over the last one to see this.

I think I've narrowed down where the problem is. If you look towards the bottom of the for() loop, there's two lines of code that I've cordoned off with '// ******' markers. If I comment those two lines out (which are supposed to reset the targx/targy values if no hit occurs) then the code works as far as being able to copy coordinates, BUT then the selected movieClip can't go back to it's original position if it's not hitting anything.

Any help you can render is greatly appreciated, since I'm sure the answer is staring me right in the face.

THE CODE

PHP Code:



var _r = this;

var dragRate = 2;
var targx = this._x;
var targy = this._y;
var oldx = targx;
var oldy = targy;

var num = this._name.substr(1, this._name.length);
var dragStatus = false;

var frameColor0 = 0x333333;
var frameColor1 = 0xFF0000;

this.onEnterFrame = function() {
    n.text = num;
    xval.text = targx;
    yval.text = targy;
    
    if(dragStatus == false) {
        this._x += (targx - this._x)/dragRate;
        this._y += (targy - this._y)/dragRate;
    } else if(dragStatus == true) {
        // perform hit test
        for(var q = 0; q < _parent.maxP; q++) {
            
            var tgt = _parent['p'+q];
            tgt.qVal = q;
            //if(q != num && this.hitTest(tgt) == true) {
            if(tgt.qVal != num && this.hitTest(tgt) == true) {
                //trace(tgt.qVal+', '+tgt._name);
                tgt.frame.setRGB(frameColor1);
                targx = tgt._x;
                targy = tgt._y;
                // Places selected mc on top of others on-stage
                if(this.getDepth() < tgt.getDepth()) {
                    this.swapDepths(tgt);
                }
            } else {
                tgt.frame.setRGB(frameColor0);
                //**********************************************
                targx = oldx;
                targy = oldy;
                //**********************************************
            }
        }
    }
    updateAfterEvent();
};

this.onPress = function() {
    this.startDrag(false);
    dragStatus = true;
};

this.onRelease = function() {
    _r.stopDrag();
    _r.dragStatus = false;
    for(var q = 0; q < _parent.maxP; q++) {
        _parent['p'+q].frame.setRGB(frameColor0);
    }
}; 

Hit Test Code Not Working
onClipEvent(enterFrame) {
if(_root.barrierdown.hitTest(this)) {
this._y -= moveSpeed;
}
}

what is wrong with this code. im trying to make it so when i hit a barrier, i dont go through it. it is the floor of my game, and i have tried everything i can think of, also, thi is my 1st post here, although i read the forums often. thx for any help ^_^ oops...missed part of it

Drag And Drop Hit Test Is Not Working
I want to drag one movie clip over another movie clip.
When the MC1 is over MC2 I want MC2 to open a URL.

I've tried various ways but basically all I want is a Windows effect of dragging and dropping and then open a web page in a new browser.

Dynamic Test Not Working In Mask
hi, I have some a dynamic text field inside a mask and i've linked it to a .txt file. for some reason it's not showing up, anyone know why? It works when I dont put it inside a mask

Code Working In Test, But Not In Explorer?
This code works fine when testing using CTRL-ENTER but when i try it in internet explorer the box won't move when a button is pushed, why?


onClipEvent (enterFrame) {
speed = 5;
}
onClipEvent (data) {
if (Key.isDown(Key.LEFT)) {
if (_root.left==1) {
_x -= speed;
}
}
if (Key.isDown(Key.RIGHT)) {
if (_root.right==1) {
_x += speed;
}
}
if (Key.isDown(Key.DOWN)) {
if (_root.down==1) {
_y += speed;
}
}
if (Key.isDown(Key.UP)) {
if (_root.up==1) {
_y -= speed;
}
}
}

-hashmus-

Preloader Not Working When Opening Swf From Swf
My Preloader is not working in Explorer when loading the swf from another swf.

First let me explain how we are loading the site and why.
There may be an easier wasy to get this to work but this is the best way I have figured out how to do get it to do everything I need it to do.

We need to direct a user to a particular page in a particaular month of a flash magazine.
Each Flash magazine is an swf file such as aug07.swf in its own directory.

What I am doing is that I have supplied the user with something like http://www.lovelymagazine.com/pv.htm...ar=07&MPage=24

The html 'pv.html' does the work of pulling the variables from the link and sends them to an swf file.
In that swf file I create the link that sends the user to the proper swf in the proper directory and then sends on to the swf the page that I need to send the user to.

This is what I am using to do create the link.
_global.MAddress = "http://www.lovelymagazine.com/20"+_global.MYear+"/"+_global.MMonth+_global.MYear+".swf?MPage="+_glob al.MPage;

Then to open the movie I use openWinCentre that follows

_root.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}

My preloader that I have created for the final destination address seems to work fine in everything but Explorer.
I am guessing that some how the info for getBytesLoaded and getBytesTotal must not be being passed across correctly when doing the openWinCentre

I have tested this by using explorer to open the swf directly and creating an html to load the swf.
When loading via the html no problems - using the swf directly - blank page and a bit of grunting until the swf fully loads.
Any thoughts on how I can get this to work?

I also have an ancillary issue that popup blockers do not like my method and love to slow people up from enjoying the site.

Thanks
Mark Cordeiro

Hit Test _root.variable Not Working In _level1
im having problems with a movie ourteam.swf after i load it into main.swf on _level2.

i have some circles that you can drag and drop into a box.
when the circles hit the box they snap to the middle and change a _root.variable and a _root.textbox. (both in the _level2 movie)

but whenever i load this movie into a different level the hit test stops working.

any suggestions

My Text Layer Mask Is Not Working When I Test It
My text layer mask does not appear when I test the movie. The mask works move the key along the timeline, but when I test the movie nothing shows up. I'm doing exactly the same thing I do when I mask images. I actually imported an image to the text layer and the mask worked correctly. What am I doing wrong?

Movie Works Properly In Test Mode, But Only In Test Mode.
I have a button that has a gotoAndStop action, sending user to specific label in the timeline. This button works fine when I test the movie.  But when I open the file directly from the swf - well, it's strange. It appears to go to that frame, but the contents of the frame is missing. What might be the problem? Again, it all works fine when I test it (Ctrl+Enter.)

thanks.

Sound Effect Working Fine In Stanalone Movie Not Working As Part Of Loaded Movie
I have loaded in a movie via a loadMovie method of a movie clip.

In the loaded movie there is a sound effect generated in script via a sound object that works great when played in a standalone version of the loaded movie, but when I load it into the main movie the sound effect will not play.

Anyone any ideas?

"Test Scene" Acting Differnet Than "Test Movie"
I am trying to build a cartoon. I am going through allot of pain staking measures to sync up stuff. It is behaving (mouths and sounds) different in Test Scene, than Test Movie. I am using 20 fps. Is that a good idea?

I am issing something major? This is making me nutz.

Any ideas?

Thanks,

: grey :

Play Movie And Test Movie Show Different Things
I am still learning/mucking around with Flash Mx 6.0 and want to make some text fade in, so i typed int he text and converted it to a symbol, then created 2 keyframes for it 20 frames apart, made one keyframe have a alpha colour of 0 and the other a alpha colour of 100. then created a motion tween between the 2.

when i click play it shows the text fading in, when i export and test the movie it just shows the text doing nothing.

any help would be greatly appreciated, thks

Cutley

p.s i have attached the fla of the project

Flash Mx Quits When I Test Movie Or Debug Movie?
Is this due to my high use of bitmaps in my animation, or is it more likely a problem with the program?

If it's a prob with the prog i was thinking of getting flash 5 instead? Is it any good?

Can't Export To Movie / Test Movie Since Yesterday... Even Reinstalled
Hello,

I was working on a project for a few days... It all worked fine, I was able to export to flash movie, test the movie etc..

But since yesterday, I can't export to mive anymore... it asks me the file name and then the settings window appears, as usual. When I click OK, the progress bar appears and either it freezes, or I get a Windows error message pops up saying Adobe Flash stopped responding...

I even reinstalled Flash, didnt work.. I then deleted some layers , just to check if it would work, but now I got the message "flash is out of memory"... and it froze again... (i never got that memory message again)..

I'm using Flash CS3, Vista 64bit, 4GB Ram ...

Please Help





























Edited: 01/26/2009 at 07:29:08 AM by ardan15

Flash MX04 'Test Movie', And Browsers Don't Like My Movie
I've looked around on the Forum for something similar to this, but I didn't find anything, so here goes...

I am developing a game that (like most games do) includes simple hittest. The AS is fine, no errors, nothing. However, the problem arises when I do a 'Test Movie in Flash MX 2004. I've narrowed it down to the hittest stuff, but there is a chance it could be something else... When I test the movie within FMX04 the hittest command doesn't work, at all. Now, at this point you'd think there was something wrong with the code, but when export the movie and view it on my machine in Flash Player 6, it works perfectly. Anyone else ever had this problem? I have also found that it doesn't work in browsers either, (I've tried it on IE and FF).

The movie is here: http://www.343gs.the-junkyard.net/hfe/hfe.html if you want to see what I am talking about. If you goto 'Campaign' and then 'Begin Game', the white test box that appears SHOULD (And does in FP6) take damage from the red projectiles (They are only red for now to show that they actually exist, and that they are random).

Anyone got any advice on how to solve this? While you are taking a look at the movie, try some of the different weapons by selecting them from the 'Weapon Selection' Menu The game, as you can probably tell, is based on Halo and I have been working on it for some time. If anyone has a solution to this very annoying problem, I would be grateful.

Flash MX04 'Test Movie', And Browsers Don't Like My Movie
I've looked around on the Forum for something similar to this, but I didn't find anything, so here goes...

I am developing a game that (like most games do) includes simple hittest. The AS is fine, no errors, nothing. However, the problem arises when I do a 'Test Movie in Flash MX 2004. I've narrowed it down to the hittest stuff, but there is a chance it could be something else... When I test the movie within FMX04 the hittest command doesn't work, at all. Now, at this point you'd think there was something wrong with the code, but when export the movie and view it on my machine in Flash Player 6, it works perfectly. Anyone else ever had this problem? I have also found that it doesn't work in browsers either, (I've tried it on IE and FF).

The movie is here: http://www.343gs.the-junkyard.net/hfe/hfe.html if you want to see what I am talking about. If you goto 'Campaign' and then 'Begin Game', the white test box that appears SHOULD (And does in FP6) take damage from the red projectiles (They are only red for now to show that they actually exist, and that they are random).

Anyone got any advice on how to solve this? While you are taking a look at the movie, try some of the different weapons by selecting them from the 'Weapon Selection' Menu The game, as you can probably tell, is based on Halo and I have been working on it for some time. If anyone has a solution to this very annoying problem, I would be grateful.

Opening Flash Movie In Html Window Exact Dimensions Of Movie?
Is there an extension or particular method to get this to happen perfectly.

I have been opening browser windows and setting the dimensions manually in behaviours to the same as the movie dimensions, but its never right. Its often bigger.

there must be a way to do this so that its the same as the flash movie size pretty much cross-browser - its ok...i hold no hope for Netscape

Thanks in advance,

Cesca

PS) Also, what happpens or whats the disadvantage of having a link open up the .swf (as opposed to it embedded in an html file)......sorry if the answer is clear and obvious...its just that on my local network it works so nicely

Copyright © 2005-08 www.BigResource.com, All rights reserved