Professional :: Making A Swf Wait Until The Rest Of The HTML Page Is Ready?

Jul 2, 2010

I have a site with a common SWF embedded at the top of each page, and then regurlar graphic/text HTML content below it.I was anticipating that the SWF might have a bit of a delay for it to load, and that the rest of the page would be appearing pretty much right away... and that DOES happen from time to time.
 
However, the one thing I wasn't expecting, and don't quite understand, is that sometimes the SWF will appear first and even start playing, yet the rest of the page doesn't appear for a second or two, so I end up with this SWF movie floating in black.
 
Not entirely sure what is holding the page back, since most of the graphics are shared/common on each page.  There are some embedded videos (with poster frames, so they shouldn't take too long to load) on some pages, which are probably the culprits.
 
What I don't get (besides how to further optimize the pages), is why the SWF appears and plays, if it is an element within the table that contains all the content of the page.  I thought that tables only display once EVERYTHING in it is loaded... So, why would the SWF appear before the other elements are ready?  I'm assuming the other (non-common) elements are not finished downloading... although I'm starting to suspect that maybe they are, and the delay is something else... like the embedded QT's 'initializing' or something?

View 2 Replies


Similar Posts:


Making A New Page Popout From An Existing Html Page

Sep 9, 2009

I want to build function on my site where I click on the link, and a new page (background opacity maybe at like 50%)  - which consists of a video in the center and a link or two - floats on top of the already existing html page. I've seen this done a few times and I think it's a really cool function.

View 1 Replies

ActionScript 3.0 :: Flash Buttons - Making IFrames To Change HTML Page

Oct 18, 2010

What im trying to do is to link my Flash buttons using as3 to make an iframe change the html page its showing every time i click on a different button. The web page is as follow: An html page containing a Flash menu and one iframe. I was using this code with no result:

Code inside Flash SWF File
var bt1:URLRequest = new URLRequest("MY WEB PAGE");
function Fbt1(e:MouseEvent) : void{navigateToURL(bt1,"body");}
bt1.addEventListener(MouseEvent.CLICK, Fbt1);

Code inside HTML Frame:
<iframe src="MY WEB PAGE" name="body" align="center" width="1010" height="500" margenwidth="1010" margenheigth="260" frameborder="0">Browser dont suport iframes</iframe></TD>

I get this error:
1061: Call to a possibly undefined method addEventListener through a reference with static type flash.net:URLRequest.

View 2 Replies

Professional :: Preloading An HTML / Flash Page On PREVIOUS Page

Jul 1, 2010

I have a site where all the pages have a common SWF embedded at the top (Nav and banner), but the rest of the page is HTML.Everything is working fine, but I'm finding the 'independence' between the HTML and Flash is making for some sloppy transitions from page to page.I was expecting the SWF to be delayed, at least for the first page visit(and I have a preload routine inside the swf to make it's delay and appearance a bit more visually pleasant), but was surprised to sometimes find the SWF appearing and playing while the HTML content was delayed (resulting in a SWF floating in black).What I'm wondering is if there's a way I can do some sort of preload on my index page.BUT, not the standard one that I'm sure everyone would suggest (like the javascript image 'preload', or the newer 'css visibility' preload trick). The problem with the standard one is that it doesn't check to see if everything is loaded.What I'm after is a routine on my index page that invisibly loads some of the elements from my inner pages (common swf, maybe some of the images) and WAITS until it's done before moving to the inner pages (displaying the company logo and/or a load status in the meantime).Many people would suggest a preloader inside the common SWF on my inner pages (which I have), but the problem with that on its own is that it doesn't stop the HTML from displaying.

I'm trying to figure out a way to do a preloader (like those in a SWF, which loops until everything is loaded) that controls both the SWF AND the HTML.Recently, I found that you can use one swf to preload another, which would be a potential solution, as I could make an SWF on the index page whose sole purpose is to load (invisibly) the common SWF, displaying the load status and then loading an inner html page once it's done.Problem is, I have bee having trouble finding the coding for that, as most searches for preloaders end up being about standard preloaders, where it's monitoring the same SWF that the code is on, as opposed to controlling a second, external SWF.Can someone point me to or provide me with the proper coding/procedure for a preloader that controlls a second external swf or give me a better solution?
 one?

