Search found 12 matches
- Tue Feb 09, 2010 10:24 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
I guess "preloader" may be the wrong word. I am hoping to add a progress bar to show the loading of the initial SWF file which is 4mb right now. My next step I think will be to try and reduce that size down to at least 500kb.
- Tue Feb 09, 2010 1:42 am
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
mmm this isn't going well. Is there a chance I can use one of these (http://www.easypano.com/Virtual-tour-so ... 4_375.html) and if so how can I change the code to pull up my SWF?
- Tue Feb 09, 2010 1:24 am
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
OK so I changes the "loader"s to "MyPreloader" but no I get an error that says "access to undefined property loader." vr = MovieClip(loader.content); // cast 'DisplayObject' to 'MovieClip'
- Tue Feb 09, 2010 1:00 am
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
Why would a normal preloader work just fine in the Flash preview but not work online?
- Tue Feb 09, 2010 12:06 am
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
Man this is getting confusing. I changed it to a relative path with no change. I have seen that tutorial and it was pretty simple. At least it seemed. The object that needs the name "LoadIndicator", is that the progress bar? Do I need to rename it that?
- Mon Feb 08, 2010 11:23 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
I think I don't have the code right. This is what I have- import flash.display.*; import flash.net.URLRequest; import flash.events.Event; var loader:Loader; loader = new Loader(); var url:String = "http://www.photosynergy.net/hannesbecker/livingroom.swf"; var urlReq:URLRequest = new URLReq...
- Mon Feb 08, 2010 10:41 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
I took a look at it but I am not that well versed in AS. Is this a good start to add a preloader? Can you explain it a bit for me?
Much appreciated
Much appreciated
- Mon Feb 08, 2010 9:38 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
When I test the preloader in Flash I get this- init panorama player... Sound:_background TypeError: Error #1009: Cannot access a property or method of a null object reference. at PanoCube/init() sound loaded _background uhh... init stage *** Security Sandbox Violation ***...... Is there something I ...
- Mon Feb 08, 2010 8:58 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
Does Pano2VR use Action Script 2 or 3 in it's coding?
- Mon Feb 08, 2010 8:35 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
I used Pano2VR to create the panorama an then used Adobe Flash to create a preloader. Here is the code for the Flash preloader- var myRequest:URLRequest = new URLRequest("livingroom.swf"); var myLoader:Loader = new Loader(); myLoader.load(myRequest); myLoader.contentLoaderInfo.addEventList...
- Mon Feb 08, 2010 7:10 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
Re: A Preloader to load the SWF
No there is no layer of white or anything like that. I used Flash to create the preloader and someone on the Flash forum said "you have a compiler error in one of you swfs. you're trying to reference an object that doesn't exist at the time you're trying to reference it." To fix the proble...
- Fri Feb 05, 2010 9:22 pm
- Forum: ActionScript
- Topic: A Preloader to load the SWF
- Replies: 25
- Views: 20674
A Preloader to load the SWF
I created a web page that contained my swf file. When the page is loading it takes about 15 seconds for the SWF file to start loading. I wanted to add a separate preloader to show the progress. It works but when it loades it only shows my navigation buttons and hotspots. The rest is white. Here is w...