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




The Old, Old Will "test Movie" Won't "publish Preview"



Why wont the Kirupa tutorial "Applying external CSS on dynamic text" (followed to the letter & freshly cut and pasted) "publish preview" correctly in HTML when it "tests movie" nicely? txt file in same folder as fla & swf naturally.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 08-22-2007, 12:46 AM


View Complete Forum Thread with Replies

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

Works On Test Movie, Does Not On Publish Preview
An audio player reading an audio stream (http://212.72.165.26:9386).
Control -> test movie: works fine.
Publish Preview -> HTML: no chance. Buttons work, but stream does not.
Publish and upload to website: same, buttons work, stream does not.
Any idea what I forgot?
Code attached.







Attach Code

// PREPARE THE PLAYER
txtsmall.backgroundColor = "000000";
datascreen.backgroundColor = "000000";
imgsrcmc.backgroundColor = "000000";
// LOAD THE TEST SOUND (ASTURIAS) AS A STREAM
var my_sound:Sound = new Sound();
my_sound.loadSound("http://www.tinmandownloads.com/Artists/JRCH0001/asturias.mp3", true);
my_sound.onLoad = function(success:Boolean) {
var totalSeconds:Number = this.duration/1000;
var minutes:Number = Math.floor(totalSeconds/60);
var seconds = Math.floor(totalSeconds)%60;
if (seconds<10) {
seconds = "0"+seconds;
}
// DISPLAY TOTAL DURATION.
if totalSeconds > 0
txtsmall.text = minutes+":"+seconds;
};

actbtnplay.onRelease = function() {
txtsmall.text = "PLAY";
//my_sound.loadSound("http://212.72.165.26:9386", true);
//my_sound.loadSound("http://www.skytargets.com/asturias.mp3", true);
my_sound.start();
}
actbtnstop.onRelease = function() {
txtsmall.text = "STOP";
my_sound.stop();
}
my_sound.onID3 = function():Void
{
datascreen.text = "Artist: " + my_sound.id3.artist + "
";
datascreen.text += "Title: " + my_sound.id3.TIT2 + "
";
datascreen.text += "Album: " + my_sound.id3.TALB + "
";
datascreen.text += "Track: " + my_sound.id3.TRCK + "
";
datascreen.text += "Length: " + my_sound.id3.TLEN + "
";
datascreen.text += "Link: " + my_sound.id3.WXXX + "
";
var my_url = "http://www.tinmandownloads.com/mypage.php?A=" + my_sound.id3.WXXX;
//getURL(my_url,"_blank");
trace ("URL: " + my_url);
//getURL(my_url, imgsrcmc);
//for( var prop in my_sound.id3 ){
// trace( prop + " : "+ my_sound.id3[prop] );
// }
};
seltestbut.onRelease = function() {
datascreen.text = "Waiting Data...";
my_sound.loadSound("http://www.tinmandownloads.com/Artists/JRCH0001/asturias.mp3", true);
txtsmall.text = "Test";
my_sound.start();
}
selnetbut.onRelease = function() {
datascreen.text = "Waiting Data...";
my_sound.loadSound("http://212.72.165.26:9386", true);
txtsmall.text = "TinMan Net Radio";
my_sound.start();
}
volume_mc.top = volume_mc._y;
volume_mc.bottom = volume_mc._y;
volume_mc.left = volume_mc._x;
volume_mc.right = volume_mc._x + 80;
volume_mc._x += 80;
volume_mc.handle_btn.onPress = function() {
startDrag(this._parent, false, this._parent.left, this._parent.top, this._parent.right, this._parent.bottom);
};
volume_mc.handle_btn.onRelease = function() {
stopDrag();
var level:Number = Math.ceil(this._parent._x - this._parent.left);
acttextsmall.text = level * 100 / 80;
my_sound.setVolume(level);
};
volume_mc.handle_btn.onReleaseOutside = slider_mc.handle_btn.onRelease;

Publish Preview/Test Movie Settings Not The Same As Play
The preview generated by the "play" option in my movie is the one i'd like to happen, but the publish preview and Test movie, both showing the same movie, differ from the "play" preview that i want.

It's just simple tweening with fading.

Publish Preview As Flash VS Publish Preview As Html
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php.
This is working fine when I preview the movie as Flash. The php script prints the variables as intended.

But when I preview it as html the arrays are all empty...
Can anyone tell me why?


ActionScript Code:
on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array(); if(main.attr1.text.isEmpty()) {  gotoAndStop(8); } else { for(i=1; i<=number_of_attr1; i++) {  attr = main["attr"+i]  suggestion = attr.text;  if(!suggestion.isEmpty()) {   suggestions1.push(suggestion);  } } var submit1 = new LoadVars();   submit1.sugg1 = suggestions1; submit1.send("<a href="http://mylink.php" target="_blank">http://mylink.php","_self","POST</a>");  }//end else}

Publish Preview As Flash VS Publish Preview As Html
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php.
This is working fine when I preview the movie as Flash. The php script prints the variables as intended.

But when I preview it as html the arrays are all empty...
Can anyone tell me why?


ActionScript Code:
on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array(); if(main.attr1.text.isEmpty()) {  gotoAndStop(8); } else { for(i=1; i<=number_of_attr1; i++) {  attr = main["attr"+i]  suggestion = attr.text;  if(!suggestion.isEmpty()) {   suggestions1.push(suggestion);  } } var submit1 = new LoadVars();   submit1.sugg1 = suggestions1; submit1.send("<a href="http://mylink.php" target="_blank">http://mylink.php","_self","POST</a>");  }//end else}

Movie Works In Publish Preview, But Not After Published?
Hopefully, this question will make sense to some of the more experienced Flash developers out there...

I have created a small game in flash, and it works great when I do a Test Movie, and when I run Publish Preview. However, after I export or publish the movie and I run the exported file... nothing happens!

The file, when ran, opens to a solid white screen. I've placed visible text and images on every frame of my movie, however the video is still completly white.

As I'm a little new, I'm not even really sure where to start looking for what the problem could be... anyone have some ideas?

Thanks a lot!

-BahamutZaero

Movie Works In Flash Preview, But Not HTML Publish
Hello Guru's. (Wish I could say, "Fellow Guru's" )
..heh So I have hashed together a button I saw on another site, and am pretty close to the end result. Basically, it's an animated button, and on mouseout, I want to reverse the animation. This works fine previewing in flash with CRTL-ENTER, but if I preview in HTML " F12 " The clip plays once on mouseOver, but does not reverse itself as it did in the preview.

.FLA file here; http://www.tyfactor.com/no_reverse.fla

This is my script I'm trying to use;

ActionScript Code:
onClipEvent (enterFrame) {
 // if the mouse IS over the clip ...
 if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
  // if the last frame of the tween hasn't been reached...
//  if (this._currentframe<this._totalframes) {
  if (this._currentframe < this._totalframes){
   // keep playing the next frame to the last and stop...
   this.nextFrame();
  }
  // if the mouse is NOT over the clip
 } else {
  // if we're past the first frame of the tween...
  if (this._currentframe>1) {
   // play the previous frame until it reaches frame 1 and stop...
   this.prevFrame();
  }
 }
}
on (release) {

    //Goto Webpage Behavior
    getURL("http://www.tyfactor.com","_self");
    //End Behavior

}
}


Many thanks for any help you all may be able to provide.

Page Positioning On Testing Movie And Publish Preview?
I'm new to website design and Flash in particular so please bear with me....

I've designed my website which I am pleased with...I've done all the animations that I wanted....everything looks and works fine when I 'Control>Test Movie'... However,

....when I 'Publish Preview' my page moves to the left, leaving a space on the right hand side. I expected the page to remain central as I see it in Test Movie. Could someone tell me why it changes position and how I can keep it central?

Many thanks.....

Code Works In "test" And "publish Preview" Modes, Not When Published
I have this code on one button #1:

on (release) {_root.logo.gotoAndStop(102);
this.contents.loadMovie("GoddessVideo.swf");
}


This code is on button #2

on (release) {_root.logo.gotoAndStop(103);
this.contents.loadMovie("HnOresize.swf");
}


Button #1 works all the time. Button #2 works perfect in the "test" and "Publish Preview" modes but does not work when the file is published. When published, the button DOES do this action

{_root.logo.gotoAndStop(103)

but it does not do this action

this.contents.loadMovie("HnOresize.swf");

Any thoughts on why it's not working?

Thanks!

Works In Timeline Preview But Not In Test Movie
Hello,

I'm new to flash and am using the trialware for flash 7. I can't say I'm impressed enough to buy this yet. I have 12 days left of my 30 day trial and can't get a simple text fade to work. I got a motion tween working. Then after the text moves where I want it, I want the text to fade out. I converted the text to a symbol, set the alpha value to 100% in the first keyframe, then set the alpha value to 0% in the ending keyframe, and created a motion tween.  In the timeline area when I rewind and play - the text fade looks excellent.  However, when I choose the option to test the movie, the text doesn't fade at all! It just suddenly disappears. Can anyone tell me why this is happening?

Thanks,

LeAnn

Masks Work In Preview, Not In Test Movie Mode
Does anyone know a reason why a mask would work when i run the timeline (by hitting the enter button) but if i "test movie" the mask does not work?

is there a switch or something? i can't figure this out...

Publish Preview..it Works. Publish, It Doesn't
The functionality of my movie works fine in "Test Movie" and all "Publish Preview" modes, yet when I publish the movie and load it to my server, it doesn't.

Here's whats going on, I've got three buttons, each with very similar code.

Button one code -
on (release) {
_root.contents.loadMovie("Disturbed.swf");
}

Button two code -
on (release) {
_root.contents.loadMovie("FilterResize.swf");
}

Button three code -
on (release) {
_root.contents.loadMovie("HnOResize.swf");
}


I've got empty MC's on the stage for each corresponding SWF. All three buttons work as desired in the test movie and all publish preview modes, however, when I publish the movie and load it to my server, button three does not work. I've tried it with the empty MC's sitting on their own layer, or all on the same layer I've also tried it with the buttons on the same layer, or on their own layer.

Why would it work fine in the publish preview modes, but not when actually loaded to the server?

More important, how do I fix this?

Thanks

Can't Test/publish My Movie
I don't know if any of you have ever run into a glitch like this before, but Flash won't publish a movie I'm working on. It PRETENDS to publish (window pops up, publishing..., bar fills up), but it just cans out half way through. Doesn't crash, doesn't give me an error, just stops.

The FLA is about 3.5Mb, the (potential) SWF is about 350Kb. Needless to say this is an average size file, so that's not it.

There are some very actionscript-heavy chunks in it (i.e. one movieclip with 100 lines of actionscript on frame 1 PLUS two movie clips on frame 1, each of which have 300 lines of actionscript on their frame 1s)

I've increased my page size, virtual memory, everything I can think of.

PLEASE any ideas? Any patches? Any tricks?

If so, Thanks.
-k.

Sound OK In Test Movie... Short After Publish?
Hi:

I have a 32 second "ad" that I'm doing for a client. I've added a sound file (30 seconds, with a 2-second delay before it starts). When I Test Movie it's fine and in synch. However, when I Publish, the sound ends up being 2 seconds short (entire sound plays - seems like it's going slightly faster). I'm stumped.

Until MX2004 Pro gets here tomorrow, I'm on Flash MX.

Thanks,

Rich

Corrupt FLA, Unable To Test Or Publish Movie
I have an fla I have been working with and when I go to test the movie inside flash it fails. Here is what I do, I go up to Controls and click test movie, a small window pops up saying "exporting flash movie", the progress bar gets about half way and then window disappears. The same thing happens when I try to publish it.

I can save the FLA, with out any problems.

I have tried renaming the fla, but when I try to test the movie or publish it , it does the same thing. Has anyone run across this?

Button Problems When Trying To Test/publish A Movie
Hi,

I am working on my first flash project for university and have managed to create the buttons.

The script I am using is:

on (release) {
gotoAndPlay("main page", 1);
}


for each button and all appears to be fine when I am still working on the movie.

However when I test the movie the buttons do not work

does anyone have any ideas - I would be most grateful!


(Sorry I should have added the buttons are to link the scenes together)





























Edited: 05/21/2007 at 02:22:13 PM by Annie79

AS Particles Work When I Test Movie, Not When I Publish
I'm trying to make a simple flash animation that uses particles to create a rain effect using a technique I found at learnFlash.com and it works great when I test the movie in flash, but it doesn't show up when I publish the movie and look at the swf. I'd appreciate any input anyone might have, any suggestions???









Attach Code

this.createEmptyMovieClip("holder_mc1",this.getNextHighestDepth());


for(i=0;i<100;i++) {
var t:MovieClip = holder_mc1.attachMovie("rain","rain"+i, holder_mc1.getNextHighestDepth());
t._y = Math.random()*60 - 30;
t._x = Math.random()*800;
t._xscale = t._yscale = Math.random()*40 + 60;
t.gotoAndPlay(Math.ceil(Math.random()*6));
}

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.

Send Data Via PHP: Works When I Test Movie, Not When I Publish
This may have been covered already, if so my apologies -- I'm not sure what to search on.

I have a FLA file designed to create a text file and send the values of some variables to that file via a PHP file. It works great when I do a Test Movie (CTRL+Enter) but when I publish the movie and try it from a browser, nothing happens.

Actually, the first time I tried it in IE I got that familiar "Adobe player has stopped a potentially unsafe operation" dialog that provides a link go change my Flash Player Global Security settings -- but my settings are already set to "Always Allow."

Also, if it makes a difference, I have set Publish Settings/Flash tab/Local playback security: to "Access network only."

I'm a complete newbie to this PHP stuff and to security etc., and I assume this has to do with security?

I installed WAMPSERVER 2.0 and have it running. Here's the meat and potatoes of my FLA file, which gets the values for the variables via input fields:


PHP Code:



var fileFormat:String = ".txt";var req:URLRequest = new URLRequest("http://localhost/sephiroth/save2.php");req.method = URLRequestMethod.POST;var postVars:URLVariables = new URLVariables();var loader:URLLoader = new URLLoader();loader.dataFormat = URLLoaderDataFormat.VARIABLES;postVars.fName = "_" + firstNameField.text + " " + lastNameField.text;postVars.fFormat = fileFormat;postVars.fText = lastNameField.text + " "         + firstNameField.text + " score = "         + Number(scoreField.text) + ": "         + passFail;req.data = postVars;loader.addEventListener(Event.COMPLETE, done);loader.load(req);function done(event:Event):void {     //some code here...} 




That's an abbreviated code block, BTW -- if it looks like something's missing, that's because I left some stuff out for all y'all's sake.

Here's save2.php:


PHP Code:



<?php   $fileName = $_POST['fName'].$_POST['fFormat'];   $fileText = $_POST['fText'];    $file = fopen($fileName, "a+");   fwrite($file, $fileText);    fclose($file);?>




Again, everything works exactly as I want it to when I do a CTRL+Enter but not when published in a browser.

Would appreciate any help -- I assume this is probably a no-brainer for lots of folks out there.

Publish Preview, Publish Settings...
Greetings.
I have a bar that runs the top of my movie. I noticed that in publish preview the bar is cut in half from the top whilst in test movie I have the whole bar. Is there a way to better match up my movie between the two. In Dreamweaver I can set all boarders to 0 but I would like an accurate view of my movie in Flash publish preview.
All in all I want my Flash document to fit inside a standard browser.
Any ideas?
Thanks.

Publish Preview
Hello,
i have finally completed my first flash web page, but i am having some problems with the publish preview aspect.
The html index page it created has the main enter button missing,plus i still dont know how to upload it on to a server/web host ? can any one give me some advise or explain.

Publish & Preview
I have a game that I have been testing with Publish Preview. I just did a normal publish on it and the file behaves very differently from the preview. When I play the the publish preview version, everything works fine, but when I play the .swf file, the code stops running or something, the movie clips are still animated but everything is standing still. Why does this happen? Is there anything I can do to fix it or do I have to completely change my implementation.

Publish Preview
With Flash MX 2004:

Using File->Publish Preview->Default

I can see the "publish" progress bar flash quickly and completes, but the movie does NOT open up IE and play.

If IE is already open to a random page, then a new IE window opens and the movie plays.

Any idea on why I have to have IE already running for this to work properly?

Publish Preview
What will cause that the flash file cant preview in html?

Can't Use The Publish Preview
I go File: Publish Preview: HTML... but nothing happens. no windows open. Even if I previously open a window, no preview will be published.

I tried to use firefox instead of explorer but nothing changes.
Internet works just fine...
What's up? Any suggestions?
Thanks for your help if you can help

Publish Preview Prob
Since installing XP Home, Flash 5 crashes when it tries to
preview in NN (have not tried IE, hmm...). Same thing happens in Front Page 2K browser preview.

Problem With Preview And Publish
When I try and preview or publish, it is coming up white. I tried to remake it with a new file and tested the preview while I made it....it worked fine until I saved the file as a .fla. Now the images don't show again. Do I have something set incorrectly? Thanks

Publish Preview Question
Hi,

I am wondering why I can't view my movie when using publish preview, html in my default browser (mozilla firebird 7.0) or in Opera, and yet it works fine in IE? I have flash 7 plug-in installed on all above browsers and when I publish a movie I can then view it in all browsers no problems?
One thing I've noticed is that the file names for the previews are different in IE than in firebird.

example

IE is: C:Program FilesMacromediaFlash MXUntitled-1.html

firebird is: file:///C:%5CProgram%20Files%5CMacromedia%5CFlash%20MX%5** **itled-1.html

this seems like a weird filename to me?

Any answers most appreciated

Publish Preview Not The Same As WWW View
Using Flash MX:

I have recently been upgrading my website. I have managed to get a nice little beta created and it runs wonderfully in the test movie and Publish Preview. However when I view the page on the WWW, it seems like a loop is not being completed and external txt files are not being read in.

If you need more specific info let me know. I am just curious if there is something general that I may be missing. Thanks for your help!

Discrepancy In Publish Preview
HI
when i preview my work, which includes a couple of PNGs, in the normal Flash option within Publish Preview, the images look far from good.
FILE>PUBLISH PREVIEW>FLASH
Meanwhile, when i preview them using the HTML option, the images look as smooth as they do while i am working on them.
Which option is to be believed, which representation will be actually seen on the website ???
Thanks.

Publish Preview A Big Stage
I'm having trouble previewing my stage which is 800x1000 without the images being poor quality, is there a way to view big stages with scrollbars or something? plz help

[CS3] When I Publish The Animation, It's Different From The Preview
I made a simple flash animation and I wanted to add a little lens flare to a couple objects... which I did with no problem, I cloned the object in photoshop and added flares, then aligned them in flash and made the flares fade in and out (sparkle). I preview it by sliding the curser and it lines up fine. When I publish it or preview (Apple-Enter) it isn't aligned and makes the images move a couple pxls. What am I missing?

HELP! I just attached the FLA.

Publish Preview Issue
I am brand new to flash and have a question about preview. I am working with a large image and when I preview in html or flash it only shows a small portion of my original image. I doesn't even show the complete area I am working with. The image is larger than 1024x768 but it doesn't give scroll bars or anything. It just seems to crop the hell out of the image?

Please help

Publish Preview Scrolling
I attempted getting help from this already made topic but the responder was utterly useless:
http://board.flashkit.com/board/show...ublish+preview

When I preview, it doesn't show everything. I know why it's doing this; because my image is larger than my document. But is there a way to implement scroll bars in the preview? Zooming in and out doesn't help because its not legible at certain levels. I'm surprised flash doesn't have an option for this.

Why Can I Not Publish Or Preview All Of A Sudden?
why can I not publish or preview all of a sudden?
I was just working away and hit ctrl+enter and nothing... shift+f12...nothing... rebooted... nothing... wtf?!?
thanks

No Publish As HTML Preview
Hi, I just started using flash 8 pro lately and today it's reported an error when I was executing a publish HTML preview. Since that the publish a HTML preview won't work for me, I have started and restarted Flash and my PC, has anyone come across this type of bug before? It's really annoying and I can't figure what it could be.. any ideas greatly appreciated. The publish as flash setting is working fine so I suspect it could be a problem with internet explorer.
thanks in advance,
Anto.

No Publish As HTML Preview
Hi, I just started using flash 8 pro lately and today it's reported an error when I was executing a publish HTML preview. Since that the publish a HTML preview won't work for me, I have started and restarted Flash and my PC, has anyone come across this type of bug before? It's really annoying and I can't figure what it could be.. any ideas greatly appreciated. The publish as flash setting is working fine so I suspect it could be a problem with internet explorer.
thanks in advance,
Anto.

Publish Preview Is NOT What Is Supposed To Be .....
Sorry all I am very new to this and very frustrated...
I have tried to create a simple movie that rolls/fades
the letters in and then they should blow apart...
I see what I intend within flash on the workspace...
but when I preview and or publish it doesn't work correctly...
argggggg..
Any help is appreciated ....
I have attached a copy of the file



thanks
Echo4Bravo

Publish Preview Is NOT What Is Supposed To Be .....
Sorry all I am very new to this and very frustrated...
I have tried to create a simple movie that rolls/fades
the letters in and then they should blow apart...
I see what I intend within flash on the workspace...
but when I preview and or publish it doesn't work correctly...
argggggg..
Any help is appreciated ....
I have attached a copy of the file



thanks
Echo4Bravo

Changing Publish Preview Browser
Hello,
Is there a way to change the browser that Flash uses to display your html file when you hit publish preview? It seems that Flash just uses your default browser, and the problem is that I don't want to change it just to accommodate Flash. I'm using FMX2004 on Win2K if that matters.

Thanks for any help,
jtnw

The Veiwer Works When I Preview But Not When I Publish?
Hey dudes and dudettes,

I have this little gallery thing that I was working on a while agao and it sort fell by the wayside but now that I want to finish it I got some problemos. I have a loader that loads the movie into the layer and an veiwer.onMouseMove = function() { this._x = _xmouse; this._y = _ymouse; upddateAfterEvent();
}

It all works as in the little spyglass I have (veiwer) follows the mouse when I preveiw but when I publish it don't wanna come out and play, it ain't even on the screen(AAArrrrrrrgggggggggggggghhhhhhhhhhhhhh!!!!! )
anyone got any ideas?

cheers

Please Help Slight Pause In Publish Preview
I have an intro in flash mx where the backround pans up towards a sky. It plays fine in flash, but when previewed there is a slight pause for around a second before it continues panning. Any ideas whats going wrong?

Buttons Are Visable In Preview, But Not Publish?
so basically...
i've made this simple header for a site,
and everything works great when i preview it in flash.

but when i publish it, and put it in dreamweaver none of my buttons are visable or usable.

i'm not the quickest at flash, but i made somehting liek this before, and it worked fine both ways.

i think it has something to do with using text in the button activated movie clips, but im not sure.

please help me straighten this out.

fla:http://www.embraced-dc.com/bandi/menu.fla
swf:http://www.embraced-dc.com/bandi/menu.swf

Image Not Matching Publish Preview
For some reason the .PNG that I imported into the flash "looks" fine (ie, I don't know what to edit b/c it looks good), however, when I go to publish it in HTML, the result is less than desireable.


The first picture listed here is what it looks like while editing in Flash. Looks good right?


This second picture is a screen capture during the publish preview. Notice the top right of the "S" and the bottom of the top half of the "S" are not smooth. Also the top of the "N", the "L", and the "V" and "E" also have visual distortions.

Does anyone have a suggestion on what I could do to fix this, or possibly a reason why Flash is distorting the image?

FireFox Publish Preview Question
Hi, I have a swf that when published inside flash player scales perfectly but when I publish it in FireFox there is always a half inch all around of white showing. Is there a scale function that will make sure the swf is resized to fit the browser? [CS3]

Flash Hanging On Publish Preview
Whenever I try to do an .html publish preview (File -> Publish Preview -> HTML), Flash hangs.

I can publish the .html file correctly; and outside Flash, I can open the .html file correctly. Only F12 hangs.

This happens even with a blank file.

Any ideas?

Publish Doesn't Match Preview
My .fla looks great. The preview .swf looks even better. When I publish, the .swf file is all messed up...transitions don't happen, text is missing....

BUT, strangely enough, a mac Projector works fine! What's going on?

Project Will Not Preview, Publish Or Debug
I recently went into my Flash project and started lowering my picture's file sizes. My files were way to big, so I opened them in Photoshop CS3, made the images smaller, and "saved for web" using jpeg medium & png-24 for transparencies. After importing them into my Flash library and auto replacing the images I ran into the problem. When I tried previewing the progect it would show the load bar start-to-finish, but wouldn' t show a preview. Also when I pulbished the file, it showed the loading bar from start-to-finish but a swf file never saved. Also the publish preview & debug features wont show any thing. I then opened another flash project and everthing worked fine. Can anybody help with me with this? thank you.

Flash 8 Publish Preview In Firefox
Hello,

I have Firefox as my default browser (Win XP) I cannot preview my
published file by pressing F12 in Flash8. Is there a way to correct this ?

Thanks

NavigateToURL Not Working In Publish Preview
Hi all,
Im using the code below to open a URL from within a swf. This works fine tested in the IDE but when I do a publish preview and view in IE7 the link doesnt do anything anymore.

The code in the clicked function is still called though.

Am I missing some security quirk here? Can anyone shed some light?

Thanks







Attach Code

import flash.events.*;
import flash.net.navigateToURL;
import flash.net.URLRequest;

box.buttonMode = true;
box.addEventListener(MouseEvent.CLICK,clicked);
function clicked(e:Event)
{

var url:String = "http://www.microsoft.com";
var request:URLRequest = new URLRequest(url);
try
{
navigateToURL(request, '_blank');
}
catch (e:Error)
{
trace("Error occurred!");
}
}

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