ActionScript 2.0 :: Swf File Not Visible Until Page Refreshed?

Feb 16, 2009

I have a swf with a link which loads another swf, the second swf is not visible unless you refresh the page or "back out and go in" again. have a look at [URL] If you click on the image labeled "Television" you should see the new swf but all you see is the television image link in the lower left (this is correct as you use this to (back out) return to the main swf. If you then go back and try again the new swf shows.

Here is the code I am using to load the second swf

ActionScript Code:
function released()
{
home.tooltip._alpha = 0;

[Code].....

View 9 Replies


Similar Posts:


ActionScript 2.0 :: Preloader Doesn't Go To The 2nd Frame If The Page Is Refreshed

Mar 26, 2006

my preloader is working when its first run, but it doesn't go to the 2nd frame if the page is refreshed. (Its for a swf that has about 9,000 frames but I don't think thats the issue)

Code:
onClipEvent (enterFrame) {
mctotal = _root.getBytesTotal();
mcloaded = _root.getBytesLoaded();

[Code]....

View 4 Replies

Actionscript 3 :: Preloader Loads Once Then When The Page Is Refreshed It Doesn't Load?

Oct 25, 2010

I have a .fla that has a preloader on frame one and the rest of the file on frames 2 thru 55. The preloader code is the one that comes in Flash cs5's sample files. there is a movie clip with the instance name lbar and text with the name lpc. here is the code

stop();
import flash.display.*;
this.stop

[code]...

It works fine the first time people are on my site but when the page is refreshed or is gone back to sometimes the loader bar is just stuck and doesnt load.

View 1 Replies

ActionScript 2.0 :: 'call' A Screen Tha First Was Visible 'false' From A Buttom On First Page

Nov 3, 2004

How can I "call" a screen tha first was visible="false" from a buttom on my first page usig flash form application?

View 4 Replies

Flex :: Accordion Flickers When Refreshed?

Mar 10, 2011

I have an accordian which contains a repeater. That repeater takes an array as a dataprovider. The array in turn gets data from an XML file, on server, via HTTPService.

Now, data in the XML file gets modified after sometime frequently so I send the HTTPService after every 5 secs by using a Timer.

Problem: When the timer timesout after 5 secs, HttpService is sent, data is retrieved and showed in accordian but each time this happens, the accordian flickers. Thus, the flickering happens every 5 sec which is quite irritating.

Can I somehow remove the flickering to make the accordian update seemlessly? If it's the problem with accodian, will it persist if I use a DataGrid in place of accordian?

View 1 Replies

Flex :: What Event Fires After Chart Refreshed

Nov 22, 2011

When executing dataprovider.refresh() for a chart component it redraws the chart. How do I determine when the chart is redrawn? I would like to take a png screen shot of the chart when it is fully drawn.

View 1 Replies

ActionScript 2.0 :: External Txt Refreshed - Old Values Are Still Displayed

Apr 13, 2006

I use an external txt to load some vars... works fine... But when I change the values of vars in the txt, and reload the txt in my swf, the old values are still displayed. Only when I take a new browser I can see the changed values. Does enybody know how to make sure I can load my changed vars from the txt without refreshing the internetbrowser?

View 2 Replies

ActionScript 3.0 :: Site Slow After Clicking Various Sections - Fine One Refreshed

May 3, 2009

I am working on my new portfolio, made entirely in AS3. I am well aware that it is quite graphic heavy, and the videos will slow down some of the other animations. What I can't seem to figure out is: why does it load fine initially, but once I click around to various sections previous sections seem to be slower and slower. When i refresh the site it runs quickly again (except in FF on a PC, thats another issue I'm working out). Is it simply just a memory issue? Aside from getting rid of videos/rasterized images, does anyone have any tricks as to how to get it to run smoother? Seems to me that if each section runs fine initially, but only run slow once different sections are loaded then perhaps there is a solution. [URL]

View 3 Replies

Professional :: Flash Banner On Website Won't Load Until Browser Is Refreshed

Oct 4, 2011

I am having this problem on a website where the flash banners for each  page wont load in any browser until you either refresh F5 the page or  try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. [URL] Some research suggested "Usually this happens if there are a lot of  linkaged objects in the library with 'Export in first frame' option  enabled. If this is the case, please disable this option. The problem is  not in the quantity of the linkaged movieclips with 'Export in first  frame' option enabled, the problem is the size of the objects which are  linkaged."

View 7 Replies

Flex :: Prevent An Html-template Sub-folder From Being Refreshed During Build?

Apr 25, 2011

I placed my AMFPHP folder inside my htmltemplate project folder, but now everytime i build it wants to 'refresh' the folder which takes forever. Is there a way to set it so that folder does not refresh each time? I put the AMFPHP folder in there so I can have a unique copy for my debug builds and leave the production build one alone.

View 1 Replies

Professional :: Flash - Banner On Website Wont Load Until Browser Is Refreshed??

Nov 18, 2010

I am having this problem on a website where the flash banners for each  page wont load in any browser until you either refresh F5 the page or  try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. Some research suggested "Usually this happens if there are a lot of  linkaged objects in the library with 'Export in first frame' option enabled. If this is the case, please disable this option. The problem is not in the quantity of the linkaged movieclips with 'Export in first frame' option enabled, the problem is the size of the objects which ar linkaged." I have de-compiled the SWF and checked out the library, but really have no idea in regards to Flash files and their construction as to what is or isn't an issue.

View 5 Replies

Professional :: Pasteboard Visible In Swf File?

Nov 28, 2011

why is pasteboard visible in swf file ?

View 8 Replies

Professional :: PNG File Visible Outside The Boundaries Of Banner?

Sep 16, 2010

I exported a swf file of my animated Flash banner, and my one of my images (a PNF file I imported into my Library, and drug to my Stage) is larger than the stage area.  When I expand the window of Flash Player of my swf file, I see the boundary area of my banner, but the rest of my image is visable outside of the banner area.Imagine just the tip of an iceberg is what I want within my banner, but the ENTIRE iceberg is visale beyond the set size of my stage...that's the best way I can explain it. Is this something to do with PNG files in Flash

View 4 Replies

ActionScript 2.0 :: Flash 8 - Load Specific Swf Files When The Screen Is Refreshed Or When Someone Clicks On The Home Or Index

May 29, 2007

awhile back I completed the load random swf tutorial provided here on kirupa. But now I want to load specific swf files when the screen is refreshed or when someone clicks on the home or index. here is the code, can anyone point me in the right direction?

[Code]...

View 1 Replies

Getting A Link Within An Swf File On One Page To Open A New Page?

Mar 23, 2009

I am able to pass a variable from an html link that loads a separate html file and instructs the embedded file to go to a specific frame.But - I now need a link within an swf file on one page to open a new page and tell that swf to start on a specific frame and it is not working. Here is the code I use for the first example - works like a champ:

html file 1

Code:

<a href="fullpage.html?stateVar=19">Go here</a>

html file 2 swf embed code with variable info:

Code:

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("yourSWF.swf", "sotester", "500", "500", "8", "#FF6600");

[code]....

View 2 Replies

ActionScript 3.0 :: 5006: File Cannot Have More Than One Externally Visible Definition

Nov 9, 2011

Im new in actionscript3, however i always got this error 5006: An ActionScript file can not have more than one externally visible definition when i run my flash im using flash pro cs5 and actionscript3. here is my code, and i believe the code is right i dont know where the problem, i like have a class added in code more than one time as what i understand, please need help to find the way for how i solve this problem.

[Code]...

View 4 Replies

Flex :: Preloader Has To Be Visible Until Other External File Loaded

Jun 13, 2011

I have a Flex application that loads some data from the database. During this I want my custom preloader stay visible. When I postpone the dispatchEvent( new Event(Event.COMPLETE)) in the FlexEvent.INIT_COMPLETE handler, the loading will never happen because the next frame is not entered. How can I keep the loader running until all the data is fully loaded?

View 1 Replies

ActionScript 3.0 :: 5007: A File Must Have At Least One Externally Visible Definition?

Oct 19, 2011

Im getting a this error message when i test my movie 5007: An ActionScript file must have at least one externally visible definition.

View 6 Replies

ActionScript 3.0 :: Visible = False; Not Working For Parent File

Jan 27, 2011

So i have my index.swf file with an mc called "loadingspace" (as instance) who appears on a 10 frame animation.

At the 10th frame i have placed this code:

Code:
var my_loader:Loader = new Loader();
my_loader.load(new URLRequest("http://www.mysite.com/preload/preloader.swf"));
addChild(my_loader);

[Code]......

View 3 Replies

ActionScript 3.0 :: Visible / Hidden Scrollbar For Dynamic TextField (XML File)

Aug 18, 2010

I am currently creating an online portfolio using Slideshowpro [URL]. For some of my pictures I am using (external) captions from a XML file, inserted into a dynamic textfield. As some of the captions contain a lot of text I decided to add a UIScrollBar. However, when there is no text (no caption) available, I want the scrollbar to be hidden. Also if there is not enough text to warrant a scrollbar it would be great if it could be hidden!

Code below, note that "t_txt" is the instance name of my dynamic textfield:
import flash.text.TextField;
import net.slideshowpro.slideshowpro.*;
import fl.controls.UIScrollBar;
XML.ignoreWhitespace = true;
//remove scrollbar from stage, scrollbar component must be in library
var sbContent:UIScrollBar = new UIScrollBar();
[Code] .....

View 1 Replies

ActionScript 3.0 :: Error 5007 Saying File Must Have At Least One Externally Visible Definition.

Dec 20, 2010

I use flash cs4, and i'm doing a mouse trail effect,but i keep getting error 5007 saying : An ActionScript file must have at least one externally visible definition.

i dunno what on earth it means and how to fix it.it says the error's at line 1.

[Code]...

View 2 Replies

ActionScript 3.0 :: In-visible Sprite With Visible Children?

Sep 28, 2011

My question is: Set parentSprite.visible = false will make all children in parentSprite all invisible, right? And is there any way to just make parentSprite itself invisible without effecting it's children?

View 2 Replies

ActionScript 3.0 :: On Click Object Visible Not Visible

Aug 8, 2010

I want to click on an object and make it appear and disappear. As the object is rectangular, I figured putting a white button the same size on a white background on a layer underneath the object would do this, but I can't seem to make it happen.I'm a complete novice, frustrated as I've been trying to achieve this all day and I'm sure it should be pretty simple, but could you give me the idiots guide. I know how to name an instance, make an object, script in actions on a separate layer. I would like to draw the button myself and give it an instance rather than drag it off the button component (as I can't work out how to make the component button white, change its size etc.!)

View 5 Replies

ActionScript 2.0 :: Visible = True & Visible = False?

Apr 1, 2009

Code:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()[code]....

When the checkbox (cb1) is clicked the "my_Dyn_Txt1" is visible. The problem I'm having is - when I move forwad and back in my frames the checkboxes which were clicked are not visible due to

Code:
my_Dyn_Txt1._visible = false

How can I make ("my_Dyn_Txt1"), a clicked checkbox STAY VISIBLE even after I move forwad and back in my FLA frames?

View 11 Replies

ActionScript 3.0 :: Syntax Error: 5006 A File Cannot Have More Than One Externally Visible Definition

Apr 6, 2011

I am getting a syntax error when I try execute the following code. The error is the following : 5006 An ActionScript file can not have more than one externally visible definition

The code

ActionScript Code:
[COLOR="blue"]package
{
import flash.events.TimerEvent;

[code]....

View 1 Replies

ActionScript 3.0 :: Project - Install To Run Catalog But The Supportive File Should Not Visible And Edit

Jun 24, 2011

I did Product catalog, it contents intro and supportive files (.swf) how to give non editable file to them. or it should ask to install to run this catalog but the supportive file should not visible and edit.

View 3 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

Have An Animated Logo Swf File That Loads And Runs Once On The Home Page Every Time The Page Loads?

Jun 25, 2009

I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.

View 6 Replies

ActionScript 2.0 :: "call" A Screen That First Was Visible="false" From A Button On First Page?

Nov 3, 2004

How can I "call" a screen that first was visible="false" from a button on my first page usig flash form application?

View 4 Replies

Professional :: Convert Flash File With Page Turns To A File Useable On An IPad?

Sep 23, 2010

I have created a booklet in InDesign cs4 that includes page turn transitions. I have saved it as a SWF file and it works perfectly on my PC with the ability to sweep through the page turns. My issue is now, what type of file can I export the SWF file to so that I can view it on an iPad and am still able to have the page curls?

View 3 Replies







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