ActionScript 2.0 :: Add More Panels - Modify Zoom Navigation
Aug 7, 2006
i try to modify a file i got here: [URL] simply, i try to add more panels. tried to edit the vars, added mc's with a corresponding name, added more buttons, but on the 7th and further, no mc is loaded.
View 4 Replies
Similar Posts:
Nov 1, 2006
I tried searching on it but I wasn't exactly sure what to search for.
[URL]
I'd like to know how to do the zoom out/in/around navigation.
View 2 Replies
Aug 29, 2010
I'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 Replies
Aug 23, 2006
I am doing something for a friend, a flash portfolio site, basically what happens right now is that when one of the pictures is clicked the stage zooms in so that the image takes up the entire stage, now on clicking that picture again, the image zooms out... that's all fine, the problem is that when i want to click on another edge of a picture that is also visible at the time when it is zoomed in, the whole thing zooms out
I'm not sure if i have to use an array, or a one more variable or what i have to do..
the site is at [URL]
View 9 Replies
Feb 7, 2012
I 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]..............
View 1 Replies
Jun 7, 2004
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.
View 14 Replies
Dec 14, 2005
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 Replies
Dec 15, 2011
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?
View 2 Replies
May 13, 2011
Using flex / air 2.6 working on an Android device, I am using a canvas with a TransformGestureEvent for zoom in on a map. The listening of the efect is working ok, but I can´t seem to find the information on wether the user intended zoom in or zoom out (fingers getting closer or getting apart).I expected the intention of the gesture to be identifiable with the offsetX and offsetY properties of the event, as you will do on a swipe gesture event. But I always get 0 for both properties, no matter how I do the gesture in the device.How can I know if the fingers getting closer or getting apart in a gesture zoom event?
View 1 Replies
Oct 26, 2009
i had a flash file, and the image was dynamically loaded in a movieClip. when i double click the image it will zoom max. and another double click it will retain its best fit.
View 0 Replies
Apr 14, 2009
I need to have a button to be clicked for the zoom effcet to be activated, then when the mouse hovers over an image it should zoom to 200%. I have 40 images which I'd like to have this effect by.Also when the cursor is over the image is it possible to make the change the cursor to a magnifying glass?
View 1 Replies
Jul 8, 2009
I'm developing a full screen zoom/pan UI. Everything is working great, except I can't get it to center on the correct point when zooming in.
You can view what I have here: [URL]
The numbers in the top-left corner are the navigation, and the white boxes represent the individual sections.
I have a large container movieclip that fills the entire page. Inside of that movieclip (site) I have all of my individual section movieclips (section1-section6). I'm also using a dynamic registration point class to dynamically set the registration point of the "site" movieclip to the current selected section, so that the zoom in/out is centered on that section.
When a user clicks on a navigation item, I first reduce the _xscale and _yscale of "site" to 80, when that is complete I move _x and _y to the position of the selected section's movieclip. When that is complete, I set the _xscale and _yscale back to 100. Right now, it is not zooming in centered, so I have a final step where I correct the _x and _y position after zooming back in.
If I don't zoom in/out I can successfully pan the movieclip and center on the correct section. I believe the problem is that I am moving the _x and _y to the position of the "site" movieclip as if it is at 100%, but since it is at 80% it is not moving to the correct position. I tried to fix this by giving the _x and _y coordinates as:
endX = endX / 100 * 80;
Which made it a little better, but still not centered. I have a feeling that there may be a fundamental flaw in my approach to this.
For some reason the forum won't let me attach my .zip, so I posted it online, as well: [URL]
My code below, in case you don't want to download the file:
Code:
tile._alpha = 0;
currentSection = section1;
//** Set Stage **//
[Code]....
View 1 Replies
May 9, 2004
How to make several MCs to zoom in on mouse over and zoom out to it�s original scale on mouse out??? all this with actionscript and with some ease (elasticity) to make the motion more natural?
View 2 Replies
Apr 14, 2009
I need to have a button to be clicked for the zoom effcet to be activated, then when the mouse hovers over an image it should zoom to 200%. I have 40 images which I'd like to have this effect by.Also when the cursor is over the image is it possible to make the change the cursor to a magnifying glass?
View 3 Replies
Feb 3, 2009
Somehow, my properties and actions panels became "undocked". They now refuse to snap back into their original positions.
View 2 Replies
May 23, 2002
how do you edit a movie so that when you right click the movie...it wont show all the things like "zoom in" or "zoom out"???
View 2 Replies
Jan 13, 2010
Is there any way to turn off the autodocking panels. I just want my panels to be free floating and not stick together. The way they dock and stick together is the worst.
View 2 Replies
Aug 2, 2010
Are there any panels in CS5 created for mobile devices/Android app development? What are the commonly used tools/panels for app development?
View 2 Replies
Jul 16, 2009
I want to create a set of panels. One holds the buttons and the other holds the main drawing panel. An ASCII representation would look like this:
Code:
-----------------------------------
| B | MAIN |
| U | DRAWING |
| T | SPACE |
| T | |
| O | |
| N | |
| S | |
-----------------------------------
I will be letting the user move things around the main drawing space and want to prevent them from moving things into the panel of buttons. Also, I want to be able to export an image file showing the contents of the main drawing panel. Is there a nice way to create these panels using ActionScript? I saw that there was a panel object in Flex and am unsure how to do that with AS 3.0.
View 2 Replies
Mar 28, 2011
I have a ViewStack with 2 panels:
<mx:ViewStack id="viewstack1" height="243">
<mx:Panel id="gridPanel">
<mx:DataGrid id="grid" right="10" left="10" top="10" bottom="10" width="300" height="150" itemClick="showDetails(event)">
[Code]....
I want to have the user click a grid item in the first panel and then load the data in a panel in the second panel. I can grab the value of the index for the clicked item in the itemClicked handler, but how do I access the detailsPanel to set the values based on the row info from the Grid?
View 3 Replies
May 23, 2011
SO, it's been a while since I've done actionscript 3 again, been mostly busy with iOS programming..Anyway, what I'm trying to create is a sliding panels.So far they work but I'm having some troubles, And everything I try does not do what I want hehe.
The panels work, I generate 5 of them in a for loop, they slide open and close when clicked using greensock.But, They all have a label, which needs to slide with it instead of staying on the same position.Plus, I have a if/else to check if a panel is open, but I want to check this individually instead of overall.
The full code is:
import com.greensock.TweenLite;
import flash.geom.ColorTransform;
import flash.text.engine.TabStop;
[cod]....
View 1 Replies
Sep 27, 2011
My problem is i am trying to make a panel. My button in in Main.mxml whereas the panel functions are defined in panel_Create.mxml. the code works fine. In panel_Create their are functions to create panels at runtime. The problem i am facing is when i run the program it wont show the panels but it does increase the value of n and after 8 clicks it gives alert message. The code works fine when i put all the code in Main.mxml
<fx:Script>
<![CDATA[
import Components.panel_Create;[code].....
View 3 Replies
Jan 21, 2004
i'm interested in creating sliding transition panels for menu items similar to those found on the below websites. My question is how these panels work from an actionscript point of view in terms of the very fast and clean motion dynamics and whether people think they are built into the main page or whether they load as part of the called swf
View 2 Replies
Aug 6, 2003
i have visited a very good flash site..I gotta give credit for their dedication and their work as well. [URL] I wonder, how they put all those animation in a banner with that small size of file ? I mean banner's size is not big at all. My other question is that, how do you make it "zoom in and zoom out" on a movie..Like on those banners. Do they binding all the layers to make it a movie then resize it on the movie or what?
View 3 Replies
Feb 23, 2010
I am using a for loop which creates 4 panels inside a tabnavigator. the problem is the panels all display in a vertical row. I am wanting to have two panels in row one then another 2 panels under that in row two. Not 4 in a vertical line.
View 1 Replies
Jan 29, 2012
I'm using Adobe Flex Builder 4.5, and I'd like to create a vertical, scrollable list of panels for an AIR application. How do I do that?
View 1 Replies
Aug 19, 2009
How to make it XML based?
View 1 Replies
Feb 4, 2010
I completed the 3d Photo Panels tutorial and everything works great. The problem I have is that, when you click out of the browser to a different application or the desktop, the panels start spinning at a ridiculous speed. movie when the mouse leaves the stage? I understand can add an event listener for when the mouse leaves the stage, but I just don't know what to write to stop the movie and then restart the movie when the mouse returns. I'm fairly new to AS3 and it's been a while since I've coded AS2 or used Flash.Here's my code:
Code: Select allpackage {
import com.greensock.*;
import com.greensock.easing.*;
[code].....
View 5 Replies
Oct 16, 2009
I've seen all kinds of accordion menu examples that allow for one pane open at a time, but I really need one that can have more than one open at a time.
View 4 Replies
Dec 26, 2009
Can i display two timeline panels at the same time in flash?
View 2 Replies