View 1 Replies

Professional :: Page : Making Objects Stay?

May 7, 2011

I'm working on a dress up game and I have one problem with it. There are so many items of clothing (which are movie clips with the basic drag and drop code) that I had to create different pages for them. I have buttons (labeled like "dresses", "pants" etc) that when clicked on make that group of items appear. So, great. It's just that once an item has been dragged over to the doll and put in place, I want it to STAY there. But as soon as you click on a different page, that item disappears. Is there any way to make items stay on the doll, even though they're part of a page?

View 1 Replies

Professional :: Making Button From XML Dropdown Light Up On Particular Page

Feb 28, 2012

This might be trying to be too tricky, but I have a set of keyframes on the timeline that correspond to the buttons on my xml drop down. When I am on a particular frame, I want the button for that frame and the mainItem button that it drops down from to have some sort of highlight or extra glow. This is meant to be so that a user can see where they are in the project at any time. All the code is included in my previous posts on xml drop down menu..

I can find the buttons by checking if they have certain text on them, so now I want to
1) Set a variable on each keyframe
var a:String="page1";
and then have some code that says 
if(a=="page 1")....[go and get the button] e.currentTarget.menuText.text=="Questions" [and do something to it ]<-- except it wont be the current target it will just be out there with that text on it..

View 7 Replies

ActionScript 2.0 :: Making Clips Wait For Each Other?

Jul 14, 2005

I have a problem with the way Flash handles a script I am making. What I currently have is 10 movieclips which I want to play after each other. Right now, I am using a for loop to start each clip. Naturally this will make it so that each clip starts almost immediately after the one before it. make a script that will make Flash wait with playing a clip until the one before it is done?

View 2 Replies

Professional :: Possible To Load Html Page Inside Adobe Flash Professional

Aug 26, 2010

Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex.

View 1 Replies

Professional :: Cant Stop Flash Page From Flashing Repeatedly (making Website)

Nov 20, 2011

Well first off here is my script so far on the page:
 
[URL]
 
Using Pastie to keep amount of text on thread low to make things easier to read.
 
Here are the errors I get everytime I try to debug or Test Movie:
 
[URL]
 
Also maybe if you can help a bit with it heres the check list that this is graded on. Also no I am not trying to make you guys do my work for me its just he gave us this project but I have been at work (17) and unable to finish it at all. Please help I dont want  a bad GPA this ending semester.[URL]

View 1 Replies

ActionScript 3.0 :: Grid - Making Each Object Wait Before Clicking

Dec 18, 2011

I've been working a game where you drag an object onto a grid. This then 'grows' over time. Once it has taken about 5 seconds to grow, the player can click on it (only 5 seconds for debugging reasons) and 'collect' money as a result. The problem I'm having however. Is that I cannot remove it once the timer even has occurred. I get the 2007 parameter error, child must be non null. Problem is, I don't see how it is null as I've already defined it? I'm rather lost - and somewhat new to AS3.

