Magnifying help

Hi I am doing a multi course but cant seem to get this to
work i was wondering if anyone can help
ill post the instructions i was given and if anyone can help
id greatly appreciate it
Step one: Creating the image you want to magnify
Before you can start you will need an image of something to
magnify. This could be a bitmap image such as a Jpeg or Gif. It
could also be a vector based image created with Flash (or in a
Graphics program like Freehand, Illustrator, or CorelDraw). The
vector based images are best because the file sizes are smaller but
they take more time to create as you have to draw every detail.
I have taken the easy way out and typed in a Company name and
phone number in Fireworks and then saved them as a Jpeg and the
mobile phone comes from a clip art site we have a license to use
images from and is a gif with a transparent background.
Don’t make your image larger than your stage dimensions
in Flash.
Step two: Setting up the Flash file
Open a new Flash file
Go to: Modify > Document
Set the document size to about: 480 x 400 pixels
Go to: File > Import
Browse to the Jpeg/Gif file that you wish to use.
Your Jpeg should now be on Stage. If it is not on Stage it
will be in your Library - Drag it onto the Stage
Note: If you are using an image from a graphics program you
can copy and paste it into Flash (make sure you rename it in the
Library)
Rename the Layer you start with to: object
Change the image you have moved from the Library or typed
text by using the Selection Tool to grab it all and then go to
Modify, then Convert to Symbol and choose Movie Clip as the symbol
type – name it firstimage
Name this instance of the graphic in the objectLayer using
Properties: original
The image is now ready to be magnified.
Step three: Preparing the Magnifying Layer
Create a New Layer above the object Layer and call it:
largerobject
Go to the Library and right click on firstimage, choose
Duplicate and name this image secondimage the Behavior will still
be Movie Clip
Go back to the main stage and drag the new movie clip
secondimage from the library and place it on the main stage.
This movie clip must be in the new layer: largerobject
In the Property inspector give this movie clip an instance
name: scaledimage
Step four: The Glass Mask
Create a New Layer above the largerobject layer called:
magglass
Draw a circle in this layer with a diameter of about: 145
pixels
With your Arrow tool select the outside stroke of the circle
Stroke selected
Go to: Edit > Cut
Note: You will paste the stroke later to create the glass rim
Right click on the inside of the circle and convert it to a
Symbol
Name: mglass
Behavior: Movie Clip
Note: The advantage of creating the movie clip this way is
that the circle will be exactly centred in the movie clip and we
need this
Instance of mglass on stage with a centred registration point
In the magglass Layer select the mglass Symbol and name this
instance of the graphic in the objectLayer using Properties:
magnifiermask
Add a grey edge to the circle or a crescent shape to show the
glass effect to the full – remember to make these effects
about 30% Alpha or more if you use them
Right click on the Layer name: magglass
Select: Mask
Your layers should look like this
Note: The layer stacking order is critical
Step five: The Magnifying Glass object
Create a new Layer above your magglass Layer called: magtool
Note: It is important that the magnifying glass rim and
handle is in its own layer, otherwise the mask may fail to work
correctly or the rim may not be visible.
If you cut the outside stroke from the circle above (step
4.3) it should still be in the computer memory.
Go to: Edit > Paste
If you do not have the outside of the circle in the memory
you will need to draw one. Remember to delete the centre or you
will not see the magnifying glass underneath!
Right click on the rim and convert it to a Symbol
Name: magna
Behavior: Movie Clip
Make your own colour and texture changes to the rim to make
it look authentic
In the magtool Layer select the magna Symbol and name this
instance of the graphic in the objectLayer using Properties:
magnifyingglass
Add the following code to this Symbol:
onClipEvent (load) {
_root.mag = 150;
Step six: The Handle
On the same layer draw a rectangle away from the rim you have
just created, add colour
Right click on the rim and convert it to a Symbol
Name: handle
Behavior: Button
Then using the Selection Tool arrow move it to touch the rim
Select the handle Button and add the following code to your
selected handle:
on (press) {
startDrag(_root.magnifyingglass);
on (releaseOutside, release) {
stopDrag();
Note: This will attach and then release the handle to the
mouse cursor – which in turn is now attached to the rim and
more importantly the mask. It gives users a truer feeling of
holding a magnifying glass in their hand even though the code will
move both the shape and the mask
Step seven: The Final Code
Create your last New Layer above your magtool Layer (you can
leave this to use the default name for the layer or name it code as
this is where your ActionScript code will sit
Create 2 Keyframes through all the layers (To create a new
Keyframe, select Insert > Timeline > Keyframe, or Right Click
the frame where you want to place a Keyframe, and select Insert
Keyframe from the context menu. You will need to make the two
Keyframes on the code layer Blank Keyframes - to create a new Blank
Keyframe, select Insert > Timeline > Blank Keyframe, or Right
Click the frame where you want to place the Keyframe, and select
Insert Blank Keyframe from the context menu)
In the first Blank Keyframe on your code layer add the
following code:
// this makes the mask follow the magnifying glass
magnifiermask._x = magnifyingglass._x;
magnifiermask._y = magnifyingglass._y;
// this scales up the image according to the magnification
variable, mag
scaledimage._xscale = mag;
scaledimage._yscale = mag;
// this places the scaled image in the correct spot
// (original._x-magnifiermask._x) tells us where the glass is
"relative to the centre of the original"
scaledimage._x = mag/100*(original._x-magnifiermask._x) +
magnifiermask._x;
scaledimage._y = mag/100*(original._y-magnifiermask._y) +
magnifiermask._y;
if(Key.isDown(key.Up)) {
mag= mag * 1.01;
if((Key.isDown(key.Up))&&(Key.isDown(key.SHIFT))) {
mag= mag * 1.05;
if(Key.isDown(key.Down)) {
mag= mag / 1.01;
if((Key.isDown(key.Down))&&(Key.isDown(key.SHIFT))) {
mag= mag / 1.05;
Note: The // strokes stop the text to the right of them on
each line from being read and worked on. They are useful to
describe what each part of your script does especially if you are
going to reuse the script later in other projects
In the second Blank Keyframe you will need to place the
following code: gotoAndPlay(1);
Your magnifying glass animation should be ready to use.
Use the existing .fla file from this magnifying
thanks

I have completed the actual task its just the magnifying
clicking wont work.
I believe that the error is here:
===========================
// this makes the mask follow the magnifying glass
magnifiermask._x = magnifyingglass._x;
magnifiermask._y = magnifyingglass._y;
// this scales up the image according to the magnification
variable, mag
scaledimage._xscale = mag;
scaledimage._yscale = mag;
// this places the scaled image in the correct spot
// (original._x-magnifiermask._x) tells us where the glass is
"relative to the centre of the original"
scaledimage._x = mag/100*(original._x-magnifiermask._x) +
magnifiermask._x;
scaledimage._y = mag/100*(original._y-magnifiermask._y) +
magnifiermask._y;
if(Key.isDown(key.Up)) {
mag= mag * 1.01;
if((Key.isDown(key.Up))&&(Key.isDown(key.SHIFT))) {
mag= mag * 1.05;
if(Key.isDown(key.Down)) {
mag= mag / 1.01;
if((Key.isDown(key.Down))&&(Key.isDown(key.SHIFT))) {
mag= mag / 1.05;
================================
because everything works except for the clicking of the
buttons it magnifies at around +100% but it does it automatically
im meant to use the control arrows to define the magnification
rate.
Thanks Peter

Similar Messages

  • My macbook pro just turned off on me twice! What could this be?

    Every morning I wake up and charge my macbook. Today I turned it on, and instantly put my ipod to charge off the laptop before it even booted up. (never really dont that before) Well after it turned on it was fine, but it just shut off on me. So I disconnected the ipod, and turned it back on. This time I waited til it booted up and then i put my ipod to charge. I notice that iTunes didnt open up automatically. Continued onto the internet. As I was browsing it shut off on me a second time. Anyone have an idea as to why it just randomly shut off on me? Please advise. I am really nervous about this computer for the simple fact it costed me alot of money, and I was not able to afford AppleCare. Please let me kno if you may have an idea as to why it shut off on my on its own... Thank you in advance

    Can you hear the fans spinning up? At normal idle (2000 rpm on my Mid 2012 non-Retina 13-inch MBP) they are not audible except in a very quite room. They have to get to about 2500 rpm for a person with normal hearing to notice them running in a typical office or home environment.
    Will the computer start if you hold the SHIFT key during boot? That takes longer because it does some directory checks, so keep holding SHIFT until you see a message that you are in Safe Mode or you get a stable desktop.
    To further test, we need to know your exact MBP variant. If the computer will not start, you can enter your serial number into this Apple Support page:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    That will give you the exact model info.
    On pre-Unibody MBPs (Early 2008 and older, the serial number is under the detachable battery. On later models it is on the case bottom in fine type (a magnifier helps).
    Once we know your exact model we can offer a reset procedure, or at least tell you how to run Apple Hardware Test to check for hardware issues.

  • Magnify effect in photo gallery, need help...

    Heya,
    So if you visit
    http://www.hookmedia.biz/cabinet_source/v4_f
    and navigate to the "Gallery" page you'll see that, below the area
    the large photo is displayed, there is a "film strip" of thumbnail
    photo's. I need these photos to be magnified when you mouseover
    them but I'm unsure of exactly how to do that. Can anyone help?
    You can download the entire .fla via this link:
    http://www.hookmedia.biz/cabinet_source/v4_f/index/fla
    Once downloaded, double click on the main content area
    (titled content_mc) and navigate to the second frame and open the
    "photo_gallery" or "gallery" folder where you'll find the first
    layer is actionscript for the photo gallery.
    Thanks!

    You rollover code doesn't work because you are assigning the
    functions
    before you load the images. The loaded images remove your
    code. You should
    not use loadMovie and use the MovieClipLoader class instead.
    Then, in its
    onLoadInit method you can assign your functions - so that
    they are assigned
    after the clip is loaded. Also, I'd either just create empty
    clips, on the
    fly, to load into or attach from the library. And
    duplicateMovieClip is not
    a property it is a method - calling like you are doing will
    not work. If
    you'd look in the Help you'll see that duplicateMovieClip can
    accept an init
    object, and also returns a ref to the new clip... So your
    code can be much
    simplified:
    this.holder.duplicateMovieClip; //duplicates the MC holder
    already on the
    stage
    this._name = "e"+i;
    this["e"+i]_x = _x + 50;
    this["e"+i]._alpha = 50;
    To:
    this.holder.duplicateMovieClip("e" + i,
    this.getNextHighestDepth(),
    {_x:theX, _alpha:50});
    And you can't set _x to _x + 50 like that... for one you'd
    need to use more
    like this._x = this._x + 50 or this._x += 50. But it still
    won't work here
    since all the new clips are going to be created at x=0. You
    need to
    increment a variable... or base the spacing on your loop
    variable, i - like
    i *50.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    everything you stated here is exactly what i have done and have got nowhere. i have windows 7 64 bit on a hp 8 g of ram desktop. im also looking for help

  • Filmstrip Magnify Effect, need help...

    Heya,
    So if you visit
    http://www.hookmedia.biz/cabinet_source/v4_f
    then you'll see that on the gallery page there is an area for a
    filmstrip. This filmstrip works great except that I need the images
    to magnify a little when you mouseover them. Can anyone help?
    Thanks!

    Hey thanks for the reply, but unfortunately I couldn't get
    that to work. I should have mentioned that in the first frame is
    the following AS:
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    image = [];
    description = [];
    thumbnails = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    image
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    description
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    thumbnails
    = xmlNode.childNodes.childNodes[2].firstChild.nodeValue;
    thumbnails_fn(i);
    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);
    desc_txt.text = description[p];
    picture_num();
    function prevImage() {
    if (p>0) {
    p--;
    picture._alpha = 0;
    picture.loadMovie(image[p], 1);
    desc_txt.text = description[p];
    picture_num();
    function firstImage() {
    if (loaded == filesize) {
    picture._alpha = 0;
    picture.loadMovie(image[0], 1);
    desc_txt.text = description[0];
    picture_num();
    function picture_num() {
    current_pos = p+1;
    pos_txt.text = current_pos+" / "+total;
    function thumbNailScroller() {
    // thumbnail code!
    this.createEmptyMovieClip("tscroller", 1000);
    scroll_speed = 10;
    tscroller.onEnterFrame = function() {
    if ((_root._ymouse>=thumbnail_mc._y) &&
    (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
    if ((_root._xmouse>=(hit_right._x-40)) &&
    (thumbnail_mc.hitTest(hit_right))) {
    thumbnail_mc._x -= scroll_speed;
    } else if ((_root._xmouse<=(hit_left._x+40)) &&
    (thumbnail_mc.hitTest(hit_left))) {
    thumbnail_mc._x += scroll_speed;
    } else {
    delete tscroller.onEnterFrame;
    function thumbnails_fn(k) {
    thumbnail_mc.createEmptyMovieClip("t"+k,
    thumbnail_mc.getNextHighestDepth());
    tlistener = new Object();
    tlistener.onLoadInit = function(target_mc) {
    target_mc._x = hit_left._x+(target_mc._width+5)*k;
    target_mc.pictureValue = k;
    target_mc.onRelease = function() {
    p = this.pictureValue-1;
    nextImage();
    target_mc.onRollOver = function() {
    this._alpha = 50;
    thumbNailScroller();
    target_mc.onRollOut = function() {
    this._alpha = 100;
    image_mcl = new MovieClipLoader();
    image_mcl.addListener(tlistener);
    image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);

  • TS2776 i've lost all my entries in my calendar. I was able to call them up with the magnifying glass icon . now it just goes to a search entry. and all my calendar/months have no entries. help please

    i've lost all the entries in my calendar.  i had been able to call them up with the magnifying glass list function, but now it only opens a search function and all my calendars/ entries are blank.  help please

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Can anyone help me display the calendar list using an iphone4 wit iso 7.1.1?  I have already tried tapping the magnifying glass and that doesn't work.

    Can anyone help me display the calendar list using an iphone4 with iso 7.1.1?  I have already tried tapping the magnifying glass and that doesn't work.

    That icon allows for the calendar month to display with the appts for that month below.  I want to see only the list of appointments without the month displaying.  I use to be able to get that display but since the last update tapping the magnifiying glass doesn't work.

  • Help.. Accidently got the magnifying glass with +

    Help please........I accidently hit a couple of keys together and got the magnifying glass with a + sign in it. Everything is way to big and pixelly. How do I get back to regular view?
    Diane

    Press the A to return to the selection tool. Press Shift-Z in the canvas or viewer to fit to window.

  • Help with Magnifying glass problem

    Hi m not so good in Maths so stuck with modifying the code
    posted here
    http://www.webwasp.co.uk/tutorials/b11-magnify/tutorial.php
    I have been able to modify some of the code like magnifying
    glass should move only when mouse is pressed or so but really
    difficult to make it work with different image sizes...
    Can anyone help...
    Sample file
    http://www.egoshare.com/71efc450b4ee7391bffc2c27a3efcfb1/int111a__magglasszip.html

    that looks like their poor flash player detection code.
    if you use ff you can use a. crugnola's flashswitcher to user more than one flash player.

  • Help with magnifier for ipod touch

    Hi Guys
    I'll start of by saying that i am partially sighted. I have an ipod touch 16gb 1st generation and was wondering if there is a way to get the accessibility options on it. i have used an iphone 4 for a while and the accessibility magnifier is excelent but does not seem to be on the ipod touch. somebody said that it's only on the 32gb and 64gb models. is there a way i can get it on mine because if it is only available on the 32gb and 64gb models this is very unfair as it makes people like me have to pay more to be able to have an ipod.
    any help would be much apreciated.
    thanks
    Gavin

    I got the same exact message I dont know why its not working?????

  • MAGNIFIED ICONS AND TEXTS, IT SMELL LIKE A PROBLEM!!! HELP

    Hi, can anyone help me please? i've been using my OSX Tiger a lot today with graphics and sort like that and then it started to behave weird. For example when I move the cursor over an Icon or text and i press the button it gets larger (magnified x3 or x4 times on the desktop) so it looks like a low-res image, it looks like a desktop mistake, I smell a problem. Does anyone knows what's the story with this?? is it a virus? I restarted the computer but the problem persists. (just in case, it is not the disabilities people magnify's tool) Any help?? THanks.

    I haven't experienced that with the Desktop. That happens sometimes when using Firefox, when I Option-click certain images on certain websites, or maybe it's Control-click that makes that happen. I am on my way to sleep, tired and can't remember exactly what it is that I do that makes certain images do that in Firefox.
    But what you could try, is do a Repair Disk Permissions. If you don't know where that is located, go to your Applications folder > Utilities > Disk Utility and try Repair Disk Permissions.
    Repair Disk Permissions help page information [ http://img118.imageshack.us/img118/9942/picture1ac7.png ]
    I haven't ever done the other selection, Repair Disk. I think it's a more thorough action. I don't know exactly what it does, though. If you do that, make sure to read the help page information first. And then decide if that is what you want to do. It's located close to the Repair Disk Permissions button. Although, Repair Disk may not be clickable. Since the one that I'm looking at is not clickable.
    Repair Disk help page information [ http://img85.imageshack.us/img85/4816/picture2lx2.png ]
    I've done Repair Disk Permissions before, and that is fine to do. I think that it takes a while, though.
    See if that helps.
    Other than that, I have no idea what to try.

  • Help in modifying an AE preset "magnify".

    I am making an animated swf, but i want to do things a little differently then the preset "text-tracking-magnify".
    With the preset as you can see in the link, all words enlarge one at a time. I want to change this so that 3 and D enlarge separately (as is the case currently), then have the word vision enlare all at once. What is the name of the section that i would modify to do this? I would rather just modify this preset. But if need be i can try to build it using a path, but with my limited knowledge, i would have to have each letter be its own element. I am taking this as a learning process to become more knowledgeable at working with AE animation. Thanks.
    http://i195.photobucket.com/albums/z100/micro5797/Kommitted/3d-fixupload-1.gif

    I found that it was a lot simpler to build my own from scratch. I made two compositions "3D" and "VISION". I used keyframs and scale every 10 frames i went from 100%-200%-100%. It worked perfectly.This took all of 3 min once i figured out what to do.
    I hope this post can help others out at a future date.

  • Help please. my iphone screen is magnified

    hi, for some reason my iphone 4 screen is magnified. if anyone know how to fix this please help >.< thank you

    If you have trouble turning Zoom off from your phone, connect the phone to iTunes, click the Summary tab, and click the "Configure Universal Access..." button. Select neither under the "Seeing" section and click "OK".

  • All of a sudden I have a magnified screen but I just want normal 100% size. HELP

    How do you adjust font size - I have a magnified screen for no reason.

    To reset the zoom level, try
    Ctrl+0 (''that's a zero'') or
    View menu > Zoom > Reset
    Does that make any difference?
    If everything is magnified -- the page, the toolbars, Windows icons, etc. -- try this: close Firefox and right-click the shortcut (e.g., on the desktop or quick launch, whatever is relevant), choose Properties, then the Compatibility tab. Clear any settings/checkboxes there. Then restart Firefox. Does that help?

  • Suddenly, one day, all the type in my gmail messages was reduced in size--now need magnifying glass to read it! Help please.

    All info stated in question. About the third time I've asked this question with no help.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

Maybe you are looking for

  • What's the deal with 7:22 For iCal and iPhoto

    Ok, so I'm having this problem where on every single saved picture or document the "Get Info" tab shows it as being created at either 7:22 AM or 7:22 PM. Also, all of my events on iCal show up automatically as happening at 7:22 when I select the "Sho

  • IPhoto (old-- version 8?) won't import photos from iPhone 5. Very buggy.

    I have an old version of iPhoto that is very buggy (we have an 06 iMac, to be replaced next month). Admittedly, when I've been prompted to rebuild the cache, I don't (what does that do, anyway?). Lately, my problems have been: 1) Certain photos from

  • Buying an external monitor...

    I'm shopping for an HDTV to hookup to my macbook. One of my friends said to use the miniDVI-DVI adapter and connect the DVI to an HDTV with a DVI input. Is this sufficient to use the HDTV as a monitor-aka- am i going to be able to read type? I know w

  • Queries regarding instalation of SAP R/3 and BW

    Dear Friends, I am planning to install SAP R/3 and BW on a external hard disk.Then install two operating system in my laptop which supports R/3 and BW. Regarding this I have below mentioned doubts / queries, 1) Is is workable solution? 2) Is my appro

  • Does CC take over my perpetual CS6 licence?

    I have a perpetual licence of Creative Suite 6 and am running many of its applications - InDesign, Photoshop, Illustrator and so on. It is working perfectly for the print-based work I do. However, I may take on a job that requires me to subscribe to