Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Image Zoomer Like This: Is It Possible In Flash?



Hi everyone! This is a question for gurus. Look here:

http://www.3deverywhere.com/english_...o/mosaico.html

This is made in Java. They want me to translate it in flash. The big problem for me is that (try to zoom and see), it always show an hi-res, arbitrary portion of the original image. It first loads a preview and than the hi-definition version, but without preloading all the hi-res image!!!

So, my question is not HOW to do it, not yet , but IF it is theoretically possible to do it in flash AS2 or AS3.

Anyone?



Ultrashock Forums > Flash > ActionScript
Posted on: 2008-01-11


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Image Zoomer Based On Mouse Coordinates
hey there,

I was wondering if a tutorial has been written that allows you to zoom and move images around just based on your mouse. the technique has been used on http://www.sportsgirl.com.au... if you go to the fashion section of the site you'll see theres a large image on the left that you can roll over and move around...

if this has been done and is available or a tutorial is available that you know of, could you PLEASE pass it on to me. That would be absolutely awesome I'm trying to find it and the words 'flash image zoomer' or words similar are just not giving me the results I want

Thanks everyone!

Photo Zoomer Like This: Is It Possible In Flash?
Hi everyone! This is a question for gurus. Look here:

http://www.3deverywhere.com/english_...o/mosaico.html

This is made in Java. They want me to translate it in flash. The big problem for me is that (try to zoom and see), it always show an hi-res, arbitrary portion of the original image. It first loads a preview and than the hi-definition version, but without preloading all the hi-res image!!!

So, my question is not HOW to do it, not yet , but IF it is theoretically possible to do it in flash AS2 or AS3.

Anyone?

AS 2 Flash Photo Zoomer Effect
Hi! This may be a FAQ. Since I couldn't find any solution, I need some guidance to create a photo zoomer effect with flash 8. The actual scenario is, when we click on any point of the picture it should get zoomed(ex:300%) and the point where we clicked should get focused. I can do upto the zooming, but I couldn't come up with the point we selected get focused. Can I've some guidance on this?!

Thanks in advance!

Frame Zoomer (XML)
Hi all,

I've designed a flash utility which enables to zoom images. Its quite fun! All source codes are included so newbies can learn something new!

http://www.yofla.com/flash/frame-zoomer/

Have fun!

Advanced, Smart Zoomer.... Howwwww?
anybody know how to make this???

http://members.lycos.nl/tut1/uploadb...llScreen02.swf

i want to place a big image in my site, with some anchorpoint, when the user pushes the buttons, the user zoooms to one of the points..... i have no clue...

Simple Gallery Example Flash With PHP Serving Image List And Image Sizes
this is simple gallery example for AS2
gallery is nothing special ease to use and implement

interesting thing about this example is that you pass a folder, and PHP side gathers images list from folder and returns it to Flash in XML form together with images widths and height which makes it more easier to implement this sort of galleries like I've made

example : http://www.hagane.us/as/gallery/
ZIP : http://www.hagane.us/as/gallery/gallery.zip

blogpost : http://mrsteel.wordpress.com/2008/01...s-from-folder/

Seeking Flash Image Gallery That Resizes Movie To Fit Image Dimensions
I am looking for a flash gallery that resizes the movie dimensions to fit the width and height of the image in real-time. Alternatively, the movie does not display a background color or border. I've used slideshowpro and it's feasible ...just looking for another suggestion. Prefer xml-based.

Flash File With *only* One Image Double The Size If The Image?
I have a Flash file.
All I've done is to stick in one image file.
I've got the image publish setting to be 100%.

I publish the file.
The resultant SWF file is double the size of the image.
I would have thought that it should be the same or just a tiny bit bigger files size than the image.

(The image itself is an image I edited in Photoshop... and optimised for the web.)

Where am I going wrong?

Thanks.


OM

I Need To Load A Image(jpg) Into Flash With A Text File With The Url For The Image
As the name says it all.

