Go Back   kirupaForum > Flash > Flash IDE

Reply
 
Thread Tools Display Modes
Old 02-06-2006, 07:41 AM   #1
crazyoval
Registered User
loading external png files to a Flash movie?

Hi all, Flash documentation Ive seen says that Flash 8 can now load an external png file (previously only a jpg or swf file could be loaded) into flash and there are some good tutorials that cover this. The image loader component I see in Flash 8 says it only loads jpg and swf still.. so how do I do a png file then?

But Ive not been able to locate a tutorial or documentation that explains what is needed to enable an external png file to be loaded, can anyone locate one for me?

note: Im not talking about importing images here, this is to load an external png file into a movie that is open.

Many thanks
crazyoval is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?

Old 02-06-2006, 08:03 AM   #2
Dutchy
Registered User
 
Dutchy's Avatar
Hi,

very basic flash, just like with jpg and swf use:

Code:
targetmc.loadMovie("imagelocation/imagename.png");
and the external png is loaded

Dutchy
Dutchy is offline   Reply With Quote
Old 02-06-2006, 10:46 AM   #3
crazyoval
Registered User
OK thanks.. so there is no component like the swf / jpg loader then. thanks
crazyoval is offline   Reply With Quote
Old 02-06-2006, 10:54 AM   #4
JoshuaJonah
Geek Womanizer
 
JoshuaJonah's Avatar
Location Ontario, Canada

Posts 3,414
same way

__________________


member #1 of the "XML-is-a-crutch-to-make-people-feel-elite-club"
K-Emmys-06: Best Quote K-Emmys-06: Flash Genious
JoshuaJonah is offline   Reply With Quote
Old 02-08-2006, 08:22 AM   #5
crazyoval
Registered User
Quote:
Originally Posted by Defective
same way

Defective, are you saying the swf/jpg loader component also loads pngs? Ive tried that and it didnt.. anyway,,, better try it again if that is what you are saying.

Many thanks both you guys

G
crazyoval is offline   Reply With Quote
Old 02-08-2006, 08:34 AM   #6
crazyoval
Registered User
duh!! script assist shows this clearly. THanks guys once again.
crazyoval is offline   Reply With Quote
Old 02-08-2006, 02:05 PM   #7
SlowRoasted
-
Location Macon, GA

Posts 5,150
cool, I was about to ask the same question and it was already on the first page haha. Thx

__________________
SlowRoasted is offline   Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
external movie help trever ActionScript 2 (and Earlier) 5 02-03-2006 11:00 PM
need help loading a .mpg4 to flash. "LOST AUDIO" mexsk8er Flash IDE 1 02-01-2006 10:17 AM
Loading External Text Files into Flash MX andyBateman Flash IDE 4 07-25-2003 09:25 AM
problems with loading external files and preloader jorena ActionScript 2 (and Earlier) 0 04-27-2003 09:56 PM


All times are GMT -4. The time now is 11:13 PM.

SHARE:

SUPPORTERS:

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com