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 November 26th, 2003, 05:44 AM
Pentatonic Pentatonic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Moscow / Russia
Posts: 2 Pentatonic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Pentatonic
loadMovie gets JPG via http each other time

I load JPGs into my movie using loadMovie command attached to a button.

If I press the button - the picture appears each other time.
Click 1: pic appeared
Click 2: pic disappeared! 8-(
Click 3: pic appeared again.
Click 4: disappeared.

I wonder why is it disappearing? See attached example. Button action has commented out line to test same action for local files - it works fine for local JPG. The problem appears only when loading via HTTP protocol.

Initially I found this problem when loading different JPG into the same one movie - same situation - each other time it gives empty clip.

Have anyone met this problem?
Attached Files
File Type: zip whyload.zip (9.7 KB, 288 views)

Reply With Quote
  #2  
Old November 27th, 2003, 06:02 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, I played with your source a bit. The attachment works. All I did was move the code that deals with making the blank movie etc into the button. I added an unloadMovie action as well to make sure you dont just load a new image on top of the last one. Dont think you need this but consider its usage for later on. Try removing it, I think this will still work as the image is loaded into the same depth as the old one.

-Tann
Attached Files
File Type: zip whyload.zip (9.8 KB, 290 views)

Reply With Quote
  #3  
Old November 27th, 2003, 06:12 AM
Pentatonic Pentatonic is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Moscow / Russia
Posts: 2 Pentatonic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Pentatonic
Thanks for answering, Tann!

I came to the same solution -
PHP Code:
 delete _root.mc_info.mc_100;
_root.mc_info.createEmptyMovieClip("mc_100",1); 


Seems to be the only thing that helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > loadMovie gets JPG via http each other time


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 1 hosted by Hostway
Stay green...Green IT