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




Flash Header Reloads On Every Page



I am pretty new to this type of flash.
I am working with a template and have tweeked the flash the way I need it.

I am sure this is pretty basic but can't seem to locate anything on it.

My new flash header I put in reloads on every page.  Is there something I need to specify in the code somewhere to stop this?

If you go to carbeliminator.com/test.htm
then click on "about" (only template link that works) it will reload the same header again.  
I would imagine this would get pretty annoying for a customer.

Any direction you all can lead would be awesome.  



Tek-Tips > Adobe(Macromedia): Flash Forum
Posted on: 30 Nov 04 23:55


View Complete Forum Thread with Replies

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

Flash Header Reloads On All Pages... Help Please
http://www.jmkm.com/ps_site

The answer is probably simple, but I only want the animation to play on the home page link.

Thanks,
-JM

Same Swf As Header On Many Pages...but Reloads
Ok...i have a preloader in my swf...

the preloader works fine and if i click on refresh in the browser, the page shows instantly, so it's OK.

BUT, i have the same swf as an header to each page of my web sites...
The problem is if i click "services.php", the preloader starts download the page and if i refresh, i don't see it.

BUT, when i click any other pages, for example : "demo.php", the same flash header shows more quickly then when not in cache...but preloader reshows !!!

PLEASE HELP...

My code
2 scenes then in 1st scene, 2 frames:

frame 1:
// Hides displayed elements
this.reelmc._visible = false;
this.loadbar._visible = false;
percent_display = "";

//this.onEnterFrame=function(){
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent = int((loaded_bytes/total_bytes)*100);

if(!isNan(percent)){
//trace(percent+"% loaded");
if (percent == 0) {
percent_display = "";
} else {
percent_display = Math.ceil(percent) + "%";
}
this.loadbar._visible = true;
this.loadbar._xscale = percent;
if (percent > 1) {
this.reelmc._visible = true;
}
}

if(percent == 100){
delete this.onEnterFrame;
this.reelmc._visible = false;
percent_display = "";
this.loadbar._visible = false;
gotoAndPlay("Banner", 1);
}

frame2:
gotoAndPlay(1);

How Stop Sound On Flash Movie When Page Reloads?
CLICK HERE TO VIEW THE SITE

The problem is obvious. The flash banner has sound. Whenver you go to ANY page the page reloads and the sound replays.

This template only allows you to use one header, so I cannot make 1 with sound and 1 without sound.

Any ideas how I can handle this? Not sure if frames will work in this case. Your ideas????

