Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert image from file in Adobe Flash AS2

Guest
Feb 26, 2014 Feb 26, 2014

Hello!

I am working on one project in Adobe Flash AS2 and I would like to know, is it possible to create such button in the flash movie, that when is pressed on, opens a file browser for the computer. After that, the user chooses an image to insert in the flash movie. And the image changes from the old one (apple) to the new one (flower).

For better understanding I added pictures. I hope You understand what I mean..

I have searched in web how to do this, but no success at all..Hoping on Your advice. Thanks!!!

Picture1.pngPicture2.png

TOPICS
ActionScript
936
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 27, 2014 Feb 27, 2014

you're looking for software, other than flash pro, to edit a swf?  if so, google:  "swf editor"

Translate
Community Expert ,
Feb 26, 2014 Feb 26, 2014

you can use the loadMovie() method of movieclips to load bitmaps.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 26, 2014 Feb 26, 2014

Thank You for the advice! I will check it out!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 27, 2014 Feb 27, 2014

Update - I tried using the loadMovie() function and it works, but not exactly as I was imagining. To be more precise with my planned option I will give this example for better understanding :

Lets say, that I make a Flash project for other users who have no programming skills. In this project (the swf movie) there is a place(a button "Insert image")
to upload an image and save it to the swf file, but it can't be done through typing the image URL in the actionscript (like doing an actual coding), but simply by opening the file browser in computer within the swf file.

I hope You understand what I mean.

I would like to know is this option even possible in Adobe Flash AS2

I am thankful for Your replies and advices.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2014 Feb 27, 2014

in no version of flash/as can you easily edit a swf file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 27, 2014 Feb 27, 2014

Thank you for this reply..This is what I really wanted to know.

Maybe You could suggest any other softwares that allow similar option?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2014 Feb 27, 2014
LATEST

you're looking for software, other than flash pro, to edit a swf?  if so, google:  "swf editor"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines