ActionScript 3.0 :: External SWF Not Loading On Small Handful Of Machines?
Nov 20, 2009
how to tackle it. The worst part is, is that I'm not able to reproduce it on my machine, so at this point, I have no errors to chase down, and no diagnosing tools to see what's happening.
Here's the main issue:
We have this large content sharing site that loads a handful of external swfs, and one of the external swfs does not load for a handful of our site's users. Frustratingly, it loads perfectly fine for me and many other users in a relatively wide variety of environments (PC/Mac/various browsers/virtual machines), so this goes a little beyond MY SWF'S NOT SHOWING UP
Here are some details that might be causing this error:
The main swf has grown rather large. It publishes to just over 600 KB, and more than half of that is Actionscript. I actually had to turn off compress and optimize, because it stopped compiling (this has been a long-running project that has steadily grown over time). I'm pushing for budget to re-architect the site, but that's another story.
The main swf loads a dataset of 5,000+ content piece details (~10 fields of numbers/text each).
As you can see, I'm starting to think this might be a memory issue, which would explain why it's not hitting me and a lot of other people in the office.
However, it might also be a shared object issue. Since I'm running solely off of feedback from user -> client -> us, it sounds like some of the users DO see the swf the first time around, and there might be a shared object error being thrown.
The external swf uses a shared object to save the users project. One of the users (who was experiencing this problem) had an in interesting folder structure where the shared object folder was contained within a folder labeled [[IMPORT]]. I've spent some time googling this, but to no avail.
View 1 Replies
Similar Posts:
Sep 12, 2011
I have a function that creates a group of dynamically created MC'sWithin each MC, there is a group of dynamically created buttons.I got that bit to work fine.Now what I need is to send a handful of var strings and numbers along with each of those buttons, and am not having very good luck doing thatHere's what I got so far...
Code:
function storePageBuilder(a):void{
var storeMC:MovieClip = new store_MC();
[code].......
View 1 Replies
Mar 29, 2010
flash and working on two flash files for a website. They are small, 2.20KB and 4.10 KB. I am testing them on localhost and notice the object creates a box and an icon on the screen for both of them before they load and appear
View 3 Replies
Nov 22, 2010
I'm trying to embed a handful of European language characters into a little flash news ticker (Swedish, Norwegian and some others). I'm embedding my swf file in the html and passing a FlashVars variable This is the text that the ticker displays. For some reason the swf doesn't render the character when I put a foreign character such as in the HTML. I have embedded all these fonts in the dynamic text box in my .fla
Attached is the .fla and .html file where you can input the text for the swf to display. Please have a look for me! (attached zip at bottom of post)
[Code]...
View 4 Replies
Jan 8, 2010
I'm having a hell of a time optimizing my loading sequence for a gallery site I'm working on. This is the way it works:
1. I load and parse an XML containing the URLs to the thumbs and large versions of the photos. - This step is fast and works the way I want.
2. I load the thumbnails in sequence jumping back and forth between two functions - one initiating loading of a thumb, and the other the event handler for that particular thumb which iterates a value, and then calls the initiating function again. I suspect this is where the major slow down happens.
3. When the iterating value has reached the same number as the number of URLs to load, the class dispatches a complete event, and all is well - except so much time has passed that no one will ever have waited to see the content ...
[Code]...
View 7 Replies
May 30, 2010
im following some suggestions to cut my flash website into a few sections to make preloading a bit easier.
so all i want is to make a small round ring rotate as long as the file is loading. so i looked and followed a lot tutorials but all the preloaders tutorials are much more compliceted then i need. they all have persentige sowing, and a bar that is filling according to how much the file has loaded, and colors changing etc. so i tried to take from the tutorials wat i need for my simple preloader to work but i get stuck.i built the animation of the rotating ring, but i get stuck with the actions i need to make the animation work as long as the file is working. i called my ring animation "circularloader". here is a image of the page with the ring:
View 14 Replies
Apr 4, 2011
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest("http://domain.net/registerVideo.php");
var vars:URLVariables = new URLVariables();[code]....
The above client side code works for my machine(using the same web session),but not working for some other machines.
View 1 Replies
Oct 21, 2009
I have tested the movie on ff (linux, mac, windows), ie, and safari.everything seemed to be fine. then one user tried to view it from his windows machine, and he had problems in both ff and ie.it was almost as if the flash movie was not transparent (the flash div overlays an html div.)and yes, i did set wmode to transparent.he is running xp, the newest flash, newest ff, and ie7. the other windows machines i've tested it on have the same.
View 1 Replies
Feb 5, 2010
I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.
[URL]
View 1 Replies
Mar 31, 2010
i set FMS running fine. I have even enabled TCP port forward, not that i need it localy.the thing is, from other machines the FMS wont answer. FME is going
rmtp://192.168.1.100/live/livestream
FMS is in 192.168.1.100 (same machine)
if i go from another lan machine, it simply wont connect.. nor does Access.log relates to anything trying to connect to it. (from other machine, from same machine everything goes smooth)
View 5 Replies
May 22, 2010
I produced an ActionScript 3.0, Flash Player 10 swf in a newly downloaded CS5 (trial version). The file loads fine in both Chrome and Safari on my computer. But when I open it on another machine I only get five animated dots - ..... - in a "wait while loading" manner. The swf never starts. Same on my brother's computer.
My browser has Flash Player 10,1,52,14 installed along with CS5 (swf works). My other computer claims to have Flash Player 10,1,53,38 installed (swf doesn't work). My brother's computer has Flash Player 10,0,45,2 (swf doesn't work).I've tried various publish configs such as on/off xml meta data, on/off hidden layers, embed minimal or more of my font etc.When I configure for ActionScript 2.0 and/or Flash Player 9 my animation breaks totally.
View 1 Replies
Nov 15, 2010
I am working on a large batch of banners with another designer. We are both using the same assets, the same version of Flash (CS4) and are both working on Macs. We are also both using the same fonts through Universal Type Client yet when I open files that he has produced the text elements display lower down than they should. If I align them correctly on my machine and then give back the file the text appears too high when he opens it. There are no font errors when the files are opened and the characters display fine except for the alignment. Does anyone know what might be causing this in Flash or is it an issue with the fonts themselves?
View 3 Replies
Apr 7, 2009
I want to communicate between flash movies on two different machines. Is this possible? Maybe with Flex? Also, can you open a windows command prompt with flash and send it commands?
View 1 Replies
Apr 7, 2009
I want to send variables between flash movies on different machines. How can I go about doing something like this?
View 4 Replies
May 27, 2011
I'm loading an XML file in which each record points to a small JPG for a thumbnail and a larger JPG I'd like to display when the thumb is clicked. Stumbeld upon a cool way to use "this" to keep code tight. But now I can't figure out how to refer to each corresponding image that is loaded into each "big loader" when it's thumbnail is clicked.
I was thinking of initially setting the alpha of the big image's sprite (bgSp) to 0 and changing it to "1" when the thumb is clicked (smSpr). (Would be loading a lot of stuff initially, but the big images would show up FAST when a thumb is clicked). But I can't figure out how to specify which big sprite corresponds to each small sprite. Here's what I've got so far:
[Code]...
View 5 Replies
Oct 17, 2004
I am pulling external images, I have my main image, and five small images, I have that to make the small images when click to appear in the place of the main image, but I am not obtaining to make they to click, I am placing my archive who to want to make download
View 2 Replies
Jun 17, 2011
I want to create a flash program that tracks mouse and keyboard biometrics such as mouse movement speed, click rate, length of keystrokes and so forth. How can I ensure that if a user duplicates his/her actions across multiple machines with varying processor speeds I will record the same data?
View 2 Replies
Oct 11, 2009
I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.
View 10 Replies
Feb 23, 2011
I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:
[Code]....
View 1 Replies
Jun 4, 2004
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
Nov 2, 2010
I used to do this fine with AS2 and now i'm struggling to get it to work in AS3.my code is as follows:
PW1.addEventListener( MouseEvent.CLICK,loader1 );
//==================== PS function =============================================
var ldr:Loader = new Loader();
[code].....
View 3 Replies
May 4, 2011
I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.
View 2 Replies
Jul 19, 2009
I want to load external png's through this code:
(for this code, check the mcBandPreloader in de .fla file)
Code:
var imageLoader:Loader;
var RespJpeg:String = "images/arch1Proj.jpg"
function loadImage(url:String):void {
[Code]....
Here the problem is that I can't type html in my external txt file. (I did checked the html button in Dynamic Text Properties. What am I doing wrong here?
.fla can be downloaded at [URL]
View 2 Replies
Mar 16, 2004
I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player
View 3 Replies
Apr 20, 2005
I'm trying to load a SWF movie into a target movieclip called blankmc. The SWF movie is loaded from an absolute URL (eg. [URL]/img/20042005113934movie3.swf ) My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG! Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?
[CODE]...
View 3 Replies
Apr 10, 2009
Specifically, I am building a flash page that loads external swf files and inside some of the external swf files, I would like to add audio and flash video (flv) streaming from the Flaash Media Server. In some of the external swf files, (using a FLVPlayback component) when you press a button on the main timeline to unload the current playing swf the audio/video continues to play after loading the new external swf file.So I believe that my approach is all wrong and I should be working to dynamically load the .mp3 and.flvs in the external swf ... my questiion is how to unload those assets when loading the new external swf
View 1 Replies
Jun 27, 2009
Lets say I have Main.swf and sub.swf, and I wanna load sub when I press a button from Main, but sub.swf has its own external class file attached, so here is the problem, when I load sub using loader class and I would get this message from the output panel:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at subScript()
seems loader class can not access sub.swf's external class when sub is being loaded.
View 1 Replies
Apr 24, 2010
Lets say I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any limitation or setting preventing external swfs loading other content?
View 2 Replies
May 24, 2005
I created a site using Kirupa's external .swf loading tutorial. Now in one of my externally loaded .swf's, I am loading another external .swf. I've gotten this to work fine, but the second external .swf (loaded into the first) contains buttons that will swap this second external .swf with another external .swf. I can't seem to get the AS references to the variables set up correctly in order to swap the swf's. The initial .swf loads fine, but the button control gets complicated inside it. It sounds rather confusing, so I've included a link to the .fla's and .swf's below.
[URL]
The file structure:
-band.swf load's profiles_main.swf
-The buttons in profiles_main.swf are trying to load chris.swf (swapping it entirely with profiles_main.swf)
View 3 Replies
Apr 24, 2010
I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any security limitation or setting preventing external swfs loading other content?
View 3 Replies