SWF Plays OK In Browser, But Needs "step Forward" In Standalone Player
Hi All
I'm new to flash (this is my first week). I've done all the lessons and the first 2 tutorials. I'm prototyping a web site for a friend of mine who's an interior designer and I have a problem either with layers or action script.
I made a movie that tweens from before, after and furnished states of an apartment refurbishment. that all worked OK. Then I added a loading indicator it runs fine in a browser (ie5.5), but when I use "Test Movie" or run the swf in the external player, it stops on the first frame of the big movie. However, if I open the published HTML file, it runs from start to end.
I'm still trying to get my head around the best way to organize such a project, so I wonder if someone can advise.
I've attached the fla file
So if you'd care to help, can you tell me where the problem may be and if I've organized things well
thanks in advance
Mark
FlashKit > Flash Help > Flash MX
Posted on: 10-07-2002, 10:12 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Swf Plays In Browser But Not In Standalone Player
So, I posted another thread about this, but it took me a while to narrow down what was happening, so I thought I would make a new post.
What the movie is:
An swf that loads an h.264 video (and then the video triggers other stuff to happen along the way)
What's wrong:
- Plays on 2 of the 5 computers I've tested it on, but not the other 3.
- It will play on the other 3 if I export the html and load it in the browser
- It will play on on the other 3 in the standalone flash player if I replace the h.264 video with an .flv
Other info:
- All computers have the same versions of Flash Player, Quicktime, etc.
- The video itself plays in Quicktime on all the computers (so it's not a codec issue)
So...what's so different about the flash player in the browser from the standalone player? How do I get this working properly?
Slow Framerate When SWF Plays In Browser Vs Standalone / Preview
I'm hoping someone can help me with this one. I already searched the forums and some others have had this problem too but noone's been able to figure out what's causing it.
link to the swf embedded in browser
Click on that link and hover your mouse over the center 122 MAIN button in the center, notice the speed of the ripple.
direct link to SWF, right click and save as
Now, download the SWF and play it back in the standalone player, notice the speed of the ripple as you hover your mouse over the 122 MAIN button.
I'm running XP w/SP1 and IE 6.0.2800.1106xpsp1.020828-1920. The embedded videos were created using Squeeze and are in FLV format.
Hmmm, that might be it. Gonna test a different format.
Any ideas are GREATLY appreciated!!!
EDIT: Embedded video format makes no difference. The 2nd test, I imported the AVI file directly using the built-in Sorenson encoder and the ripple still plays slower when viewed in the browser.
Playback In Browser Slower Then In Standalone Player?
I realize that this isn't exactly a scripting issue, but I haven't been able to resolve this issue.
My swf (produced by V5) plays back remarkably slower from within the browser vs. playback from the standalone player.
The movies frame rate is set to a rather high 60FRS. Playback from browser looks more like 40FPS.
Facts:
file size of swf - 5.60kb (small)
Move length - 40 frames, though it is comprised of a number of MC's linked via script.
Demand on system resources during playback - uses no more than 10% (from both browser and also standalone Flash player)
All testing is done from same machine
If movie frame rate is increased to 120FPS the playback from browser does increase some.
I want the swf played from within the browser to play at approx. the same rate it plays from the Standalone Flash player. How might I be able to address this situation to resolve?
Posted question in General
Link to swf
www.hothousegraphix.com/ClientAccess/V3.zip
Any thoughts or insite?
Detect If SWF Loads In Standalone Or Browser Player
is there any way, using ActionScript, to determine whether a SWF is loaded inside the standalone player or the browser player?
I thought of checking the _url property for file:// prototcol but this can be the case for local viewing from web browser player too.
Browser Opens Behind Flash.exe Standalone Player
[Flash MX 2004]
I have a flash.exe - standalone player on a CD, not on a web site - and need to be able to open a browser window, ON TOP OF the flash.exe. I have used;
on (release) {
getURL("http://www.yahoo.com", "_blank");
}
but it places the window behind the .exe. Can someone send me the code to cause the new window to be on top of the .exe?
Thank You!
AMFPHP Works In Standalone Player, Not In Browser
my first amfphp-project is almost finished, and everything works like a charm when testing in standalone flash-player.
however - when i try to open the project in my browser (everything is still on localhost) the data aren't loaded.
i suppose it's got something to do with security settings or the like - but i'm not sure.
any ideas?
cheers.
Standalone Player Displays Differently Than Browser
I'm working on a press release movie, and I've coded the page to load headlines from a text file. They are all neatly displayed in separate dynamic text boxes when I view the code in the standalone Flash player, but when I view it in the browser, all except the last one loaded disappears.
My code to load and create the dynamic text boxes is as follows:
stop();
pressrel = new loadvars();
pressrel.onload = function(){
news = pressrel.newsvar.split("
");
if (news[news.length - 1] == ""){
arraymax = news.length - 2;
}else{
arraymax = news.length - 1;
}
for(i = arraymax; i >= 0; i--){
news[i] = news[i].split(",,")
}
//populate first news releases
releasetext0.releasetitle.text = news[arraymax][2];
releasetext0.newsfile = news[arraymax][0];
j = 1;
for (i = arraymax - 1; i >= 0; i--){
duplicateMovieClip("releasetext0", "releasetext" + j, j+100);
_parent.releases["releasetext" + j].releasetitle.text = news[i][2];
bounds = getBounds("releasetext" + j);
_parent.releases["releasetext" + j]._y = bounds.yMax;
_parent.releases["releasetext" + j].newsfile = news[i][0];
j++;
}
_parent._parent.refreshPane();
}
pressrel.load("news/newsindex.txt");
Thanks!
Detecting Whether Flash Is In A Standalone Player Or A Browser With Actionscripting
I am making a movie that will be distributed on CDROM and on the web. I need to create an exit button that will work from the standalone player and the browser at the same time. I am using the (FSCOMMAND exit) which works for the standalone flash player and a getURL("javascript:close()") command for the browser I thought that would solve the whole thing, but when you try to exit from the standalone, flash opens up a new browser window and then tries to close it. So I would like to write some sort of conditional that would figure out if the movie was in the standalone flashplayer or a browser window andthen feed the appropriate close command. Thanks
Justin,
Flash Runs Much Slower In Browser Than In Standalone Player
Even the simple sample code below runs much slower in browser than it does in the standalone player. In the player, I'm seeing FPS displays of 57-59. In the browser, I'm seeing 37-39.
Quite frustrating. Any thoughts?
Attach Code
public class actionscripttest extends Sprite
{
private var fps:Number;
private var fpstext:TextField;
private var timeOfLastFPS:Number = 0;
private var frameCounter:Number = 0;
private var msPassed:Number = 0;
public function actionscripttest()
{
stage.frameRate = 60;
fpstext = new TextField();
fpstext.autoSize = TextFieldAutoSize.RIGHT;
var format:TextFormat = new TextFormat();
format.size = 12;
format.color = 0xFF0000;
format.align = "right";
fpstext.defaultTextFormat = format;
fpstext.text = "FPS:";
addChild(fpstext);
addEventListener(Event.ENTER_FRAME, doEveryFrame, false, 0, true);
}
public function doEveryFrame(event:Event):void
{
var curTime:Number = getTimer();
var elapsed:Number = curTime - timeOfLastFPS;
msPassed += curTime - timeOfLastFPS;
timeOfLastFPS = curTime;
frameCounter++;
if (frameCounter >= 60)
{
fpstext.text = "FPS: " + String(Math.round(100 * (1000/(msPassed/60))) / 100);
msPassed = 0;
frameCounter = 0;
}
}
}
Audio & Animation Is Synced In Flash Standalone Player But Not Browser?
I've run in to a plethora of problems trying to finish up a movie I've been working on, and I think the most important one is this:
When I view my movie in the standalone flash player, the audio & animation sync up fine. When I load the same .swf file into a browser (tried IE and FF so far) the audio is a few seconds ahead of the animation.
I've tried setting the audio movieclips to stream and event but it makes no difference.
This is a huge problem for this movie since it depends highly on the animation being sync'd to what the audio is saying.
Any suggestions would be very much appreciated, thanks.
SWF Loads Images While Flash Open, But Not In Standalone Player Or Browser?
ActionScript Code:
myurl = "";loadVARS = new LoadVars();loadVARS.onLoad = function(success) { if (success) { myurl = loadVARS.img; img_container.loadMovie(myurl); } else { trace("FAILED"); }};loadVARS.load("C:\Documents and Settings\reefolus\Desktop\Image Load\IMAGEURL.txt");
Whats going on here? I open IMAGEURL.txt, which contains a variable named "img" with a value in it. I call that value and set it to myurl. Then, I load myurl's image into img_container.
This works when I test the swf while flash open, but not while I test in the standalone swf thats exported on my computer, or on a browser. Something about internet settings came up as well, til I published to "allow network only".
Anyways, how to fix???
Mp3 Player Plays In Flash, Won't Play In Browser
Hey. I downloaded a flash file from Flash Kit called Turntable 1.5- Its an mp3 player that loads an XML playlist file and plays the mp3's listed. I tweeked it some, and it works fine when Testing within Flash, or playing in the Flash Player, but it won't play the mp3's when I try to load it in Safari or Explorer. This is the case both locally on my hard drive and on my website. The activity window in the browser shows that its loading the mp3's as they are called on, but it won't play them. This is the case whether I play the .swf file through an HTML page, or just loading it directly in the browser. And the mp3's play fine through the browser when loaded on their own. I can't figure this out- why flash will play it fine, but the browsers won't. Is there something I need to know about XML?
I'm going crazy here, I've worked insanely on tweeking this thing, only to find this out... Can anyone PLEASE help me?
Streaming Sound Plays In Stand Alone Flash Player But Not A Browser
I'm on G5 PowerPC running Safari and flash player 9,0,115,0.
I have a streaming sound that will play in the Flash player but won't play in Safari. I think its because the sound isn't loading, because if I comment and uncomment the code, I'm getting the error at the line with the event listener, even if I comment out all the code in the listener's handler. Can anybody steer me in the right direction?
Thanks,
Casey
MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
Hello,
I have an MP3 player that I have tweaked and modified on a website of mine for a friend.
Everything works fine--but it seems it will load a song and start playing 5-10 seconds of the song then restarts the song and plays it in full. Anyone have any idea why this would be happening?
The MP3 player is at www.peeler.ca and will start as soon as you get inside the website.
Could someone have a look and listen and see if you have any ideas?
I imagine it is some redundant code or something small. It is very annoying....
Thanks in advance...
MP3 Player On Website-Plays Approx. 5-10 Seconds Of Song Then Restarts And Plays Thru
anyone have any ideas as to why my player would play like 5 seconds of a tune....then restart it and play thru completely?
I was told maybe interval coding....but not sure what I am looking for....nothing appears to jump out at me.
I will upload the .fla source code and maybe someone will see something I dont- Or you can check out what it is doing on the website www.peeler.ca the player will start on its own as soon as you get in the main page of the website.
Any help is appreciated...I am stumped!
Slider That Plays Movieclip Forward And Backword
I have created a slider with the following code:
stop();
//DRAGGER1 CODE
dragger1_mc.onPress = function() {
//constrain dragger to line width
this.startDrag(false, -950, this._y, line._width, this._y);
};
//release code
dragger1_mc.onRelease = dragger1_mc.onreleaseOutside=stopDrag;
What code would I add to have a seperate movieclip play frame by frame based on where my slider is. Ex: My slider is on the far left, seperate movieclip is at end of its timeline. If I move the slider quickly back to the beginning the movieclip plays backwards quickly to its beginning and stops.
Slider That Plays Movieclip Forward And Backword
I have created a slider with the following code:
stop();
//DRAGGER1 CODE
dragger1_mc.onPress = function() {
//constrain dragger to line width
this.startDrag(false, -950, this._y, line._width, this._y);
};
//release code
dragger1_mc.onRelease = dragger1_mc.onreleaseOutside=stopDrag;
What code would I add to have a seperate movieclip play frame by frame based on where my slider is. Ex: My slider is on the far left, seperate movieclip is at end of its timeline. If I move the slider quickly back to the beginning the movieclip plays backwards quickly to its beginning and stops.
Reversing Movieclip To Play Backwards At Same Speed As It Plays Forward..
Hi all sorry for my spam post i just typed all this once and it didnt show up!!!!
here we go again..
I am new to flash and am making a page selector for the my site..it has two buttons one next and one prev. when you hit the next button it plays an animation swaps graphic to the page two graphic behind a layer to hide the swap then pops back up with the new number on it. press it again and it moves down the movie clip playing to the next stop point and showing new page three graphic.. this all works but now i want the prev button to make it so i can go back a forth between stop points in the clip, playing the movie not frame by frame but as it does when played forwards..when each new page number pops up a select button is also animated to show up with each pages link so that when say you scroll through to page 2 then hit select it goes off and loads that url for page 2 in an i frame leaving the selector at the top of the page..but i cant seam to get my url to open in an iframe in dreamweaver...am i doing this all wrong or is there a simpler way of doing this.. i must say that the animation is a rotation of the graphic is drops down like a clapper board behind a mask changes number with swap graphic then pops up again with the new page number graphic and link...
any help on reversing the playhead and making links work in iframes would be great..
Thanks in advance...
Flv Player Working - Next Step
hey,
after a lot of effort I've built an FLV player that works nicely and that is easy to customize, it features progressive download, play/pause and rewind... if anybody wants to use it feel free to download it. to view it you would need an .flv file called "video1.flv" on the same folder as the video player -couldn't upload mine cause it's too big.
I want to make it cooler though and have the little playhead box that advances as the video goes on to be draggable by the user and to make the video go back and forth as you drag it left and right. Anybody know how to do this?
thanks!!
Different Drawing Handle Between IDE Player And Standalone Player.
I've made Jigsaw puzzle component. http://www.winx.ws/IdeStandDifference.jpg When I test thru IDE everything is fine. (picture left) When I start the swf with standalone player by clicking twice the pieces become broken. (picture right) Can figure out how the drawing points are different or what? Is it some alignment or setting don't know. Exe publishing is fine too. And calling drawing classes without component has same issue. I've try to put stage.scale=No scale and stage.align=TL no changes. I'm getting mad. Thx
Player Detection ....this Is A Step Back
With previous versions of flash ( 5/6/7) you were alerted either via a warning message or the appearence of an empty icon (there where your swf was sitting) if you needed to upgrade your flash player on your browser in order to see all the flash contents of the page.
But now, say you have flash player 7 on your machine, and you open a page featuring some flash 8 content, you will not have a clue you are missing something on that page.
And if you right click there where you know (because say you are the author of that page) is some flash 8 content, you will get a pop up window telling you about your flash 7 setting... nothing else.
Is this going to be fixed?
Shirley
Browser Behind Standalone Aplication
I am trying to use getUrl from standalone player (.exe) and the browser is always appearing behind the flash movie. Also I tried pdf file to open using same getUrl action. I t wouldn't open at all.
Any suggestions would be very welcome!!!
Urgent Help: How To Remove The Accumaltion When Show Movies Step By Step With Buttons
I want to show the movie step by step by clicking the next button. Inside each frame, many movie clips are generated dynamically at runtime, and they can be played interactively.
I achieves the step-by-step display of those frames by adding another layer with the action stop(). But I got one trouble: all the movie clips from previous frames are accumalted. How to remove the accumulation from previous frames?
For the continuous display of the movie, I tried to use onEnterFrame() and change the _visible property of all the movie clips to false in this function. But it doesn't work for the step-by-step display. Once I click the next button, the movie clips at the current frame just show very quickly, then disappear. What should I do?
I need to fix this immediately.
Your help would be greatly appreciated.
- zcx
Urgent Help: How To Remove The Accumaltion When Show Movies Step By Step With Buttons
I want to show the movie step by step by clicking the next button. Inside each frame, many movie clips are generated dynamically at runtime, and they can be played interactively.
I achieves the step-by-step display of those frames by adding another layer with the action stop(). But I got one trouble: all the movie clips from previous frames are accumalted. How to remove the accumulation from previous frames?
For the continuous display of the movie, I tried to use onEnterFrame() and change the _visible property of all the movie clips to false in this function. But it doesn't work for the step-by-step display. Once I click the next button, the movie clips at the current frame just show very quickly, then disappear. What should I do?
I need to fix this immediately.
Your help would be greatly appreciated.
- zcx
Testing In Flash V. In Standalone/browser
Last edited by depth : 2006-04-25 at 21:27.
i'll try to simplify the situation best as i can...i have one swf that loads a bunch of other swfs, with a MovieClipLoader. when one swf is loaded, the mcl's onLoadInit begins the load of the next swf, and so on, until they're all loaded.
once the last swf loads, i try to access some properties of a certain one of them. this works fine when testing from flash, but when i run the swf standalone or in a browser, i cannot access the movieclip into which the certain swf was loaded. i cannot read properties on that clip, nor can i create new ones. a for-in loop returns absolutely nothing. the clip *does* exist, but it's in some strange state in which i cannot touch it in any way. i can't even access built-in props.
it's acting kind of like a clip that had something loaded into it, thus wiping out all its properties. i've tried delaying my access to ensure that it is loaded, and i get the same outcome -- works fine when tested in flash, absolutely nothing when standalone or in a browser.
ANY thoughts much appreciated.
thanks...
(edit)
further testing reveals:
i am able to access the mcs that hold all the other loaded clips. it's only one mc that acts as though it is an empty and unaccessible variable.
(edit)
it is definitely related to the swf i'm loading into the unaccessible mc that makes it unaccessible; i've tried both loading a different swf into the clip, and loading the swf into a different clip. loading a different swf into the clip causes no problems. loading the offending swf into a different clip reproduces the problem.
anyone? any thoughts at all? any arcane publish settings maybe? (all swfs are being published to FP7/AS2.)
Emil Form Tutorials- Would Like A Step By Step Guide
Hi all.
I'm wanting to create an email form in my Flash site. So that the user enters details like name, email address and message and that then gets sent to my email address. Now i know this requires back end scripting in PHP etc. And really want to give it ago. But would really like a step by step guide that explains things fully and clearly. I'm no idiot in Flash but this is a new topic for me to learn. So if anyone could recommend a really good tutorial that would be great.
Thanks and merry xmas
Rob A (bobby)
Bug In Standalone Player: PC Or MAC Or Both?
Using loadMovieNum(0) (loading in _level0) shrinks the loaded clip for 2 pixels 1/2 or so (almost: annoying for pixel fonts for example!) if created in flash5! Flash5 player reacts well. Has anyone encountered that bug? or is it just with the MAC player?
thanks for sharing
gparis
[Edited by gparis on 07-04-2002 at 05:32 PM]
Standalone Player... Where Is It?
I want to upgrade the standalone flash player... how do I do that? I can't find anything on the macromedia site and upgrading my flash player only works inside of the browser.
I want to "test movie" with the latest release of the player.
Any suggestions.
$400 Standalone Player ?
Anyone who thought Macromedia arent becomming EXPENSIVE, the flash player executable for standalone players for the pocket pc is $500.00.
Whats that ?
So for me to get everything I need, just to keep up with flash mx, Dev, players etc (not including fireworks or dreamweaver)is about $4000.00 , yeah I cant wait for the next upgrade.
Standalone Player
Hello just a quick question.
I have a swf which I would like to use as a standalone... but I do not want to use an exe..
On my PC I can double click swf files and they automatically open. but on other PC's they won't open unless I drag them on to IE.
So my question is this where can I get the standalone player? (not the plugin)
Standalone Swf Player
Is there any way I can get a standalone swf player without installing the Flash development software. And I'm not talking about the Flash player plugin for browsers.
Standalone FLV Player
Has anyone come across a good standalone flv player? All the ones I've found are kind of weak...some don't work and others don't play the video at the actual size...
Text File No Loading In Browser But Does In Standalone....Help
The Good Part:
What i'm trying to do is load a text file into a dynamic text field that uses up and down buttons to scroll through the text.
So far i can only get it to work from the browser when i access the ".swf" directly.
(Meaning: http://www.mysite.com/file.swf)
When I do this it works fine.
It reads the text and I use the button actions below to scroll up and down the text file.(instance.scroll -= 1 and instance.scroll += 1)
The Bad Part:
Now when i access the web page that has the ".swf" on it does nothing. The file doesn't load and the only thing i can see are the up and down buttons. It does this on Netscape and IE.
Does anyone know why this is happening? I thought maybe it was that becuase the scroll functions were for flash MX only, So I took them out of the .swf and and it still didn't load the file.
I really don't understand why it works when i access the file directly, but when i put it on a webpage it does nothing.
We if someome can educate me, please do. Thanks.
Url Links Work In Standalone, But Not When Opened In Browser
I am currently using flash to create an electronic press kit. In that, i have 2 links to youtube (since embedding the videos was not an option, making the file too large), and one link to yousendit for the viewer to be able to download a pdf file.
Now when i open the swf by double clicking on it (which i can do, but when on another computer, that has flash player installed, the swf will not open unless opened through a browser....not sure if that is just something where you can open an swf strictly by itself only if you actually have flash or what....that is another issue), but anyways, when i open the swf by itself, the links work correctly. once opened through a browser, the links do not work.
Safari error:
Adobe flash player has stopped a potentially unsafe operation.
The following local application of your computer or network:
(location of swf on harddisk)
is trying to communicate with this internet-enabled location:
youtube.com
To let this application communicate with the internet, click SETTINGS.
You must restart this application after changing your settings.
Of course i did that, and it didnt happen.
My question is however, even if this is a simple security issue/setting within the browser, is there any way to get around this? Because when sending this press kit out, the last thing i want is for the viewer to have to take the time to change their browser settings and try to get this to work and all that stuff.
Any help would be appreciated.
You can also download this swf at the following link:
http://www.yousendit.com/transfer.ph...661F585ACE0521
Launch Of Standalone Player
I recently published a CD-based Flash presentation on the Mac platform, though I published it as an .exe file for PC in the standalone player. My questions is this:
Does anyone know how to get the standalone player to launch as soon as the CD is inserted into the drive. This would be a neat bonus for the end users, since some of them would be challenged to find the "My Computer" icon on the desktop, let alone navigate their way to the file icon.
Your help is much appreciated.
Regards,
Jeremy Bagott
New Standalone Player Is Coming
I just heard from a MM representative (thanks J.W.!) that a new STANDALONE player will be released in the next 2-3 weeks. This will supposedly fix the "streaming issue" on standalone players that several people (including myself) have stumbled into. This is the issue that is most prevelant on CDROM applications that load external swf files into a main movie and cause the player to lock up when a new swf is loaded. There is no beta version available-I already asked. If I hear more I will post it here.
AzF
Close Standalone Player
Hallo there,
I´ve two simple questions:
Is there a way to close the Standalone Player with a command?
Can I deactivate the esc-key?
Thanks
Dirk
Aut Fulllscreen In Standalone Player
Hi all,
Does anyone know how to make a flash movie automatically play fullscreen in the standalone player?
What i'm doing is making a movie into an .exe file and putting it on a cd, the cd autoruns the flash .exe file and I want to make it go fullscreen, i've seen it before, even on some websites. Anyone know?
Thanks in advance,
BA.
Standalone Player Maximized From Cd Inf
I am trying to make a catalog and distribute them on CD's
Using the flash Standalone player. The autorun.inf on my Cd
is:
[autorun]
OPEN=catalog.exe
but I want it to open in a maximized window or in full screen.
is this possible? please help me.... thanks.... Pinky_and_the_brain
Standalone Flash Player
I'm trying to find a standalone Flash player 7 on the Macromedia website. Anyone know where it is, or do they no longer offer it.
Standalone Player Issue
Hi,
okay, say I made a standalone exe.
Say theres a button in there that has a getURL command to download a pic off my server when I press it.
Say I want to download the pic INTO an empty movieclip which is also in my standalone exe.
Why cant I do that?
When I click on the button, it opens a browser window with the pic i want. But I want the pic to be fed into the empty movieclip in my exe, not in a seperate browser.
What would the script be to download it into my exe?
I tried
on(release){
getURL("http://www.mysite.com/my.jpg", holder1);
}
and
on(release){
_root.holder1.getURL("http://www.mysite.com/my.jpg");
}
but this doesnt work at all...strange
could someone please let me know why not?
|