Lens
Okay, I followed the drag lens tutorial on flashkit... but I'm completely lost. I created the movie clip that contains the button with start drag stop drag. My lens moves around the stage but the mask doesn't move to the correct part of the masked image.The masked image is inside the movie clip and is 50% larger than the original. How do I set the x and y positions for the masked image or original image to show the correct postion under the mask. Do I do this inside the movie clip on a seperate layer or what? Thanks.
FlashKit > Flash Help > Flash ActionScript
Posted on: 04-07-2002, 03:10 PM
View Complete Forum Thread with Replies
Sponsored Links:
Lens Flare
is there a way to make a lens flare in flash mx or with an add on proram? you can't just make it in photoshop and paste it in because each of the circles moves in a different way. Thanks for any ideas...
View Replies !
View Related
HELP (lens Opening)
Well I try again on this forum. Please someone help me!!
I've been trying for days to make it work! I can work a little with flash but i can't figure this out!
I'm making an animation of a camera lens opening. I've come pretty far, but as you will see in de .fla file, there's always one piece on top and it covers almost all the left side of the lens opening. But the last piece should be under the first piece. I think that a mask should be used, but I have no experience with masking in flash.
Please could someone look at this and explain how i can make this work???
Greetz Suusje
View Replies !
View Related
Magnifying Lens
Dear all,
Any response would really be appreciated.
With the help of Boban Klasnikov's tutorial, I have managed to create a magnifying lens effect on one image.
But now I would like, within the same movie, to apply the same effect to multiple images. I created a button to go between images, but this requires a 'stop' action, which ofcourse stops the magnifying lens.
I am lost
Any suggestions, please??.
Thanks in advance
View Replies !
View Related
Magnifying Lens, Possible?
Hello, I am desperate to know if I can make a magnifying lens with Actionscript 2.0 with Flash MX 2004 Pro. Any help? If it's possible, can someone tell me the script on it or point me in a direction? I have a feeling it has something to do with xscale and yscale.I have this so far, but it isn't exactly what i want, the MC just grows and goes back, it doesn't just grow inside of the magnifying glass:
Code:
on(rollOver){
this._xscale *= 1.3;
this._yscale *= 1.3;
}
on(rollOut){
this._xscale = 40;
this._yscale = 40;
}
Please help!?!?
View Replies !
View Related
Lens Flare
Has anyone ever seen like a lens flare type effect in flash ... I've seen it and just cant figure out how to pull it off. Anyone evr gotten one too look good?
View Replies !
View Related
Lens Flare ?
What is the easiest way to create a lens flare something like this!
http://www.flashkit.com/movies/Animations/Lens_Fla-Mark_Fen-209/index.php
just spinning slowly behind and object?
View Replies !
View Related
Spherical Lens Effect
i have seen sites that hid the mouse and made it look like the screen bulged out whereever the cursor moved. i actually want to do something with in inverted bulge, but how do people do this?
brian
View Replies !
View Related
How To Create A Magnifying Lens ?
hello i want to create a magnifying lens for a pictures.
there is one here on site but is only for one picture!
i want to do it for 30 pictures. One picture is following the other by clicking "next". I want in each picture to have a magnifying lens!
Does anybody have an idea on how can i do something like that???
Thank you all!
View Replies !
View Related
Magnifying Lens Effect, HELP
i'm hoping to find someone here who might chat with me, via any communication mode, even telephone -- so I can get this effect happening -- i need it for a WWII movie for my Dad, that is, it would be REALLY cool. I've been struggling into the wee hours for a number of days and nights.
the tutorial I refer to is found:
http://www.flashkit.com/tutorials/Sp...-144/index.php
I'm a newbie, but I could do it if I had someone helping me out.
contact me at g (no_spam) 7b5 at hotmail (no _spam).com
please remove the spaces and the nospams and the ()s in my email addy above.
Thanks! I sure hope to hear from someone who knows how to do this -- shouldn't really take too long I gather.
Peace,
View Replies !
View Related
Convex Lens Effect
Hello, i've seen a cool effect a few times lately, with the convex lens, like a magnifying glass where the user drags it around over the stage and what ever area it is over is then made to look as if it was being looked at through a convex lens. The thing is, i've taken one of the tutorials on this site although still don't understand too well.
I was wondering if there was anyone out there willing to help me out and explain how it all works to me.
If you don't know what i'm talking about i've attached an example file.
Thanks.
View Replies !
View Related
Wide Angle Lens
Im a total noob in Flash. I have absolutely no expeirence with Actionscript. Im only an animator. Some day i will sit down and learn it, but for now.. i dont.
Anyways, is there some way of using code to stretch or skew the screen making it look like a wide angle lens.
Wide angle lenses are used for music videos, and often make the results skewed, centering around one point.
If you could help a noob, that would be great.
View Replies !
View Related
Magnifying Lens For More Than One Movieclip
Hi all,
I want to create a magnifying lens effect for two movievlips placed adjacent to each other. Each movieclip contains only one image and the movieclips are created dyanamically.
The magnifying lens examples present in the web are only for single movieclips....
any ideas ?
Thanks
sharvan
View Replies !
View Related
Distort Lens In Flash?
Hi
Im new to flash world so I am wondering is there an effect you can appy to mouse cursor like a distort or fisheye wherever the mouse goes??? I figured out how to make a movie follow mouse and replace cursor...I made a sniper scope to look at a page of mine and now im wondering if i can make the scope's view slightly distort the background..like you are actually looking through glass!! I have seen similar things in java and html ans was jsut wondering
here is a link I put up a test so u could see what I mean
click on my name
http://www3.telus.net/dalecutler/scope.html
View Replies !
View Related
Magnifying Lens For More Than One Movieclip
Hi all,
I want to create a magnifying lens effect for two movievlips placed adjacent to each other. Each movieclip contains only one image and the movieclips are created dyanamically.
The magnifying lens examples present in the web are only for single movieclips....
any ideas ?
Thanks
sharvan
View Replies !
View Related
Distort Lens In Flash?
Hi
Im new to flash world so I am wondering is there an effect you can appy to mouse cursor like a distort or fisheye wherever the mouse goes??? I figured out how to make a movie follow mouse and replace cursor...I made a sniper scope to look at a page of mine and now im wondering if i can make the scope's view slightly distort the background..like you are actually looking through glass!! I have seen similar things in java and html ans was jsut wondering
here is a link I put up a test so u could see what I mean
click on my name
http://www3.telus.net/dalecutler/scope.html
View Replies !
View Related
[FMX] Problem With Animating A Lens Opening
Who can help me with the following animation. I'm trying te make an animation of a lens opening and closing. I've come pretty far....but...
The movie is made of the same movieclip placed on top of each other and turned 30 degrees. The problem is that the last one stays on top, but that one should be placed underneath the fist one.
Now the right side of my lens opening looks ok, but the left side is almost completly covered by the last piece. (note that you will only see what's inside the black ring)
Hope you know what I mean.
I've attached the fla file so you can see.
Hopefully someone can help me with this problem
Greetz Suusje82
View Replies !
View Related
Lens Flares And Lighting Affects
i use coral to edit things i make for web site headers. there are really cool effects like lens flare and lighting effects that give text depth and texture. i was wondering if flash mx 2004 has any of these effects? Is there a way to intergrat my coral effects into the mx flash program it's self.
basically what i want to do is have a rolling lens flare affect across the top of some textured text. i'm new to flash so i just need to now where to look.
thanks
View Replies !
View Related
Lens Flare/sunburst Effect
Hi!
I'm relatively new to Flash, have been learning a lot lately but would be very grateful for some help on this one...
I'm looking to create a sort of lens-flare effect... similar to the "Sunburst" illumination feature in Paint Shop Pro. I dont really want to import it into my project as a raster because of the implications on file size and scalability. Is there any decent looking method of creating something similar?
I've tried using circles, altering the gradients and alpha but everything I've done so far looks pants.
Any help would be very much appreciated!
View Replies !
View Related
Lens Magnification, Question About The Code
I've a big picture and a small one.
I use the lens as mask on the big picture, in order to have a magnification effect.
The big picture is very big, so I want to move it in order to zoom in the correct point.
Could you help me with the code ?
ActionScript Code:
this.addEventListener(Event.ENTER_FRAME, updatePos);
//original big picture info
var originalX=originalBigImage.x;
var originalY=originalBigImage.y;
var originalW=originalBigImage.width;
var originalH=originalBigImage.height;
function updatePos(e:Event):void {
//move the lens
myLens.x=mouseX;
myLens.y=mouseY;
//move big picture THIS IS WRONG
myBigImage.x= myLittleImage.x / (originalW/2); //-originalW/2;
myBigImage.y= myLittleImage.y / (originalH/2);/// originalH/2;// +mouseY; //mouseY-originalH/2
Mouse.hide();
}
thanks
View Replies !
View Related
Magnifying Lens For Multiple Movieclips
Hi all,
I want to create a magnifying lens effect for two movievlips placed adjacent to each other. Each movieclip contains only one image and the movieclips are created dyanamically.
The magnifying lens examples present in the web are only for single movieclips....any ideas?
Thanks
sharvan
View Replies !
View Related
Magnifying Lens With Multiple Movieclips
Hello all,
I have two movieclips "original" and "largeobject". Basically "largeobject" is the enlarged image of "original" . (200% magnification).
"original" in turn has two MC's a10 and a20. Similarly "largeobject" has two MC's a10_enlarge and a20_enlarge.
I tried to mimick magnifying lens by using a mask layer.
Everything works fine except that image in the magnifying lens is displayed with an offset.
I have attached the associated flash file which is a very simple program as described above.
Thanks in advance,
Saravanan
View Replies !
View Related
Lens Flare: Downloaded,now How To Make It Work...?
Lens Flare: Downloaded,now how to make it work...?
I downloaded A lens flare .fla that was said to be put into your Flash Libary, did that its there....
But now the problem, I go to my libary put it in, it looks cool and all....But when I try to make like a lens flare go across the screen, it dosnt look how its supposed to, it just streches and moves the image...
Is the only way to make it look like a real lens flare having to do with distributing all the pieces into there own layer? Then moving them each and all around till it looks right? Or is there an easier way?
Sorry if this was confusing, couldnt think of a better way to put it...Ive included the file iam working with ( this is the one i put in my libary)
View Replies !
View Related
How To Make Text Change Under Moving Lens?
If you go to http://www.enhancedwireless.net/Tech...fierTest.shtml you'll see that you can move the magnifying lens across the banner - so how do I make the words different as you move across the text? Want to make the text change under the lens as you move the lens across the banner. Details are usually best for me - not left brained.
Thanks much
KB
View Replies !
View Related
How To Make Text Change Under Moving Lens?
If you go to http://www.enhancedwireless.net/Technology/MagnifierTest.shtml you'll see that you can move the magnifying lens across the banner - so how do I make the words different as you move across the text? Want to make the text change under the lens as you move the lens across the banner. Details are usually best for me - not left brained.
Thanks much
KB
View Replies !
View Related
Animated Lens Flare - Flash Cannot Use Feathering?
I am being told that Flash is a vector art program and that I need to animate a moving lens flare effect in Fireworks or After Effects. I am now working on this in Fireworks, but since I am not familiar with Flash I wanted to know from experienced users, is it possible to generate an animation with a moving item with transparent feathering over a background in Flash?
View Replies !
View Related
Create Moving Lens Flare Effect On Horizontal Bar
I want to make an animation bar, only 10 pixels high and 900 pixels wide horizontal. I want to move a background in this bar shape which would give the impression of a lens flare with colors moving across the bar at a medium slow speed. This would only happen once when the site was first opened.
I'm pretty sure I can create this effect in Photoshop using layers but since I as a beginner have no idea what direction to start in at this point I ask if anyone here knows of tutorials to create the moving lens flare across a bar, is Flash the proper application to use to do this?
Thank You,
Ken
View Replies !
View Related
I Have A Lens Flare Effect That I Want To Animate....and Not Respond To The Mouse...
I'm using a lens flare...that follows the user's mouse...but I want to animate it so that it goes from the left side of the screen to the right.
It currently uses...
flare._x = _xmouse;
flare._y = _ymouse;
and it just cycles on this using...
prevFrame();
play();
What would be the best way to animate it.....?
Thanks.
and this is how it works...
var x;
var y;
var angle;
var radius;
var big_alpha = 0;
function placeObject (object, expand)
{
// The higher expand is set, the more it will stretch-out from the center
// as the light moves from the center.
object._x = (radius * expand) * Math.cos(angle);
object._y = (radius * expand) * Math.sin(angle);
}
and on the next frame...
radius = Math.sqrt(_x*_x+_y*_y);
angle = Math.atan(_y/_x);
// Correct angle for quadrant.
if (_x < 0) angle = (Math.PI) + angle;
burst1._x = x;
burst2._y = y;
placeObject(burst2, 1);
placeObject(burst3, 0.5);
placeObject(burst4, 1.8);
placeObject(burst5, 0.6);
placeObject(burst6, 1.5);
placeObject(burst7, -0.4);
placeObject(burst8, 1.6);
placeObject(burst9, -0.2);
// Closer to the center, the more alpha there is.
big_alpha = 100 - radius;
if (big_alpha < 0) big_alpha = 0;
bigburst._alpha = big_alpha;
View Replies !
View Related
Mag Lens Effect How To Make It Work Inside A Movie CLip?
I donīt know if this is the right forum for my question but I will post it anyway
Mag lens effect how to make it work inside a Movie CLip??
Effect is described at :
http://www.flashkit.com/tutorials/Sp...-144/more6.php
Iīve tried to duplicate mag. lens effect inserting all objects and lines code into a movie clip which is placed onto frame 1 of a scene (thatīs the only frame that means the scene is stopped).
However mag lens does not work and I realized it plays continuously
and without any control the Movie clip.
Is there a way adapt it to run into a Movie clip??
Thank You very much for your attention.
Using flahs five
ron_wolpa@hotmail.com
View Replies !
View Related
[flash8]Help Needed With Pageflip V213 : Adding A Zoom Lens
Ok here goes nothing :
I have a complicated assignement : I have to make on online catalogue using Pageflip v213 ;
This catalogue has to include :
A couple of zoom in/zoom out buttons;
A toggable magnifying lens (onrelease : a draggable magnifying frame appears over the pages used by pageflip, and stays within the pageflip frame)
One Prev., one Next, and one GoToPage button (that's ok I managed to have that work).
Everything works ok on individual .swf files, the pageflipper, the zoom lens, the zoomin/out buttons : everything's peachy.
I externally load these same .swf's through a XML file : and nothing works anymore....
Horribly frustrating.
Is this because this pageflip version doesn't support dynamic pages?
Please someone help me out, I'm losing my credibility here!!!
Any hints, ideas or solutions will be warmly welcomed.
If you want to check out the .fla, xml files, please feel free to ask'em.
If I can solve this I might just get a job...so the stakes are high.
Thanks in advance.
View Replies !
View Related
Simple "Lens" Spotlight?
I want a niffy little thing for a website. I am a digital photography and have lots of photos. I got a good photo, saved it as 1.jpg and then heavily blurred it and saved it as 2.jpg
I now want to have blurred photo(2.jpg) on screen, then when I move my mouse over it, a sort of "View Finder" box will follow my mouse and inside that you can see it clear(1.jpg). So basically its like seeing a blurred photo and you can move your mouse around it and it will be sharp/clear. I am very new to flash so any help apreciated.
I am running Flash 5
View Replies !
View Related
|