I need to add some AS in my flash site, so that the image (banner) is dynamic, meaning when I want to make a change to it, or make it look different, i dont want to go into flash to do it. So I want it so that when I change the jpg itself it changes inside of flash.

I would like flash to look up a txt file I give it, and inside the txt file it will have a URL to which jpg to load up in the movieclip.

If not this way, another similar way would be great

Thanks!

Flash File With *only* One Image Double The Size If The Image?
I have a Flash file.
All I've done is to stick in one image file.
I've got the image publish setting to be 100%.

I publish the file.
The resultant SWF file is double the size of the image.
I would have thought that it should be the same or just a tiny bit bigger files size than the image.

(The image itself is an image I edited in Photoshop... and optimised for the web.)

Where am I going wrong?

Thanks.


OM

Flash File With *only* One Image Double The Size If The Image?
I have a Flash file.
All I've done is to stick in one image file.
I've got the image publish setting to be 100%.

I publish the file.
The resultant SWF file is double the size of the image.
I would have thought that it should be the same or just a tiny bit bigger files size than the image.

(The image itself is an image I edited in Photoshop... and optimised for the web.)

Where am I going wrong?

Thanks.


OM

Flash 8 - Help W Xml Image Gallery, Thumbnails For Each Image
Hey.

New here and have found some really good tutorials! Thanks.
I desperately need a bit of help with some Actionscripting if anyone has any ideas how to do this?
I have created a photo gallery using the kirupa tutorial. That works fine. Now for each main image that the code cycles through my client wants 1-3 thumbnails to display on the side of the image and they should all be clickable and display full size in place of the main image when clicked. The previous and next buttons should still only go through the main images. Here is the xml code (as I imagine it should look like):

[code]

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>images/bowandkey_main.jpg</image>
<caption>Bow and Key Necklace: £225.00</caption>
<description>Mother of pearl (or onyx) necklace with silver-plated bow and key, cast from vintage originals </description>
<thumbnail>
<thumb1>thumbnails/bowandkey_main.jpg</thumb1>
<thumb2>thumbnails/bowandkey_portrait.jpg</thumb2>
<thumb3>thumbnails/bowandkey_closeup.jpg</thumb2>
</thumbnail>
</pic>
<pic>
<image>images/bowandkey2_main.jpg</image>
<caption>Bow and Key Necklace: £230.00</caption>
<description>Onyx necklace with silver-plated bow and key, cast from vintage originals </description>
<thumbnail>
<thumb1>thumbnails/bowandkey2_main.jpg</thumb1>
<thumb2>thumbnails/bowandkey2_portrait.jpg</thumb2>
</thumbnail>
</pic>
<pic>
<image>images/crossedfingers.jpg</image>
<caption>Crossed Fingers Necklace: £150.00</caption>
<description>Solid silver crossed fingers good luck charm, cast from 1940s celluloid gumball toy, strung on mother of pearl or onyx beads.</description>
<thumbnail>
<thumb1>thumbnails/crossedfingers_main.jpg</thumb1>
<thumb2>thumbnails/crossedfingers_closeup.jpg</thumb1>
</thumbnail>
</pic>
</images>
The thumb 1,2 and 3 are childNodes of thumbnail.

I have created a MovieClip holder to hold the thumbnails. Could someone please show me how to add to the Actionscript so that it loops through (displays) the thumb1 - thumb 3 for each main image? I suppose I would have to store the thumbnails for each image in separate folders so the flash can determine the length of the array of thumbnails for each image? And then make them clickable.

I am pulling my hair out here not getting this working... Any hinters on what to do would be greatly appreciated!

Here is the actionscript code for the image gallery:


