Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-19-2009, 08:28 PM   #1
angerbee
Registered User
 
Join Date: Feb 2009
Posts: 24
Default Importing Image Locally to SWF and Not To Server

Is there a way to insert an image into an Image object within an SWF at run-time instead of having the image upload to the server and then having to Image.load(url) later?
angerbee is offline   Reply With Quote
Old 02-19-2009, 10:58 PM   #2
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default

ActionScript Code:
<mx:Image source="where/is/my.jpg"/>
?
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Old 02-20-2009, 01:39 AM   #3
angerbee
Registered User
 
Join Date: Feb 2009
Posts: 24
Default

No, this is not what I meant. I want a user to upload an image to insert onto the stage, but I don't want it uploaded to the server, only to be used locally. I see examples like these, but it's almost as if they are different libraries. I do not have access to the load() method and data attribute for flash.net.FileReference.

http://www.mikechambers.com/blog/200...ash-player-10/

http://blog.flexexamples.com/2008/08...r-10/#more-766
angerbee is offline   Reply With Quote
Reply


Thread Tools
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

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

Forum Jump


All times are GMT. The time now is 04:13 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.