LoadVariables And Page Reloads?
Index.php is a template page that gets loaded over and over, depending on what the user clicks on in the site. Content of the page (obviously) changes depending on what they clicked on. (see it live at http://www.nebularpg.com/sourcebook) ... cute little animation at top of page shows site logo and, at the far left, shows the user's name or "unknown user" if they have not yet logged in. Does this in Flash by: loadVariables("GetUser.php","0");

PROBLEM: Once the user logs in and the page reloads, it doesn't change what's being displayed in the upper left. Since the Flash animation restarts, shouldn't it also re-access the GetUser.php page and update the username dynamic text box?

<confused>

Page Reloads Randomly
Hello, I have a flash site that is using a bunch of loadMovie actions. THere is a glitch that my client is reporting...I have not been able to recreate it unfortunately but I am hoping someone has had experience with it and therefore a solution!
Every once in awhile, a page starts reloading itself over and over. It won't stop until the user refreshes the browser.
Here is the url
http://www.tinalink.com/boondocks2

Any advice????

Thank you,
Tina

Bypassing Intro When Page Reloads
There has got to be a simple answer to this but I sure don’t know what it is.

I have a Flash movie with an intro that is inserted in the home (html) page. Selecting a link on the home page loads another page (I know…duh). When initiating “back” in the browser the movie reloads (which it should) and the intro plays again. Don’t want that, just want the main presentation to play.

The only thing I can think of is to have the intro page separate and when it’s finished load another page containing the main movie. Surely there’s a better way.

Help!!!!!

Anchor Point Reloads Page
has anyone else noticed this???

When i target an anchor point from flash, using getURL, the whole page reloads!

anyone know how to prevent this usability bug, because in a normal html page it doesn't do this

tnx

When I Click Button The Page Reloads Again
good afternoon all, I'm using flashMX professional 7 and I have a little action script problem.
if you go HERE (sample-3.swf) & click on one of the buttons: the whole page/animation reloads from the beginning again before going to the targetted page.

heres what it looks like:



the script for each button specifies 'page 16' (a separate file: sample-16.swf, etc)
i've been playing around but nomatter what I try the page still reloads from the beginning,
if someone could help i'd greatly appreciate,
thanks

Warner Brown,

Main Page Reloads Between Pages
I have a main swf that loads and unloads other movies. Problem is, they always go back to the main page for a second before moving on to the new page.

Can you tell me what I've done wrong?

http://www.stratfordfriends.org/index.html

http://www.stratfordfriends.org/SFSwebsite.swf

How To Maintain Audio Streams Despite Page Reloads
hello

i need to know how to be able to play an audio stream continuously despite having the same flash application reloaded. that is, while the user moves through the site.

thanks,
jsha

Flash Header In An Html Page
hey out there, i was wondering how i could include a flash header in an html page, or in genreal, how do you have flash insets placed in various spots within the page? also, how do you scale the flash windo down to the right size. can you make a flash anim in a 400 x 600 pixel window, and then have it be half the length of your header?
-alex

Flash Header On HTML Page
I am using Dreamweaver CS3 to create my site. I bought a template from Template Monster and am editing it.

However I am running into this problem. Each page loads the flash header with a command like this:
<object data="flash/header_v7.swf?button=1" width="766" height="363" type="application/x-shockwave-flash">

The problem now is the button=1 part. Because the other pages have varying values to keep the particular page title highlighted, like button=2 or button=3, the flash header seems to be loading every time a new page is opened. At 200 KB I think this might be a huge deterrent for the users.

Is there a solution for this?

Thanks in advance.

Flash Header Which Reacts To Page Url
Hi all,

I recently started re-developing my site and first off decided to do it full flash, however now after doing some more research I've found that this will cause a lot of problems when it comes to SEO, so now the design is going to be changed to a mix of flash and php.

My question is.. the original flash had an onRollover function and a onRelease function set up for buttons home, services, portfolio and contact and changed their properties depending on which button was clicked and also disables the selected button, is there any way of telling flash where it is via url and performing the same action rather than it re-loading default values every time a new page is click.

Im sure there has to be a quick way around this but cant seem to find anything anywhere.

Any advice would be much appreciated.

Thanks,
Mark.

Possible To Create A Button That Reloads/refreshes The Entire Page?
hi there.

first of all I was wondering how it would be possible to create a button that reloads/refreshes the entire page. is this possible?

secondly, is it possible to create a limit on the maxnumber to be entered? for example, i have textboxes (InputText) with the max characters allowed to be 2, but i'm wondering how i would limit the max number to "49" instead (of it being 99)?

thanks!

Flash Intro Header Plays On Every Page
Hi all,
I am reposting this question as i'm not sure what to do. I have a flash headerwink navigation buttons that plays when the person first enters the site. I 'd like to have this header on evry page without the animation that plays before all buttons load. Someone mentioned using a flash cookie but i have been unable to see how this would work.
Any help appreciated.
regards
Steve

[CS3] Controlling Html Page With Flash Header
I have a webpage with a flash header. Once the header and the index page load, thats as far as I can go. My button rollovers work and it looks like they are trying to find a link (hand click icon) but when I click, nothing happens.

I tried this AS but still nothing.

on (rollOver)
{
if (_root.link != p)
{
gotoAndPlay("s1");
} // end if
}
on (releaseOutside, rollOut)
{
if (_root.link != p)
{
gotoAndPlay("s2");
} // end if
}
on (release)
{
if (_root.link != p)
{
_root["item" + _root.link].gotoAndPlay("s2");
_root.link = p;
getURL("index-1.html");
} // end if
}

I have also been told that I may need to use JS and AJAX to make this work. Im definately not proficient in either of those.

Any help would be greatly apreciated.

thanks

Flash Header On Home Page - Play Once Only?
Hey folks - still a newbie (especially in terms of actionscript) - I have searched high and low for a solution to my problem - and run into a dead-end each time.

Here is the site... www.wbsaloon.com
I want to play the home page animation once only - and when visitors come back to the home page - it would ideally go to the last frame (or?). I have seen 'mentions' of Flash objects (cookies) and other scripts but have yet to see the actual script to make this work.

I'm using Flash MX 2004 (version 7.2) - please help!?

Flash Header Button Not Opening Page
Hi there, I have looked over the forum and viewed a lot of the inquiries…

I have also reviewed the steps to make a flash button open up a page in an html page. Unfortunately, my actions up to this point have not proven successful. I am trying to make a button link on a flash header which is on an html page open up another html page when it is clicked. This is what I have done so far:

1) I opened the file in Macromedia Flash MX and also opened the symbols table.
2) I double clicked on the appropriate button number in the symbols table to open up the action script area.
3) I added the following code to the action script box