Code:

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
caption = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
caption[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
cap_txt.text = caption[p];
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
cap_txt.text = caption[p];
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
cap_txt.text = caption[0];
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
Thanks!!

Exporting Image Created With Flash.. Overlaying Image With Text Then Exporting As Jpg
Is this possible? Say I have a user insert certain text onto a image using flash which would not be hard, but then is it possible to export the image as a jpeg for the user to download? The seems impossible but I figured it might be possible.

Loaded External Image Question: Use Default Image If Loaded Image Not Found?
Hello,

I use the following code to load an external logo into a Flash Movie.

Quote:




var myRequest:URLRequest=new URLRequest(logoPath);
var loader:Loader = new Loader();
loader.load(myRequest);
holder_mc.addChild(loader);




What if the logo file is not find? I wish that if the logo is not found, another default logo will be used, i.e.

if (logoPath is here) {
var myRequest:URLRequest=new URLRequest(logoPath);
} else (logoPath is not here) {
var myRequest:URLRequest=new URLRequest("defaultlogo.png");
}

How can I do that?

Thanks and best regards

Alex

Saving An Image From Flash (Draw It In Flash Then Save It To File)
Here's the situation:

Let's say I have a program in Flash where I can drag and drop "stars" onto a black background to make constallations (no idea on the spelling). Is there a way to save that image to file, from flash, as a .jpg?

Is there a forum about this I can read, a tutorial, is it even possible?

Thanks.

CW

Flash Script - Dynamic JPEG Image Loader In Flash MX
This is a dedicated thread for discussing the SitePoint article 'Flash Script - Dynamic JPEG Image Loader in Flash MX'

Autodetect Of Flash Plugin/ Display Of Flash Or Static Image
Hello All,

1) Is it possible to autodetect if someone has a flash plugin installed ?

2) If this is possible, then is it possible to display a static image if the person does not have Flash installed, and to display the Flash movie when the person does have Flash installed ?

I hope that you can help me , also maybe with a code example. This problem drives me bonkers ...

Thanks in advance for any helpfull answer

Greetings

Dave


Detect Flash Script, If Not Flash Then Display Alternate Image?
Below is what I am trying to do so far, but I am having problems actually getting it to work. I don't know the sytax in showing the image within the script.

FlashErkennung von Flash Planet is the script I'm trying to use.

<html>

<body>

<SCRIPT LANGUAGE="JavaScript">
<!--
var useFlash = navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;

//-->

</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--
On error resume next
useFlash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"))
-->

</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
if ( useFlash ) {
<p><font size="7" face="OCRB"><embed width="129" height="65" src="images/eedi.swf"></font></p>;
} else {
<p><img border="0" src="images/eedi.gif" width="130" height="55"></p>;
}
//-->
</SCRIPT>

</body>

</html>


Flash Image Database [flash Photo Album]
Is there any way that I can use flash to create a self-updating photo album?

What I have so far:
http://www.third-core.org/thor/album.swf

Is there a way that I can get this photo album to update itself?

Script To Place Flash With An Image If Flash Isn't Installed...
Hi all,

Does anyone know of a script to replace flash with an image, or text, if Flash isn't installed on someone's computer?

Cheers.

How Do I Drag A Flash Image Over The Web Page (made On Flash Btw)?
http://www.flashkit.com/board/showthread.php?t=654476

If Bad Flash Player Version, Display Image Instead Of Flash?
I have a flashmovie with a transparant backgrond.
Since this is not supported by all browsers/os I need a little script that displays an image instead of the swf if the user can´t see transparant backgrounds/doesn´t use the equipment neccesary...

So this is what i want i suppose:

if the user has
Internet Explorer 3 or higher (Windows)
or
Mac osX with flash player version 6,0,67,0 or higher
then
display the flashmovie
if not
display my backup-gif
end

Can anyone please help me with this?

Detect For Flash, If No Flash, Swap With Static Image
Could anyone help me with this (assumably) easy question? I want to insert a small flash file on an html page to add to its appearance. If a viewer does not have the latest flash plug-in, i don't want a blank spot on the site, but instead a static jpg or gif picture to replace it. Is this difficult to do?

HELP!

Thanks in advance.

Script To Place Flash With An Image If Flash Isn't Installed...
Hi all,

Does anyone know of a script to replace flash with an image, or text, if Flash isn't installed on someone's computer?

Cheers.

Script To Place Flash With An Image If Flash Isn't Installed...
Hi all,

Does anyone know of a script to replace flash with an image, or text, if Flash isn't installed on someone's computer?

Cheers.

Replace Flash With Image If No Flash Plug-in
Hi,

I'm sure this is probably a simple question.

I need a script that will replace a flash file with a jpg or gif if the visitor does not have the flash plug-in.

I did have a script that sort of worked fine but it caused problems where if I kept it the same size as the table cell it was fitting into, the table would just get expanded. To get the flash file to fit in I would need to reduce its dimensions which ment I could not do any design which butted upto the flash.

Hope it makes sense.

Can anyone help.


cobb

SWF Flash Logo - Can No Flash = Static Image?
I have an swf animation logo for my website.
I also have a static non flash version.

I'd like to find a way to detect if the person
has flash, and if not display the static image.

Obviously cross browser compatiability is
very important.

Any ideas?

Thanks,
Mike

Image + Flash
I would like to use some bmp images with my flash movie..
I import the image and add in my flash movie..But the image looks deformed..What should I do to keep the image in High Quality?Should I convert this image?
I have no idea..Can anyone be so kind and help me telling me step by step for that,pleaseeee.
Thanks so much..
)

3d Box For Image In Flash
hi all
i wanna create 3dbox in flash to present my images, anybody know how do i go about doing it,
thank you in advance

Can Flash Tell If An Image Is There?
ok, i have a gallery, and it has a "next" and "previous" button, and then i have a folder with images named something like photo_1, photo_2, photo_3, etc, and the next and previous buttons just add or subtract the end number and load that jpg dynamically.

now, is there a way that flash can tell when an image isnt there, say, when it gets to photo_20 and there is no photo_20, can i have flash perform a certain action, or would i have to specify how many images there are with a .txt file or an xml file?

Flash To Jpg Or Any Other Image Or Pdf
Hi i am looking for a way to safe a drawing i made in a swf and send it as a jpg or pdf to an email adress. I know its posible.. i read it here: http://www.artificialcolors.com/page_experiments_1.html

but unfortunatly the link doesnt work... It talks about: uses ASP.NET to create a JPEG graphic based on what the user has drawn. C# makes this so easy it's not even funny. there's also a JPEG browser with it - though nothing too spectacular on that end. for you budget oriented folks, this whole thing now uses NO Flash Remoting code - so just the free .NET Framework will do the trick!

any idea? Or maybe another idea? Thanks!

Image Into Flash
Hi!

I want to load an image from a html side into flash. Look at the following link to see what i mean.

http://www.mediaportal.net/test/main.htm

When i click the apply button i wan´t the above image to display in the flash window that opens. Is there some way to this like with query string or something like that.


//Johan

Flash To Image
Hi there.
I've been tryin to generate an image from whatever I draw in flash. I got that allright
The problem is when I put something, like a box or a circle, in the drawing area. That will not be generate with whatever I've drawn
Please see the attached file.
(http://www.rads.com.br/downloads/export-image.zip)
Any1 know what to do?
PS: just draw anything in the white area and hit send
The way the code is, only what u draw will be exported to an image.jpg
Tkz

Flash To Image
Hi there.
I've been tryin to generate an image from whatever I draw in flash. I got that allright
The problem is when I put something, like a box or a circle, in the drawing area. That will not be generate with whatever I've drawn
Please see the attached file.
(http://www.rads.com.br/downloads/export-image.zip)
Any1 know what to do?
PS: just draw anything in the white area and hit send
The way the code is, only what u draw will be exported to an image.jpg
Tkz

Image Changes When I Put It In Flash ?
Hey guys, whats going on? I'm a graphic designer and I'm fairly new to flash but trying to master it. I'm having a little problem:

I'm making a full flash site, I have everything good to go except when I tried to import to stage a image i want to be still on the flash, it kinda gets cut off a little on the edges. And since i put a pixel border around the image just the border gets messed up. It doesnt like crisp when i play the flash.

Do I have to convert to symbol or something I'm missing? I need the image to look very clean and crisp.


I thank you in advance for your help

Getting An Image OUT Of Flash.
Guys I have an image in flash that I no longer have on my hard drive. I want to edit it in photoshop. How do I get it out of flash and back onto my comp?

Alt Image Using FLASH
thanks alot for the help on the last post. I have one more question for you flashxperts. My client who is going to use this flash banner for a website banner says that she needed a plug-in to view it. I assume she did not have flash installed (which I thought most people would have flash installed already) She is afraid that her clients wont be able to see the top part if it remains flash but she still wants it animated. I thought that I could still use the flash but if a user comes to it and dosent have flash intalled I can use a still image to replace it. Is this possible? I played around with it and i cant seem to find a way. just a simple alt image kinda thing that we use for images in html.

PS Image In Flash
how can I use a PS image in flash





























Edited: 10/26/2008 at 06:45:09 PM by cjgax

Flash Image
I just added a flash paper to a Dreamweaver CS3 site but I can't get it to stop scrolling. I know this should be done in Flash and not in Dreamweaver, but I can't figure out how to make the actions work to stop the motion after one scroll. I'm a new user of Flash and need some simple instructions on how to do this if anyone would be so kind.

The site that it is on right now is http://barbarasansone.net. It's the index page so it will come up first thing.

Jacqueline Gikow
jgikow@verizon.net

XML Image Within Flash
I am currently calling an image from my xml file which pulls the image in externally. I would like to call the image from within the flash file.

It is an up and down arrow, depending on the data/node from the xml file it will be either or. Right now my images are in the same folder as my swf file but I would like to place the images inside the flash and when the xml calls for either to pull it from there. I currently have a movie holder.

How can I do this? Please help.

Flash Image
How do I insert a flash image into an html document? Is that even done? If someone could help me, I'd apprecaiate it.

Q : Image Into Flash.
Hi all,

When I import an image into flash, I make 2 layers.
Now, when you draw something OVEr that image, you dont see it IN the image. This is solved easily by working in the other layer, BUT... I dont want that.
Is there a way I just import an image, and flash doesnt 'look'at it or touches it, so I can do whatever I want (draw over it etc) but flash wo nt do anything else with it.

Thx.

About How To Add Image In Flash Via Xml?
hi guys!
i have been trying to add an image to flash file through xml but i am not getting the right script for that, could you help me with this?

Image In Flash
hello again,
i need to put an image in my flash app, this image must be loadet from a one webpage...
do you know somewhat for that?

Flash Image
How do I insert a flash image into an html document? Is that even done? If someone could help me, I'd apprecaiate it.

Q : Image Into Flash.
Hi all,

When I import an image into flash, I make 2 layers.
Now, when you draw something OVEr that image, you dont see it IN the image. This is solved easily by working in the other layer, BUT... I dont want that.
Is there a way I just import an image, and flash doesnt 'look'at it or touches it, so I can do whatever I want (draw over it etc) but flash wo nt do anything else with it.

Thx.

Png Image For Flash
how can i optimize the image for flash..?
i did try one time with the png 24bit, it's too slow to load the page when i use the gif format, the quality is absolute rubbish.
When i visit to the other Flash websites, the images are so good and i have no idea how they did it.

Can anyone help me plz.
Thank you

Flash - Image
Does anyone know if it is possible to create an image from an swf (Not from within flash MX application)

I want to create a paint programme in flash (SWF) but want the user to be able to export their work as a gif, jpg etc

Would be great if some one could help.

-Rob

No Flash? Use Image Instead
I'm sure there is a simple answer to this question but I'm afraid I have no idea.

Basically I have an animated flash "thing" on the top of my page but about 10% of the visitors to the site moan that they do'nt want to use flash or don't have it installed. I try to get them to install it but the technophobes that they are think I am spamming them with crap software.

Is there a way of creating something like a <noscript.... within the page to only show and image if flash is not installed?

Normally I would'nt be too bothered about the people not wanting flash...you know who they are...damn IE3 users! but this time I am forced to ask you wonderful wizards out there.

Ta!

Copyright © 2005-08 www.BigResource.com, All rights reserved