Anakha92 Posted March 23, 2007 Share Posted March 23, 2007 Okay, the image I converted from a *.jpg to a *.swf file is a moderately big image approx 1.2m and I want it zoomed in as it is when it's a *.jpg, but it resizes the image to fit the screen when converted. How do I have the *.swf image zoomed into it's regular size when displayed on the net? Link to comment Share on other sites More sharing options...
iyeru42 Posted March 23, 2007 Share Posted March 23, 2007 You can specify the width of the file by left-clicking the stage and go to the properties box and clicking the button that would normally say 550 x 400 pixels. Changing this to a higher resolution will cause the outputted HTML document for the SWF to become stretched out to fit in the SWF. If you don't want to do that, you're going to have a bit of a tough time getting the image to look neat, since when flash tries to size it down, it may become blurry (depending on how you saved the image before importing. BMP, TIF, and aother RAW files you don't have to worry about that.) Link to comment Share on other sites More sharing options...
Anakha92 Posted March 23, 2007 Author Share Posted March 23, 2007 I kinda get what you're saying but what I really want to do is to zoom in the picture permanently when the image first loads, with the picture to not become blurred. Any ideas? Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 23, 2007 Share Posted March 23, 2007 Try this - CSS - #flashContainer{height: 200px;width: 200px;overflow: hidden;} HTML - <div id="flashContainer"><embed src = "myFlashFile.swf" style="text-align:center;height:300px;width:300px;"/></div> I think this will work! Forgive me for the inline style Link to comment Share on other sites More sharing options...
Anakha92 Posted March 23, 2007 Author Share Posted March 23, 2007 Okay, I tried the HTML one and again it only gave me the same thing ive been getting all the time.. a resize to fit the whole flash player. Go to http://www.rshelp.kaene.com/swftest.html (my site with the test page) and zoom into the image 4 times. That is how big I want it to be zoomed upon loading as a default size and for it to be in alot better detail then it reverts to when zoomed... Also when zoomed in I want to be able to just left click and drag the mouse to navigate the image.Any ideas now? Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 23, 2007 Share Posted March 23, 2007 You havent included the CSS. Include it in the <HEAD> in <STYLE></STYLE>.Also try inreasing the current 500px to 2000px in both height and width! Link to comment Share on other sites More sharing options...
Anakha92 Posted March 23, 2007 Author Share Posted March 23, 2007 Ah okay thanks, now, know how to convert a jpeg to a TIF ? Link to comment Share on other sites More sharing options...
iyeru42 Posted March 23, 2007 Share Posted March 23, 2007 Use Photoshop or GIMP and open the JPEG then save it as a TIFF (In Photoshop, do Save a copy rather than save for web.) Link to comment Share on other sites More sharing options...
Anakha92 Posted March 23, 2007 Author Share Posted March 23, 2007 Okay so I place the css in head, the html in body. convert the *.TIFF file to a *.Swf file, and it should create a zoomed in, left-click-draggable, image? Link to comment Share on other sites More sharing options...
iyeru42 Posted March 23, 2007 Share Posted March 23, 2007 No, you place the TIFF in your SWF file. (You need to open the FLA file you used to create the SWF you exported in the first place. Do CRTL+R to import.) Link to comment Share on other sites More sharing options...
Anakha92 Posted March 24, 2007 Author Share Posted March 24, 2007 So import the *.Tiff to the *.Swf, and then do the rest and I should get what I want (Also will it be blurred with a TIFF?) Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 24, 2007 Share Posted March 24, 2007 I use IrfanView Link to comment Share on other sites More sharing options...
Anakha92 Posted March 24, 2007 Author Share Posted March 24, 2007 To stop the blur? How? Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 24, 2007 Share Posted March 24, 2007 No...to convert image kinda files to other image kinda files...thought I am not sure that IrfanView support SWF....check it out...I gave the link in the previous post! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now