on(release){
getURL(“http://www.myurl.com”);
}
       
4) I have many of these button links to do but for the sake of doing it right, I am doing only one button until I get all the steps right and it loads the html page properly after being clicked on.

5) Now here comes the problem … I exported only this file and uploaded it onto a web site. I put the complete address into the browser and loaded it. The flash header works fine but does not open up the desired html link when the button is clicked on.  

I have already tried working on it numerous times and still have not managed to get it right. I was hoping that the button would be testable in Macromedia Flash MX, so I loaded the flash header there ok, but the button did not work as desired there.

Any ideas as to how I can get these buttons to work? Do I need to upload any other files to the server to get this button on this flash header to work properly? Is there a foolproof step by step method of doing this that I can follow?    






Make Flash Header NOT Reload And Next Page?
Hello.

I have a flash menu/header and I want to have 10+ pages of small content for some building details. I don't want the flash header to keep replaying the animation when I move to the next detail (ie next html page).

How can I do this in Flash?

Thanks

JavaScript Clock Reloads Page Causing SWF Movie Flicker
Hi, I hope someone can help me with this problem.

I am new to Flash, don't even have the software yet, but created a swf movie by exporting layers from Illustrator CS2 to create a swf animation. My banner works just fine.

Problem is, I want to place it on my homepage and once in place there's a weird phantom banner flicker going on over the other side of the page from where the banner is actually sitting and looking perfect.

I think the problem is that I am using a JavaScript clock that displays a digital clock inc. seconds for two timezones on the home page. I think that the problem is caused by that script reloading the page and causing the phantom swf flicker as the movie reloads each second. All the other images are cached and sit still.

Is there any way to:

a) embed an instruction with the swf animation to tell it to get cached and not reload?

b) specify that only one div area (i.e. the clock) of your page is able to reload?

or c) any better ideas.

I can easily just place the banner on a clock-less page inside my site and it works fine. But part of the exercise is to try to max out the click throughs and it would be a shame to be unable to use the homepage or to have to pick between the banner or the clock on the homepage.

Thanks in advance for your help. I have a Flash book ordered up and will download the tester version of Flash 8 as soon as it arrives. I look forward to learning much from this forum in the near future.

Best-

Palatinate11

Stop Reloading Flash Header When Moving To New Page
hi
is it possible not to reload the flash header when i go to a new page?. this would mean it looks like it stays static.

Html Page With Flash Header, Loading At Specific Frame Possible?
Here is my question, I want various html pages to load with the same flash header but I want the header to load at a specific frame for each html page, is it possible?

I am no flash genius btw!

How To Avoid Reloading Large Header Flash Movie For Each Web Page In Dreamweaver
Thanks for reading this. I have a 2.3mb flash movie that appears in the header for every page in my web site. It's a design that I've already compressed by 20% and I am sort of stuck at this size. How can I tell flash to look to see if it's already loaded and just begin to play/loop it at the end. I am a relative newb and think that "gotoandplay' or 'gotoandstop" could work but I'm lost on coding in Flash or Dreamweaver itself?

The final frame of my file is 185.

My Dreamweaver code is attached.

Thank you in advance for your help!!







Attach Code

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24','width','971','height','51','movie','flash/header1_v8?button=2','quality','high','menu','false' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="971" height="51">
<param name="movie" value="flash/header1_v8.swf?button=2" />
<param name="quality" value="high" />
<param name="menu" value="false" />
</object></noscript>
</div>
<div class="row_2">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24','width','980','height','320','movie','flash/header4_v8','quality','high','menu','false' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="980" height="320">
<param name="movie" value="flash/header4_v8.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />
</object></noscript>

