Solved

Importing images from photoshop to flash

Posted on 2004-10-12
14
390 Views
Last Modified: 2010-04-02
Hi,

My questions invloves PhotoShop and Macromedia Flash.
Here is what I want to do:
-Look at the right image in this flash movie, you see how the picture is cropped (doesn't have rectagular edges), that's what I want to do with my image. So I cropped my images in PhotoShop using the lasso tool and saved it as a JPEG but whenever I try to import the JEPG to Flash, I get the rectangluar edges).
http://www.lehigh.edu/%7Einbios/

Is there anyway I can save the image in photoshop so that it would appear excatly the same in Flash

Thanks,
0
Comment
Question by:thesmashest
  • 6
  • 5
  • 2
  • +1
14 Comments
 
LVL 3

Expert Comment

by:daniel416
ID: 12294423
flash doesn't support transparencies for jpegs.
make an alpha channel in photoshop, and save your image as a PNG instead of jpeg.
then, from flash File->Import your PNG image and the alpha channel will be preserved.

hope this helps!
let us know how you're doing.
daniel.
0
 

Author Comment

by:thesmashest
ID: 12294877
daniel41,

Here is what I did:
I opened my psd file in Photoshop, made a selection, and then saved the selection as an alpha layer (Select>Save Selection). I then saved the psd file as a PNG image.
In Flash, i did a File>import and i got the png image, but when I tired to edit the image it was still uneditable.

PS: When I saved the PNG file I had to choose between saving it as "Interlaced" or "None". I tried both but it didn't work.

Did I miss any step?

Thanks
0
 
LVL 3

Expert Comment

by:daniel416
ID: 12298678
i'm not in front of flash right now.
but were you able to get the edges transparent?

when you say you can't edit the image, what kind of modifications are you talking about? flash can edit vectors, your image is a bitmap.
0
 
LVL 17

Expert Comment

by:Lobo042399
ID: 12303027
There's a difference between importing a raster (with transparencies, even) into Flash and editing a raster in Flash. The first is possible, the latter is not.
0
 
LVL 3

Expert Comment

by:daniel416
ID: 12303737
@thesmashest,
your original question was how to import a bitmap into flash with transparencies. were you successful?

what do you mean by the image is "uneditable"? what do you want to do with it? like it's been pointed out by lobo and myself, you can edit vectors in flash, but (besides maybe resizing) you can't do much with bitmap images in flash.
0
 

Author Comment

by:thesmashest
ID: 12311958
Thanks all, I figured out how to do it with Trace bitmap....I guess I am the one who deserves the 500 points.
0
 
LVL 3

Expert Comment

by:daniel416
ID: 12313511
that's not what you asked "thesmashest"
the example you gave us *CLEARLY* shows a bitmap. you said this is what you want to do with your image.

tracing a bitmap is not a way to "save the image in photoshop so that it would appear *EXACTLY* the same in Flash" (emphasis added).
traced bitmaps looked markedly different from the original.

both lobo and i answered the question *you* asked correctly.
i asked you repeatedly to give us more feedback other than "it didn't work", and what kind of editing you are trying to do. you never replied with a meaninful message.

personally, i don't think you deserve to get your points refunded.
anyone else have an opinion before we contact the moderator?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:thesmashest
ID: 12313797
I didn't know that I can edit the bitmap in Flash using the Trace Bitmap that's why PhotoShop was my only option. If I knew that I can trace bitmap in flash I wouldn't have asked the question.
Either way, I tried your Photoshop suggestion and it didn't work so you don't deserve the point.

I thanked all of you for your suggestions and that is enough.

by the way, I posted the same question in other forums on antoher websites and they suggested Trace bitmap method, so apparently you didn't understand the question.
0
 
LVL 1

Accepted Solution

by:
mfcseeker earned 500 total points
ID: 12313839
0
 
LVL 3

Expert Comment

by:daniel416
ID: 12314087
we just can't read your mind
0
 

Author Comment

by:thesmashest
ID: 12314949
did you read my comment above

"by the way, I posted the same question in other forums on antoher websites and they suggested Trace bitmap method, so apparently you didn't understand the question."
0
 

Author Comment

by:thesmashest
ID: 12314956
daniel416 this forum is not only about points it's about people helping each other.
0
 
LVL 17

Expert Comment

by:Lobo042399
ID: 12315211
Daniel,

I see your point and for the most part I agree with you. However, as unfair as it may seem, Thesmasest has the right to accept any answer he considers approriate. You can contact the Page Editor (check Lyons' email address in his profile) and explain why you feel you should get points for this Question. He will look into it.

Thesmashest,

Your Question and the sample you gave were specific and you got specific comments on it, very valid. As per the sample you provided, there is no way on this planet (short of tracing the photo pixel-by-pixel) that such a photograph or a similar image could be traced and made into a vector-based image. You asked <<"Is there anyway I can save the image in photoshop so that it would appear excatly the same in Flash">> The comments you got were based on the wording of your Question. What people in other forums say or do or how they interpreted your words is none of our concern here. True, this forum is not only about points, it is also about fairness. I personally do not want any points from this Question, but I believe Daniel deserves some recognition for his effort.

Lobo
0
 
LVL 3

Expert Comment

by:daniel416
ID: 12331237
thanks for voicing your opinions both lobo and thesmashest.

I'd like to make clear that I'm not against thesmashest choosing whatever answer he likes.
I was disagreeing with his comment asking for a refund of points ("...I guess I am the one who deserves the 500 points")

I'd like to also point out that his needs changed and he never told anyone about it.
i asked him for feedback and all i got was "it didn't work", and snarky comments like "apparently you didn't understand my question..." or "did you read my comment above?". well, I asked you at least three times for clarification on what you wanted to do and you never answered.

i'm glad you resolved your issue thesmashest, but you need to know that you made it difficult for us to help you.

daniel416
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
In this tutorial viewers will learn how to correct colors in Photoshop using the Curves adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Curves: Select "OK" on the …
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now