Professional :: Zoom Function On Picture?
Feb 17, 2010how to implement zoom on a picture in a movieclip frame? I would like to do it with AC3 if possible?
View 2 Replieshow to implement zoom on a picture in a movieclip frame? I would like to do it with AC3 if possible?
View 2 RepliesI want to make a scope wich can zoom in on button click and go back to previous stage (zoom out) also by clicking a button.Now i made it work for zooming in (when i click my button it zooms) but when i want to zoom out everything i tried didn't work .Here is the code:
//button for zoom in
zoom.addEventListener(MouseEvent.CLICK,glassMove);
function glassMove(event:MouseEvent):void{[code]..............
I need to create a photo viewer like this one: [URL] You can see that if you zoom in a picture it will start download from a server for a better quality one.
View 1 Repliesi'm trying to zoom in on a picture at the specific spot where the mouse is clicked. ie if the mouse is clicked in the lower left corner, the pic gets bigger from there, not the center of the pic.the only way i can think of to do this is to reset the registration point to the clicked position. is this possible?
View 12 RepliesI want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) {
thisframe =+1
}
[code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
Been trying to get a flash map to zoom in and out but I can't seem to get it working, it'll zoom in fine, but not zoom out.I'm zooming into a particular area of a map (Uganda in this example) with a function for a button, I'm using a boolean value to check if I am zoomed in and it registers whether it's true or false (checking with a dynamic textbox). [code]
View 1 Repliesi just wanted to ask if anybody know where i could find a source code (fla) of a coverflow effect with an integrated zoom function (like this one or simpler: [URL]. i don't care if it's written in as2 or as3.
View 1 RepliesI came across this great tutorial on how to zoom into a chart by drawing a rectangle in a LineChart to zoom into it [uRL] but I'm trying to apply it to a PlotChart instead and I'm having issues trying to get the DataTips showing with the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.series::PlotSeries/findDataPoints()[E:dev4.5.1frameworksprojectschartssrcmxchartsseriesPlotSeries.as:961]
at mx.charts.chartClasses::ChartBase/findDataPoints()[E:dev4.5.1frameworksprojectschartssrcmxchartschartClassesChartBase.as:2069]
at mx.charts.chartClasses::ChartBase/mouseClickHandler()[E:dev4.5.1frameworksprojectschartssrcmxchartschartClassesChartBase.as:4823]
The link mentioned about extending the LineChartSeries and override the findDataPoints() function, but after trying to doing the same for extending PlotSeries.as, sortOnXField seems to be undefined and I don't have access to the PlotSeries.as since it is in a swc. Has anyone tried applying the following to a PlotChart instead and got the DataTips to show? What was the override function in the findDataPoints()?
How should I code/setup a camera animation where the camera zooms in on an animation (just cubes) and when it reaches the appropriate view the animation starts?
View 1 RepliesI am making an interactive map and am having trouble creating map controls such as a zoom sliding bar and a panning function.
View 1 RepliesWell I'm making an animation of the little mermaid for school. Right now I'm at the scene where the mermaid 1st sees the prince. and I want to zoom in on the prince. How can I change the direction of the camera, with it effecting the whole animation?
View 1 RepliesI want to have 8 cards on the stage, each card represents an animal and if you click on that card, it will flip over and zoom to fill the screen. When it flips over it will give a fun fact about that animal and in the lower right corner it wil have a 'close' button to bring you back to the stage where the other cards are.
View 1 RepliesI have to create a website banner intro. So what i want to do is that the picture (470x269) so I want to start with a close up on this person face up close and then fade back into the whole picture.
View 2 RepliesI want to create a presentation in flash (as SWF file) and I want that in the final SWF file there will be an effect that zooming into one of the stage's object, say for instance this is a picture I want to zoom in and out to/from it, so how can I do it and is this involved with actionscript integration or not?
View 2 Repliesi am new to this and i need to put a simple picture show an a web page, i need it to work like a powerpoint presentation but also needs buttons that you can roll your mouse over and have the slide that is associated with it come back up and also need to be able to click it to bring it back and stay on the screen for a longer period of time.
View 5 RepliesI have a picture upload function in my flash and when I upload a picture I lose focus on the flash. This results in that all my listeners disappears. I cant click buttons, use dragbars etc. This only happens in FF. I am using flash player 10 and Snow Leopard. I've tried to get the focus back by sending a call to javascript:
AS:
ExternalInterface.call("focusFlash");
JS:
function focusFlash(){
var fl = swfobject.getObjectById("pepsi");
fl.focus();
}
I'm new to flash (as a developer, downloaded it 2 hours ago... :-p) and I've been customizing controls that I am already familiar with... It was a pleasant surprise to know that Flash Professional CS5 supports keyboard shortcut remapping, however I can't seem to get it to map Ctrl+Mouse wheel Up as Zoom in, and Ctrl+Mouse Wheel Down as zoom out...
View 1 RepliesI'm looking to create something in style with this (arrow key navigation), and despite being the creator of that flash movie, I've managed to forget the code.
View 1 RepliesI am creating a historical timeline and I want the viewer to be able to zoom in and out from the timeline. How do I do this?
View 1 RepliesI have a scene where I want to zoom in on a character's face, and after a while zoom out slowly into the background. I tried to tween all of the layers together but it plays out awful...any way to do it with the stage itself?
View 7 RepliesI have an project that when you enter a certain number and click a ''enter'' button, it send you to an image (forest picture, desert picture, town picture, etc). In these pictures, I've hidded some object. In exemple, in the forest picture, there's some blue birds, red birds, green birds, etc. I want people to find them and click on them to get some information about these birds. The thing is that these birds are hidden. When I open my picture with windows viewer, i can zoom-in and find them with the little hand toolso everything is fine cause I can find them. The problem is that when I export my project as an animation, we can't find the birds because we cant's zoom in. My question is, is there a way to zoom-in these images and navigate trought them (with the little hand tool) like we can do with windows viewer? Or is there a way to just Zoom-in my animation?
View 5 RepliesWhen I zoom out, instead of centering the document on my zoom, it pushes the doc to the upper left corner. It is pretty maddening, as I am zooming in and out a lot.
Is there a way to manually center the artboard?
i've made a button that zooms into a movie clip on a rollover, but it on moves it a certain amount each time you rollover the button. code below:
on (rollOver){
_root.Mypic._width += 5;
_root.Mypic._height += 5;
}
wot i want it to do is to continue zooming in for as long as the mouse is over the button, is there anyway i can change the code to zoom in at the same amount but do it continuously until the mouse is moved off the button. Also is there anyway that i can set it so that the zoom stops at a certain percentage, i.e. it only zooms in so much and then stops. What i mean is that the user can zoom in but the picture will only zoom in to say 200% of the original size.
I am working on flash application TELESCOPE or Camera. My goal is to move around the scene and zoom-in or zoom-out I found that if I move scene, I have to move registration point, because I always want to zoom in the centre of my ocular. So far application works fine only if I move, zoom-in and than before I move any further, zoom-out! But when I move, zoom-in (not fully), move again and zoom-in again, the second zooming doesn't appear on desirable registration point
View 1 RepliesI'm trying to create a little slideshow with photos. I created a little animation on every photo (a really subtle zoom-in or zoom-out effect) and transition using alpha transparency.
But some photos will flicker very bad. Expecially photos containing elements like grids or straight lines. Only really blurred pictures will render well.
I already raised FPS up to 60 but flicker still occurs.
I'm using flash8. Will another flash version (which?) render the movie in a better way?
The first Picture show my original program. Example: From Picture 2, i drag a fish and drop into the trolley. In Picture 3, i want the fish appear in the belt again. So the user can drag the fish again. Problem: The fish will not appear in the belt.
[Code]....
I have this code for my effect to zoom in and zoom out in certains buttons
canada.addEventListener(MouseEvent.MOUSE_OVER, canadaover);
function canadaover(event:MouseEvent):void
{[code]....
the problem is when u reach certain corner of the button it kinda gets into a loop, any ideas how can i fix this?
Any way to work with .swf files exported from InDesign (with page curl effect in tact)? I'd like to add a zoom feature, and need the ability to keep track of the currently viewed page.
View 5 RepliesI have a movie clip of all counties in the state of Montana (allcnt_mc). Within allcnt_mc there are individual movie clips specific to each county with name equal to the county's name. When clicking on a county, I'd like to zoom to that county and center the stage on it. I've added event listeners to all counties through querying an xml table that has demographic info I am calling into dynamic text boxes. Here is the code I have thus far to load the xml and add the listeners to the county movie clips.
//load xml
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
[Code]....
I have a flash file, where I want to use default zoom function from Flash menu in swf player. Clicking "Zoom In", zooms into the swf file. Then when I try to use drag from mouse to change visible area, it does not work on moviclips. If I click on top of blank area, I can drag. Though this works fine in Flash as2 file.
View 5 Replies