Load Header Last On Web Page
Does anyone know how I can make the flash header of my web page load after everything else?

http://www.folkphotography.com/blog.html

I am thinking about those with dial up that might have to wait forever before they see the content.

How To View Page Header
I need to change some information in the header of a flash lage I am working on. How do I view the header? Thanks so much! What I have to do is change the default font for one page of text.

Autum

Stopping A Header Reloading With Each Page
I've had loads of conflicting advice on this one. Someone must know surely. How do I stop a flash movie from reloading each time a link button is clicked. In other words I just want the movie to load once on the home page and the integrated buttons to work as links to other html pages without the movie reloading on each page.

Changing Div Reloads Flash
I'm trying to use DHTML with flash, where I make a javascript call from within ActionScript using the ExternalInterface object. My first problem is that my call isn't working in IE, but works in FF, but this may be because of activation, so i'll test it once I get around that.

My real problem, however, involves DHTML. I have my flash file wraped inside a DIV tag, with the flash movie width and height 100%. I can then set the width and height of the DIV tag to change the size of my flash Stage (since I have it on noscale). When I change the position attribute of my div tag from "relative" (or unassigned) to "absolute", my flash movie reloads. Has anyone had a similar problem or does anyone know a work around for this?

Flash Reloads When Resizing Browser
Ok, I am not really sure what is wrong here.

I have a flash movie on a site I'm creating for work and some people testing it out noticed that it reloads the flash each time you size (or resize) the browser. So I tried it and sure enough, making the browser bigger or smaller causes a reload each time it shifts...which could be many times, which is annoying.

If you go to this site and resize, you'll see what I mean.

http://hpd.athamptonroads.com/test2/index.html

Anyone have this sort of problem before?

I don't know if there's a setting somewhere I need to adjust or what?

This is my first flash movie I've made, so I had to deal with this before.

Pretty confused. Please help.

Flash Reloads In IE After Clicking Internal Link
Hi all,

I'm having some trouble with a Flash file and hope someone knows a nice work around.

First, this only happens in IE. Second, you can experience this issue by visiting: http://www.missionusa.com/test.html

I have flash buttons at the top that link to anchored sections in the HTML. The action script uses getUrl("#_anchor"). If we use nothing but the buttons, everything works fine.

However, if you click on a button, then click on a link at the bottom of the section to go back to the top, and then click on another button, the flash movie will start to replay as if the page has been reloaded.

So far, we have tried a variety of changes to the links to see if they would fix it, including:

* making the links in the HTML be "%23_anchor" (an idea from someplace else in DevShed). Still fails.
* changing the target="_self" in the HTML links to nothing.
* adding target="_self" to the flash files.

Any help is much appreciated.

Thanks,

Reid

Flash Stops/Reloads After Parent Div Hidden
Alright I have an interesting problem that I can't seem to find a fix or anyone who would know how to prevent this from happening.

I am using Extjs.com to do some tab management inside my web application, so I have a single content are with multiple tabs. In one of the tab flash tutorials load up. When I am in that tab I can start the flash movie just fine, however when I move to another tab the flash movie stop playing.

When I switch tabs the javascript is modifiying the CSS attributes of the divs and placing a tag of visibility: hidden and visibility: visible. It seems that when the flash becomes "hidden" it stop playing and restarts from the beginning when it becomes "visible".

I have been told this is a feature built into flash to save computer cycles when the user isn't looking at the flash movie directly. While I don't doubt this, I would think there is a way to prevent this behavior.

If anyone has the solution or knows where I can find it I would be much appreciated.

-Erik

Using CSS And Javascript To Display A Div With Flash In It, Mozilla Reloads The Flash File
I am using CSS and Javascript to display a div with an embedded flash object in it. Mozilla Firefox reloads the flash file when the div is displayed! (I dont want this to happen, as it's unexpected functionality, my expectation would be that the flash file would not change it's state at all, and would remain in whatever state it was left in.)

I was wondering if anyone has come across this issue and is there something I can do to prevent this from occurring?

