Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 12th, 2003, 08:14 PM
DaNabster DaNabster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 DaNabster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Random Image Loader Issues!!!

Need help......bad.....I currently have a main.swf, and I want to load random external image's or swf's that contain images. I just can't get the external image/swf to load in a specific location on my main.swf. I currently have this as my code...

_root.createEmptyMovieClip("empty",1);
_root.empty.createEmptyMovieClip("holder",2);
pict = new Array("snow","im1","im2","im3","im4","im5","im6","im7");
pictPlus = pict.length;
randomPict = Math.floor(Math.random()*pictPlus);
_root.empty.holder.loadMovie("img/"+pict[randomPict]+".jpg");

I've tried setting x and y, but that moves whats inside my main.swf, and not the external files. HELP!!!

Can anyone help me.....pweeze!!

Reply With Quote
  #2  
Old March 12th, 2003, 09:08 PM
JCMerlin JCMerlin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 126 JCMerlin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 29 sec
Reputation Power: 6
You have tried adjusting the _root.empty.holder_x and _root.empty.holder._y ??

Reply With Quote
  #3  
Old March 12th, 2003, 09:14 PM
JCMerlin JCMerlin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 126 JCMerlin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 29 sec
Reputation Power: 6
also try this instead of _root.empty.holder.loadMovie()....

Code:
loadMovie("img/"+pict[randomPict]+".jpg", "empty.holder");

Reply With Quote
  #4  
Old March 13th, 2003, 03:00 PM
DaNabster DaNabster is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 DaNabster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Still no change

Tried implementing the code, but it seemed to do nothing......the same problem still re-occurs....I also tried creating an external swf, and then loading the swf that contains the Random Image Loader, but that has no effect.....even then....that way is just ridiculous....

Any other ideas........


PS> The HABS are gonna make the playoffs!!!!!!

Reply With Quote
  #5  
Old March 13th, 2003, 08:48 PM
JCMerlin JCMerlin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 126 JCMerlin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 29 sec
Reputation Power: 6
Can you post the .fla and give me a thourough description of what exactly you want to happen??

Reply With Quote
  #6  
Old July 10th, 2003, 11:54 PM
Justin_001 Justin_001 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 Justin_001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Now how do you pre-load it???

I have the code working perfectly, but I want to pre-load the image.

I'm not sure how to randomly choose an image (each with different file sizes) and then pre-load it.

The pre-loader I am using at the moment, loads the file, but not the random image.

Any help would be appreciated.

Ta.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Random Image Loader Issues!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway