Solved

Importing images from photoshop to flash

Posted on 2004-10-12
14
392 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Read about why website design really matters in today's demanding market.
In this tutorial viewers will learn how to create a postcard text effect in Photoshop and get an introduction to Layer masks Use magic wand to select the "inner" part of the letters: Create a new layer and fill the selected area with black: Go back …
Make a selection using the pen tool to trace the selection. Then alter the color of the selection by using the color balance option in Adobe Photoshop.

920 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