Code:
private function placeSeeds(e:MouseEvent):void {
var seedsRow:int=Math.floor((mouseY-300)/75);
var seedsCol:int=Math.floor((mouseX-150)/65);
// check tiles
if (seedsRow>=0&&seedsCol>=0&&seedsRow<3&&seedsCol<3&&itemsArray[seedsRow][seedsCol]==0) {
var placedSeeds:lolMC=new lolMC();// constructs the object
[Code] .....

View 1 Replies

ActionScript 2.0 :: Make A Expandable Banner Pushdown Rest Of Page

Jan 8, 2010

i need to make a expandable banner pushdown the rest of the page, can it be done in actionscript 2.0 inside the .FLA??? or i need to do this with javascript?

View 1 Replies

ActionScript 2.0 :: Splash Page Diff Size Than Rest Of Document

Jul 6, 2009

My website splash page is around 780x480 and the rest of the flash site is all 800x500. I'm not quite sure how to work this, but I want to have the splash page play automatically then go to the main page of the website. Can someone help me out with this? And does it matter that they are different sizes?

View 1 Replies

Professional :: SWF Not Showing In HTML Page?

Jan 8, 2010

Not sure if I should be posting here or on the Dreamweaver forum [there's a similar post there], but .. I hope to have some music on my site and have been playing around with various Flash based, XML driven, mp3 players [though I'm a beginner with Flash]. I've got one to look [more or less] as I want it but it doesn't work! It works when previewed within Flash CS4 but not within Dreamweaver. The mp3 [the Josephine Foster song] is there, the XML file is there - I can't think what I've done wrong. Here's the url:[URL]

View 6 Replies

Professional :: Add An Animation To A Html Page?

Jan 11, 2010

I have a static html home page on my website and I would like to add a flash animation of a cartoon character riding her bike.  My home page is [URL]
 
I have tried several ways of doing this.  Firstly I started taking measurements using firefox developer toolbar and then realised that the page displays differently according to what screen size users view it.
 
Next I took a screenshot and imported this to the stage and used the dimensions of my wrapper div which is 1024 px.  I am using the creative suite 4.  After creating a separate layer for the animation and getting the character to go where i wanted her to go, I realised I couldnt use the navigation which is on the html page.

View 5 Replies

Professional :: Can't Get FLV To Play In HTML Page

Dec 16, 2010

I dragged the FLVPlayback to the stage and set the source to my FLV file name and set the skin to one of the options. My HTML page calls upon the published SWF file. Do I need to name the additional SWF file to the same name as my skin?
 
How do you publish the skin file also?
 
I'm thinking this issue lies with the dimensions of the movie. The FLV says it is 640 x 480. So I went in and modified the Flash document to the same. Do I need to use the Transform tool and make the actual player to these proportions so it fills the stage? - here is where the confusion lies...or is it 'smart' enough to conform. My settings are the default of 'maintain aspect ratio'.

View 5 Replies

Professional :: Link Between Html And A Particular Flash Page?

Jan 15, 2010

I am designing a website in flash CS3 using Action script 2.0 not 3.0 and Flash Player 8. The architecture I used is as follows:I have a menu/main page which loads the swf files of other flash pages.I have a particular flash chatroom page which is loaded by the main page that I would like to be able to link an web address (example url...) directly too that particular sub flash page ...rather than going to the main.swf which is what the original web address uses.

Technically I know I could link a web address to the chatroom.swf file, but then it would estetically look incomplete since the theme/design of the website is in the main.swf which calls the chatroom.swf.Thus my question is: is there a way to assign the web address to the chatroom.swf inside the main.swf.I would like to go directly to the chatroom without clicking chatroom on the main.swf menu.

View 2 Replies

Professional :: Link Something To Html Dreamweaver Page?

Jul 2, 2010

I have produced several .swf files to be used as part of an interactive cd. I have produced the home page in dreamweaver, with a button link for each of the movie clips, but when the clip ends it just stays on this clip, i need a kind of "home page" link at the end of the clip to take the viewer back to the page with all of the links to the other movies on,

View 1 Replies

Professional :: FullScreenButton In SWF File In An HTML Page

Jul 14, 2010

I have inserted a small video as a SWF file into my homepage along with Play, Pause, FullScreen and Mute buttons (loaded from the Flash Components panel). The Play, Pause and Mute buttons work fine. But when I click on the FullScreen Button nothing happens. It won't open the SWF video in a new page at full resolution.

View 1 Replies

Professional :: Loading Swf On Html Page-desperate

Jul 26, 2010

I've recently made a website (www.doneanddone.co.nz) which has two swf's on it. The first is a sound swf which works perfectly, however, my other swf is a video swf that loops over and over and does not show up now I've loaded it on to my host.I just get this error message.[code]

View 5 Replies

Professional :: Start The Html Page With LoadMovieNum?

Aug 29, 2010

how do I tell an html page to open with a swf item on level 50, so that when I call another item into level 50, it REPLACES the original item. Right now, when I call another item, it just goes over the top and stuff shows. I'm using loadMovieNum, AS 2 Flash CS3

View 2 Replies

Professional :: Multiple .SWFs In One HTML Page?

Feb 3, 2011

I'm trying to post multiple .swf objects into one html page.  The first .swf object plays fine, but the second one does not load. My page is [URL]

Dreamweaver tells me that swfobject.registerObject does not exist, or something like that, but I see this code being used elsewhere.  I have swfobject.js in my main folder, too.

View 18 Replies

Professional :: Loading HTML Or PHP Page In Flash

Feb 26, 2011

I would like someone to tell me if there is a way to load html or php page in flash just like a movieclip without actually navigating from the flash player(by using getURL code). Basically, I am wondering if there is a way to load a html file just like we load movieclips and perform all the functions of html page.

View 1 Replies

Professional :: FullScreenButton In SWF File In An HTML Page?

Apr 27, 2011

I have inserted a small video as a SWF file into my homepage along with Play, Pause, FullScreen and Mute buttons (loaded from the Flash Components panel). The Play, Pause and Mute buttons work fine. But when I click on the FullScreen Button nothing happens. It won't open the SWF video in a new page at full resolution.

View 3 Replies

Professional :: External Html Page Into Flash

May 9, 2011

how to load external html page into flash? (AS3)

View 2 Replies

Professional :: Embed Flash In A Html Page?

Jul 18, 2011

how to embed flash actionscript in a html page, where you can see difference in colorslike you see in the flash actionscript panel, or working with flashdevelop ?

View 2 Replies

Flash :: Professional - Put Files On Your HTML Page?

Sep 7, 2011

i saw source codes of a [URL],i downloaded all swf files and linked them to my page but i cant view the pre-loader and my page just typically loads. i downloaded: swfobjects.js, swfaddress.js and Blade.swf. i used

[Code]....

View 13 Replies

Professional :: FLV With The Support SWF Files And HTML Page?

Mar 27, 2012

If someone provides me the FLV with the support SWF files and HTML page (so that the movie is embeded on the HTML page with the skin controls)...and I need to rename the movie from what they sent it as...will I also need the native FLA? Do I simply rename the HTML page to the desired link name for brand consistency on my website, will that solve the problem without needing the FLA?

View 2 Replies

Professional :: Add A Flash Splash Page To HTML Website?

Jan 11, 2010

I think I have to add getURL() on the last frame of the timeline, but it's not working for me.I have:[URL]

View 2 Replies

Professional :: Slide Show Not Working In Html Page?

Jun 30, 2010

i created a slide show with buttons, when i test it in flash it works correctly but when i put it in a html page, it does not redirect you to the page when you click on it.

View 2 Replies

Professional :: Where Is Slideshow Coming From On The Home.html Page

Sep 10, 2010

I am an html/css programmer and don't know much about Flash. I've just been asked to update this site which has many Flash elements. I just dissected the site but can't figure out where the slideshow is coming from on the home.html page. I opened the index.swf object and there are no images just a background. I believe the original designer used Flashbox for the slideshow and Flash as the backdrop? I think I have the other galleries (click View Rings portfolio or another portfilio) figured out.

It looks like it's pulling in a Flash file and the Flash file is pulling in images for the slideshow (at the bottom) from the images.xml file. I opened the Flash file (image gallery.swf) and the full pop up -- background and large photo and slideshow -- are included in the .swf file unlike the index.swf file. Am I correct? Not sure if a Flash file would pull in images from an images.xml file. How do I edit the Flash file if it's not pulling the images from the images.xml file? When I open the file it just shows me the .swf file in design view.Is this over my head and should I hire someone with Flash and Flashbox experience?

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved