LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-27-2003, 08:17 PM
dv8's Avatar
dv8 dv8 is offline

Admin Mod
 
Join Date: Mar 2001
Posts: 2,053
Rep Power: 15
dv8 is on a distinguished road
LoadVars.fileExistsAndLoad(url, dep, targ);

If anyone missed FlashGuru's FileExists code do check it out...
http://www.flashguru.co.uk/000310.php

So I decided to play with it
Came up with a Modified Prototype Function.
Most stress this is a Work in Progress.
PHP Code:

LoadVars.prototype.fileExistsAndLoad = function (urldeptarg) {

    
this.onLoad = function (success) {
        if (
success) {
            
nm targ.createEmptyMovieClip("swfHolder"dep);
            
nm.loadMovie(url);
        }
    }
    
this.load(url);
}
ASSetPropFlags(LoadVars.prototype"fileExistsAndLoad"1); 
Still some issues that have been brought up in the past.. like a 404
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with page flipping newanp Flash MX ActionScript 0 08-28-2005 10:06 AM




All times are GMT. The time now is 04:39 AM.