To be more specific, I have a single HTML page with 8 flash files embedded in it (yeah I know, it's a bit much). I am then using CSS and Javascript to display (via a numbered link (with an id)) an equivalent numbered div tag containing the flash file. Mozilla Firefox reloads the flash object that is in the div. Internet Explorer will not do this and will instead, load the flash object only upon initial view of the flash object. All subsequent links (in IE) will NOT reload the flash object on the page. I'm guessing this is some kind of difference in the flash player as an Active X object and the plugin, or is it just IE being clever? Or am I way off?

Anyway, here is the code...









Attach Code

<script>
function showBox(obj){
var num = obj.getNum();
var thisBox = document.getElementById(obj);
//
thisBoxLink = document.getElementById(boxLinks[(num-1)]);
//loop thru the boxes array...
for (var i=0; i<boxes.length; i++){
var allBoxes = document.getElementById(boxes[i]);
var allBoxLinks = document.getElementById(boxLinks[i]);
// alert("allBoxLinks: "+allBoxLinks);
//turn the display of all boxes to none...
allBoxes.style.display = 'none';
//
switch (allBoxLinks.nodeType) {
case 3://if text, then, give it the appropriate style...
allBoxLinks.className = linkStyleOff;
case 1://if a node, then must be an image, then swap it!
//alert(' '+allBoxLinks.childNodes[0].getElementsByTagName("img"));
if(i<10){
allBoxLinks.childNodes[0].src = linkImageNameSeed+"0"+(i+1)+"_f1."+linkImageNameFileType;
} else {
allBoxLinks.childNodes[0].src = linkImageNameSeed+(i+1)+"_f1."+linkImageNameFileType;
}
}
}
//if the nodetype of the firstchild of THIS box is text...
switch (thisBoxLink.nodeType) {
case 3://if text, then, give it the appropriate style...
thisBoxLink.className = linkStyleOn;
case 1://if a node, then must be an image, then swap it!
if(num<10){
thisBoxLink.childNodes[0].src = linkImageNameSeed+"0"+(num)+"_f2."+linkImageNameFileType;
} else {
thisBoxLink.childNodes[0].src = linkImageNameSeed+(num)+"_f2."+linkImageNameFileType;
}
}
//set this tab layers display to nothing, meaning, visible!
thisBox.style.display = '';
};
</script>

<a href="javascript:;" onclick="javascript:showBox('flashBox1')" class="flashBoxLink" id="flashBox1Link"><img src="images/btn_01_f2.gif" alt="" name="flashBox1LinkImage" width="38" height="38" border="0" id="flashBox1LinkImage" /></a>
<a href="javascript:;" onclick="javascript:showBox('flashBox2')" class="flashBoxLink" id="flashBox2Link"><img src="images/btn_02_f2.gif" alt="" name="flashBox2LinkImage" width="40" height="38" border="0" id="flashBox2LinkImage" /></a>

<div id="flashBox1" class="flashBox">
<object type="application/x-shockwave-flash" data="swf/page_002a.swf" width="580" height="300" id="flash1a">
<param name="movie" value="swf/page_002a.swf" />
<p>You do not have the Flash plugin.</p>
</object>
</div>
<div id="flashBox2" class="flashBox">
<object type="application/x-shockwave-flash" data="swf/page_002b.swf" width="580" height="300" id="flash1b">
<param name="movie" value="swf/page_002b.swf" />
<p>You do not have the Flash plugin.</p>
</object>
</div>

























Edited: 12/04/2006 at 09:25:00 PM by AdamLemmo

Hybrid Flash.HTMl Site - Flash Reloads?
I have a website im working on, my first site using flash.
I have a header which is FLASHMX and the bottom part is HTML.
When you click on the flash it plays an animation, loads a picture, then uses "get url, self" to open a new html page.

My problem then is that the flash header reloads itself!!
How do i get around this??
Ive seen plenty of hybrid flash/html sites....dont tell me that they all use Frames??

There must be a way..

[CS3] XML Reloads More Than It Should?
Good day;

I have a vote system on my site that reloads the xml variables to display the new hit. The problem is that everytime you vote it causes the song currently playing in the Mp3 Radio to restart or, if stopped, to play again.

On Site Load:
-The Radio loads its contents from an XML file, and starts playing (located on its own Level);
-The Mp3Vote XML file loads and displays the current votes (located on its own level);

On Vote Click:
-the Mp3Vote Movie Clip (ten frames in timeline, stops at frame 10), goto's frame one and plays back to frame 10, thus reloading the XML info.

The Problem:
-Both the Radio and Vote AS is in its own MovieClip,
-Scene One only has 1 frame,
-RAdioXML MovieClip only has one frame, thus there "should" not be any reloading of the Radio

example: http://www.northernmics.com/!Login/!NM_Main.html

Thanks

Loadmovie() Always Reloads?
I have a flash movie that consists of 4 pages which slide into and out of the vieing area of my main flash movie. One of the pages is quite big as it contains a lot of images so i load it into a fake movie when the user presses the button for that page. When the button is pressed this code is called:

if (movieLoaded) {
// Don't load the movie again
} else {
loadMovie("swf/library.swf",_root.shutterSlide.libraryMC);
}

So the movie loads, but when the user selects another button and then returns to the button for that page the movie is loaded again, now I place the line

_root.movieLoaded = true; in the library.swf movie so when it is loaded the main movie knows it's there, but it seems that the movieLoaded is not being set in the main movie, can someone claify if I should be setting the variable flag another way? should I be telling movieLoaded in the main movie another way?

Thanks

How Do I Know When Main.asc Reloads?
I am working on an application that uses a main.asc plus two apps that connect with it. How can I tell when main has unloaded so I can be sure my edited copy is the one that's running?

I know it's supposed to unload when the last client has disconnected, and I don't doubt that it is. The question is, how can I confirm this?





























Edited: 03/23/2007 at 04:00:01 PM by Neeeol

Local FLV - Video Reloads
Is there anyway to cache a FLV on a CD/projector?
When I play a FLV in the FLVPlayback component, the video loads, but if I stop the video and replay it, it completely re loads the video.

I'm trying to get a seemless playback, but with this reloading, there is a lag.

Help Please? Movie Reloads - I Loose My Place
Please Help, I keep going in circles but no solution.

I have made a menu in falsh that is embeded in a template that was used to generate the web pages for a site. The menu simulates great in Flash, but in a server, when a page is selected in the menu, the new page is loaded, (which is what I desired), but the flash movie also gets reloaded and thus the variable I passed indicating what frame should advance to is ignored and the menu displays same as the first option.

I have been reading about passing variables using javascript to flash, but it seems that these are ignored as the new page loads.

Can someone shine any light on what I am doing wrong, and how to do it right?

Also, I would like to have some links at the bottom of the htm page for navigation. When those are selected, and the new page is loaded, I would like for the menu to indicate the page being viewed, so I am trying to also pass the variable to flash using javascript, but again, the menu keeps showing the frames as if the variable was not passed.

Your help is much appreciated!

Passing Vars Reloads Movie
I'm trying to pass a variable to a flash movie, like this
src="main.swf?link=1"
The only problem is that even if the main.swf movie has been loaded before, when I pass the variable it reloads it. It kind of thinks that it is a new movie.
Is this sypposed to happen?

Thanks in advance.

[F8] Loaded External Swf Reloads After ~ 1sec
Hi folks

I have this code for loading swf from an array, and it works great except one little thing. The lodaded swfs reloads after one second and then it plays like normal. I have placed the start and stop attribute to ensure that the swf doesn't start before its fully loaded, but then this happens.

Can anyone explain what I am doing wrong?

Thanks!


PHP Code:



function loadSwf(sceneSelect){
        
        this.loader.loadMovie(scenes[sceneSelect]);
        
        this.onEnterFrame = function(){        
            if(this.loader.getBytesLoaded(scenes[sceneSelect]) == this.loader.getBytesTotal(scenes[sceneSelect])) {
            
                          this.loader.play();
                this.loader._visible = 1;
                delete this.onEnterFrame;
            }
            else {
                this.loader.stop();
                this.loader._visible = 0;
            }
        }
};




/NB21

Loaded External Swf Reloads After ~ 1sec
Hi folks

I have this code for loading swf from an array, and it works great except one little thing. The lodaded swfs reloads after one second and then it plays like normal. I have placed the start and stop attribute to ensure that the swf doesn't start before its fully loaded, but then this happens.

Can anyone explain what I am doing wrong?

Thanks!



Code:
function loadSwf(sceneSelect){

this.loader.loadMovie(scenes[sceneSelect]);

this.onEnterFrame = function(){
if(this.loader.getBytesLoaded(scenes[sceneSelect]) == this.loader.getBytesTotal(scenes[sceneSelect])) {

this.loader.play();
this.loader._visible = 1;
delete this.onEnterFrame;
}
else {
this.loader.stop();
this.loader._visible = 0;
}
}
};
/NB21

Mask Reloads Movie Clip
Can anyone tell me how to fix this. I put a movie clip inside a ScrollPane. Then I masked the scroll pane. Whenever the mask hits a keyframe on the timeline it reloads the movie clip that is inside the ScrollPane. Why? Please help. I don't want the movie clip to reload. I want it to stay on the frame it is currently on.

Color Transform Reloads Movieclip
I have a movie clip with 4 frames. I programatically create 3 instances of it, and send each one to a different frame. If I later apply a color transform to one of the clips, it plays through all the frames and goes back to it's correct frame. Why does it do that, and can I stop it from doing that?

Thanks

Loaded External Swf Reloads After ~ 1sec
Hi folks

I have this code (AS 2.0 / FLASH 8) for loading swf from an array, and it works great except one little thing. The lodaded swfs reloads after one second and then it plays like normal. I have placed the start and stop attribute to ensure that the swf doesn't start before its fully loaded, but then this happens. Can anyone explain what I am doing wrong? Thanks!


PHP Code:



function loadSwf(sceneSelect){                this.loader.loadMovie(scenes[sceneSelect]);                this.onEnterFrame = function(){                    if(this.loader.getBytesLoaded(scenes[sceneSelect]) == this.loader.getBytesTotal(scenes[sceneSelect])) {                            this.loader.play();                this.loader._visible = 1;                delete this.onEnterFrame;            }            else {                this.loader.stop();                this.loader._visible = 0;            }        }}; 




/NB21

Sound Loop With Multiple Reloads
Hi,

I have created a flash file and I'd like to add some background music. The flash file consists of a basic background and some buttons. When the mouse enters a button, the move flips to a new frame, when it exits the button, the movie loops back to frame one.

How do i set up the music so that I don't get multiple overlays of the sound file when the movie loops back to frame one ?

thanks in advance

Simon

Please Help With Flash Header
Hello all,

I am trying to place my own text in the header of this template. Would someone be willing to help me with this, if I send them the file?m The template is located here: www.michianawebhosting.com


Thank you very much

Help With Flash Header
I need to fix a pop up menu on this header, i just cant seem to get it right. Can anyone help? I will email you the file if you want to help it is to big to post.Thanks All-----

Flash Header
Im building an html site in dreamweaver, but I want to have a flash header. Im finding that after inserting the flash file, it restarts when I click to go to the next page in the navigation. Any way I can keep it constant while the rest of the page changes.

Thanks for anty help!

Sean

Help With Flash-header :)
Hi, sap?!

