Actionscript 3.0 :: White Box Pops Up Before Loading?
Jan 26, 2011I designed a site in AS3 and real quick in less then a second the 800x800 size of the flash template pops up in white then the preloader shows up to load the site.
View 3 RepliesI designed a site in AS3 and real quick in less then a second the 800x800 size of the flash template pops up in white then the preloader shows up to load the site.
View 3 RepliesI'm working on this flash site This is my first time using the loadVars command, so I'm guessing I'm doing something wrong with it.I have a movie clip that acts as a window, it has an animation of popping up, once it does it has a text box in it thats set up to display html. It then loads the html from a txt file, which works fine. The problem is, when the user clicks on another page, the window pops out, starts over from the beginning and pops in, this time loading a different txt file for the html. This also works, however, if you select the text or click on it at all and then switch the page, anywhere you click next will make all the text in the box vanish. You can click and hold onto the scroll bar and scroll down, but the second you let go it vanishes.
Here is the loading code on the frame in _root:
[code]...
I can't think of any reason why this is happening, and all of my debugging attempts have failed.
I want to make a preloader, and I know how to make basic ones (where a rectangle gets bigger as the amount of loaded content increases), but I would like a little more complicated one, like this: I have 20 letters in my website title, and when you go to my website you don't see anything, but as it loads, for every 5% loaded, a letter will blur in.
View 6 RepliesThis is a combined Dreamweaver/Flash question. I have added to a webpage a flash movie, once I navigate away from that page and then back again I get a white flash when the Flash movie page loads. I have looked through the forum history and tried some various fixes, such as changing the .swf's background color, didn't work, add code in dreamweaver which embeds a darker color, nada.
View 5 RepliesWe uploaded a simple flash site in URL... and when it starts downloading for few seconds it shows white space rather showing the perloader. and the background of the website is blue but it show white during this transtional time.
View 1 RepliesI tried to create this preloader and test it but it seems not to work. I saw this tutorial, i tried to do it but unfortunately it doesn't work for me. I want to do it the easiest way possible. just : a loading bar ( white line) a background bar ( a blu background bigger line ) a AS ( which i am not able) i sent the file in attachments please look at the AS inside the symbol, an tell me where i'm wrong
View 4 RepliesI am trying to load a html text from a XML with flash cs4 but It loads with huge whitespace before and after the text. In an older, different version of the site made in AS2 it loads the same xml with no whitespace.I've tried setting xml.ignoreWhiteSpace = true but it doesn't seem to change anything.
flash code:
Code: Select allvar XMLRequest:URLRequest;
var XMLLoader:URLLoader;
var xml:XML;
[code]....
I have an online application that loads a variety of different languages. I have one main interface file that loads the appropriate language that is needed for the end user. These languages are being loaded from a txt file encoded using UTF - 8. Most of the languages are displayed fine in the dynamic text fields that are all embedded in Arial. The issue I have recently run into is with the French and Czech languages. In both languages the white space that follows a number is always removed. For example "20 minutes" would be displayed as "20minutes". Then in the Czech language I am also loosing spaces after certain letters, such as "a" and "v".
View 1 RepliesI'd like to be able to click on each of the buttons and have the background color change and also have its color name loaded in the dynamic text field. E.g. Clicking the white square would change the background color to white and should also display the text ''white'' in the dynamic text box. I've sorted out the colour changing part with the following code:
[Code]...
Does anyone know, why a textfield may become white when loading text + JPGs into it? Sometimes it happens to me, sometimes not. I haven't figured out why. If you have any clues... The AS I'm using:
[Code]...
I dont have flash experience but would like to create a navigation bar like the one on this website http:[url]... I like the way the menu pops onto the screen but dont know what that effect is called so am having trouble finding a tutorial.
View 2 RepliesI have a button that pops up a box display But I have so many its driving me nuts. Someway to auto array this somehow would be nice... reading but just need a pointer somewhere
[Code]...
how some websites you click on something, a flash window (I'm assuming it's a flash window) pops up and everything goes dark around it (and you can't click anywhere) until you close the window.
View 5 RepliesIm trying to make a menu that pops up on(rollOver) but when I add script to the buttons they don't work.
View 7 RepliesEvery time I get to frame 15 of my first scene, Error 1009 pops up in the output panel.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at shooter_fla::MainTimeline/frame15()
Here is my code for that scene:
import flash.events.MouseEvent;
stop();
combat.addEventListener(MouseEvent.CLICK, real);
function real(e:MouseEvent):void{ gotoAndStop(1, "Combat")}training.addEventListener(MouseEvent.CLICK, GoT);
function GoT(e:MouseEvent):void{ gotoAndStop(1, "Training")}
Clicking to go to the Combat scene works fine, but going to Training doesn't work.
I am using Coldfsuion 8.0.1 and Solaris 10 and when i try to run this URL,I am receiving an error message "Premature end of file".And when i hit the same URL from browser it shows:
<amfx ver="3">
−
<body targetURI="/onStatus" responseURI="">
[code].....
I've made preloaders in the past, but now I'm getting this error, and I don't know what is exactly the problem. TypeError: Error #1009: Cannot access a property or method of a null object reference at com.mugui::Footer().If I erase all references of the footer from my Main Class the flash works normal. So the problem comes from my footer, but why?.My main class:
Code:
public class MuguiMain extends MovieClip
{
private var contentHolder:Sprite = new Sprite;[code]..........
when using a timer to fade volume, I get clicks and pops in the sound.The fade goes from 1 to 0 in 30 ms. Is there any way around this? Could it have something to do with the fla file's frame per second? This is set at 100.The fader timer is inside another timer (which varies from 150 to 1000 ms)
View 2 RepliesI've made preloaders in the past, but now I'm getting this error, and I don't know what is exactly the problem. TypeError: Error #1009: Cannot access a property or method of a null object reference at com.mugui::Footer()
If I erase all references of the footer from my Main Class the flash works normal. So the problem comes from my footer, but why?.
My main class:
Code: Select allpublic class MuguiMain extends MovieClip
{
private var contentHolder:Sprite = new Sprite;
private var mainContent:MainContent = new MainContent();
[Code].....
when i import my flash doc into frontpage and view in IE...a secuirty settings pops up and doesn't allow it to play. i have windows XP
View 4 RepliesWhen the link is clicked, it pops up a new window with the path of the fla file in the address bar and an UNDEFINED at the end...
Code:
on (release) {
getURL(_root.clickTag, "_blank");
}
With this AS on the button the link does not pop up at all
Code:[code]...
I've used clickTag, clickTAG, ClickTag, and ClickTAG all with the same results... not that it should matter as long as the flash and html match.I've tried to add the clickTag in the html like this
HTML Code:[code].....
And none of that is working so maybe SWFobject would work?
I know how to make a symbol "clickable" to where it brings you to a URL, but I need to know how to make my game (I made for a virtual world) to pop up when I click on a laptop (not in a new link).
View 2 Repliesthis is hard to explain, but I can't find out how to make it so when I press a button, a menu pops up in the middle. How would this work for an online game? Since I don't want it to go to the next frame, how could this be done? when I push the button, a shape pops up in the middle of the screen.
View 4 RepliesI've created a popup navigation menu at: [URL] In firefox and internet explorer everything works fine - the menu pops over the flash. But in Chrome, Safari and Opera the menu is behind the flash.
View 1 RepliesThe PHP file is ran with headers to force a download (from flash/as3 project), but it also pops up a blank page. Is there a way to close that after?I don't think users want blank page popups springing up.[code]
View 1 Repliesi'm making an interactive map when preess on a button an info box pops up using. This is code for this. This works.
[Code]....
The form is done and works. I set it up to send an email when the "submit" button is pressed. The problem is that after the form is submitted the home page pops up in a new window. I need it to send the email without a new window popping up. Here is the code.
var address:String = "/gdform.php";
var url:URLRequest;
var variables:URLVariables = new URLVariables();
[Code].....
I am trying to make a flash app where you click a movie clip (a picture frame) and a picture gallery pops up.Here is what I have so far. Click the Picture Frame movie clip and a shape tweens (for 24 frames) out to make the background for the gallery and I have a new key frame with a picture on it and left and right buttons. Then I have key frames following the first picture that just have images in them.At this point I use stop(); on that frame and stop the movieclip on the first picture. Now I'm trying to get the buttons to go forwards and backwards. It seems an easy enough task, I just can't figure out how to get the currentFrame and the totalFrames for my movie clip symbol.[code]I have also noticed that even when I replace the entire function with nextFrame (); it only restarts the movie clip symbol from the shape tween up to the first keyframe with a picture.
View 1 Replieswhat i am trying to achieve is have a rollover on a button that pops up a 'window' with some text on it (i have this bit worked out) then once the user has finished reading the text they rollout from the 'window' and the image behind is restored. i have attached the .fla so you can see what i mean.
what is going wrong is that the active part of the rollover on the button is only very small and as the 'window' expands and then reveals the text, the active part of the button remains small. so when the user moves his or her mouse the 'window' disappears. i'd like it to stay open until they rollout from the entire text window.
i created this contact form in flash 8 and i get the email but an UNDEFINED message pops up on my status i cant get rid of it here is my action script for the submit button
[Code]....