ActionScript 2.0 :: [MX] Preloader Lock Up?
Jun 1, 2004
I'm using a preloader on my website. The preloader works fine on Internet Explorer, however when I tested it in Mozilla and on a Mac (running Netscape) there is a lockup on the preloader. The screen will just sit there and the website doesn't load. Both were running Flash Player 6 which is the version I'm aiming for. I found that if I refreshed the page the site would begin to work, but I doubt visitors to my site would do this and I don't want it to be required to get my site to work.
Heres the action script - from the first frame of my launch movie
Code:
stop();
function loadSWF(theURL, theTarget) {
loadMovie(theURL, theTarget);
loaderInterval = setInterval(loadChecker, 50);
}
[code]....
As you can see I call the loadSWF function to load menu.swf into the holder1_mc movieclip. That function then sets an interval with the loadChecker function that acts as the preloader. This is where nothing happens on some browsers (yet it works fine in IE).
View 2 Replies
Similar Posts:
Jun 1, 2004
I'm using a preloader on my website. The preloader works fine on Internet Explorer, however when I tested it in Mozilla and on a Mac (running Netscape) there is a lockup on the preloader. The screen will just sit there and the website doesn't load. Both were running Flash Player 6 which is the version I'm aiming for. I found that if I refreshed the page the site would begin to work, but I doubt visitors to my site would do this and I don't want it to be required to get my site to work. I'm going to post the code I'm using below. Heres the action script - from the first frame of my launch movie
[Code]...
View 2 Replies
Dec 16, 2009
I am designing a webpage with a password (yes, I know it can be hacked)I want to be able have an alert appear in the textbox "mess" when the Caps Lock key is activated. (not just being held down). I have already tried this and it comes out as staying on until you leave the page or mess changes.[code]What can I put to make the "CAPS LOCK IS ON" go away when the capslock is off?
View 1 Replies
Nov 8, 2010
i save my flas in the normal "save as" and i find some of my flas have a lock icon on the red fla icon.
View 3 Replies
Jul 1, 2009
I'm wondering if there is an effective way to insure a .swf file uploaded to "Website A" will refuse to run on any website outside of "Website A". I recall years back that AS2 could compare the .swf file's URL location to a URL String, something like:
ActionScript Code:
if (_root._url != "http://www.mywebsite.com/content.swf") {
//block access
[code].....
View 7 Replies
Jul 6, 2007
I've created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true have both sliders move simultaneously to the same values if either one of them is dragged...
View 1 Replies
Jun 11, 2009
I am using loadmovie to load in swf in my main swf.
The FPS of my main timeline is : 20FPS
The SWF I am loading is : 8 FPS
When i load it in it is automatically changed to 20 FPS.
Is there anyway to lock FPS?
View 2 Replies
Jul 31, 2009
This is for a fretboard type game, I want six dots (fingers) to lock on to any of the 6 targets. This code doesn't seem to work, instead of locking on to each target, the fingers lock on to the last one (target6_mc) and whenever they are droped over the other targets, they just locks on to target6 again. any suggestions? Excuse the noobness
Code:
package
{
[code].....
View 3 Replies
Sep 26, 2010
I'm doing a website for me, with flash... I want that the site is "full browser screen" but, I need that only the background is stretched for the size of the browser window, all the other elements (like nav bar, logo etc) will be in the same position, and MUST NOT be stretchet like the background...
How can I lock the position and dimension of the element of the website, but let the background stretch?
View 1 Replies
Jul 14, 2009
I would like to create geo locking module which would react per-file/stream. This means that one particular file which will be streamed via FMS can be geolocked to one country (e.g. Lost can be viewed only by USA viewers (IPs)).Flash video player connects with nc.connect() and plays file with ns.play() method. Geolocking would happend on ns.play() since some files/live streams are locked to some countries (not everything is geolocked and once they are, are not geolocked to same countries so everything happend on per file basis).
Can this module be done in Actionscript or is it necessary to use C++ module?
View 2 Replies
Dec 18, 2009
I have a flash gallery which works fine, the images for the gallery are determined by .xml files. Problem is when the image is not exactly the same size as the area defined in the .fla it defaults against the top and left, not the center of the space.
View 5 Replies
Feb 17, 2010
Like shared objects we have lock, but what If I want to implement lock on the particular script. For example at onConnect of any user to FMS,I have script which is doing 8-9 different tasks before or after accept the user for that FMS application session (including remoting calls).Now if 20 users came at the same time in the same room, how will FMS execute them and process the 8-9 task, which user will be executed first and who would be next.In short, how FMS will execute the piece of code or process for multiple user at the same timeSo locking system can fix this problem I think.
View 5 Replies
Nov 25, 2010
I created a swf animation in Flash.The size is 1024x768.When playing the SWF file, if I change the size of the window, it doesn't keep the artwork size.As result when increasing or decreading window size, it shows what it is outside the 1024x768 and I don't want.Ex. The footer line that goes from left border to right border is now foating in the middle, not touching the border anymore.Is there a way to freeze it. So when I increasing or decreading window size, I see the artwork size only?
View 1 Replies
Dec 13, 2011
Can we write in UPPERCASE while caps Lock is off?
View 3 Replies
Feb 18, 2010
I want to create a dialog or alert box, where a DisplayObject would take and force the focus, until an okay button or something releases the lock.
View 3 Replies
Jun 23, 2010
Is there a way to lock the mouse X and Y position?, I mean, I want to move my mouse but I want that the mouse position to be locked on.. let say, the center of the screen. Btw, I need to do this using Flash.
View 2 Replies
Feb 11, 2011
iam planning to make a flashgame that requires the player to aim with his mouse. so there will be a crosshair. now i have the problem that whenever the mouse leaves the embedded flash stage and clicks outside this frame.. the player has to click in the flash field again to be able to play again. that sucks. is it possible in flash to lock the mouse in the gamewindow?
View 2 Replies
Feb 7, 2009
i am making a password page in flash and want to show that if the caps lock key is on it will display it in a text box that i make
View 0 Replies
Sep 5, 2009
way to lock the width and height ratio? I'm trying to set the width of the mc equal to the stage but have the height keep in relation to the original ratio also. So the wider I open my stage the taller the mc gets also.
sizeXListener = new Object();
sizeXListener.onResize = resizerX;
Stage.addListener(sizeXListener);
[Code]....
View 0 Replies
Sep 16, 2009
i have my stage with StageScaleMode.NO_SCALE, i resize my movieclips with an eventllistener for the stage resize event and tweener. this works great, but if i have videos nested in my resized movieclip, they are looking so horrible choppy (becouse there is no smoothing property for them like you have it for bitmaps). so i wonna tell them to keep there size forever, even if the parent movieclip gets resized.
View 2 Replies
Jan 27, 2010
I am makinIve got a clock and ive made it so that they can drag and drop in the required place, but i need the hour hand to lock on to the "1" on the clock or the "5".What I also want, is when you put the minute hand on the "20 mins" and the hour hand on the "5 hours", i want it to play a sound or say "5 past 20",etc
View 2 Replies
Aug 20, 2005
I have a full size page and want a graphic to stay locked to the right so when resizeing the broswer window the right side of the graphic stays on the right and the left side disapears into the left or shows more if the page is resized more, without scaleing the page size. I know how to do this in CSS but not actionscript yet?
View 3 Replies
Oct 30, 2005
How would i lock a text box. I thought it was mvc.enabled = false; but i guess not.
View 4 Replies
Feb 11, 2008
(searching this forum doesn't seem to work for me any more I get no result)how do I lock the window size with AS? the obvious thing is html, but its suppose to be a hand out.I have an exe, which loads in swfs as a cheap cover for those without the plugin.
View 5 Replies
Jun 4, 2002
I am trying to get two movies to lock together when they collide. Does anyone have any suggestions on this? I will list my details below.I am trying to simulate the bonding of antigens and antibodies. To do this I have two movieclips named antigen and antibody respectively. These are duplicated as the user clicks on one of two buttons with the following:
on (release) {
duplicateMovieClip ("_root.antibody", "antibody"+i, i++);
}
View 1 Replies
Aug 20, 2009
what I have are pieces of a truck and the user needs to be able to drag and drop the pieces to the correct locations. I can get the pieces to drag, but I need help locking them into place once they get within a certain area. So for example if they drag and drop the wheels of the truck towards the back, but not in the exact location, then the movieclip will move and lock into place and then the movieclip becomes disabled.
var dragMC = finalMC.graphicMC;
///////////////////////////////////////
onMouseMove = function () {
updateAfterEvent();
[code]....
View 1 Replies
Sep 4, 2011
i want to make electronic lock for my flash game (like in sci fi movies).whole game is written in AS2.it should look like this At top thers dynamic text box, under it there are 10 buttons labeled from 0 to 9 and at bottom there is button labeled ENTER.when you press any of the buttons it should write numeric value at dynamic text box( 6 digits code), and when enter is pressed it should check if code is ok.First part of the problem is how to make buttons to write series of numbers into dynamic textbox.Second is to write if loop which will on enter button press check dynamic textbox content and trigger some action if correct or clear textbox and allow another try.
View 4 Replies
Sep 21, 2011
I have made a resizeable box that you can resize using handles on all four cornersI have tl (top left handle), tr (top right handle), bl (bottom left handle) and br (bottom right handle)Its rather difficult to explain. See the picture attached, the blue arrows are where the mouse could move and the green arrows are where the boxes should goor now let's concentrate on moving the tl handle so that when it is moved left or downwards it gets smaller, towards the br handle
I've have tried this:
tl.y = tl.x
tl.x = tl.y
[code].....
View 7 Replies
Dec 13, 2011
I am creating animations in Flash 5.5 for use in Captivate 5.5. I have created a drag-and-drop animation for a horizontal line and a vertical line, to act as moveable "straight edges" for use on complicated charts. How do I lock the horizontal line to just move along the Y axis, and the Vertical line to just move along the X axis? (I'm a relative newbir working in Flash.)
View 8 Replies
Mar 30, 2012
import flash.display.BitmapData;
import flash.display.Bitmap;
import flash.geom.Rectangle;
[code].....
View 4 Replies