I'm a 20 years old boy, that live in Oppdal, norway. I'm working at Elkjřp, and have it some fun with webdesign and stuff when I'm not at work!

Uhm, Well.
My english is very bad, but I hope you guys understand my posts in here! =)

I'm currently working on a website for my dads firm. I have all things done, BUT, my dear dad missed some smooth flash-effects in the header I've made. hehe ..

I have tried a lot to make something cool my selv, but, bluh! My skills is like.. crap. I have also tried a lot of tutorials, but everything goes like hell at last..

Sooo... I want to ask some of you pro guys in here...
Do you want to make som smoothy effects in the header I have made for my dad?
You can see the webside HERE! ;D ! ;D

And, in that header my dad wants some cool effects! =) Just look HERE! Thats the old website, and I thing my dad wants someting like this!

Well, I have a .PSD file with the header in different layers, so it is possible for you to play with your skills smile.gif
Download PSD

If someone wants to help me, my dad and I will be VERY happy!

suggestion can be sent to olepehol[at]online[dot]no OR PM!

Flash Header
Im building an html site in dreamweaver, but I want to have a flash header. Im finding that after inserting the flash file, it restarts when I click to go to the next page in the navigation. Any way I can keep it constant while the rest of the page changes.

Thanks for anty help!

Sean

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