ActionScript 2.0 :: Zoom In To New Pages?
Dec 24, 2004[URL] zooms in to bring in new pages, and zooms out to return. Check it out.
View 2 Replies[URL] zooms in to bring in new pages, and zooms out to return. Check it out.
View 2 Replies[URL] zooms in to bring in new pages, and zooms out to return.
View 2 RepliesLooking for a tutorial to make individual pages (jpg or gif) into swf pages so we can add links in an on-line flip book. I have flash, but have not learned as of yet.
View 2 RepliesI would like to know how to track my pages with google analytics to see which pages are getting the most clicks. My site is XML / Flash the menu is xml. Could I put the tracking code on each of the menu items in the xml file?
View 7 RepliesI'm using FileReference to upload PDFs and PHP to email it.Is there any way to find out the number of pages within the PDF using either Flash or PHP?
View 5 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'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 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?
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 Repliesi 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 RepliesI'm trying out a page-flip program that tells me to create the pages as jpegs within a folder named "pages" in the Library. When I try to run it, it tells me it can't find the jpegs. I can get it to work locally by including the full URL (i.e., "...My Documentsedinnerpartiesimagesp3-large.jpg), but I know this isn't embedded in the swf file.
View 1 RepliesI 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 RepliesI'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]....
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 RepliesI 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 RepliesI have created a website with one flash animation banner.The banner .swf has 5 menus. Each menu goes to different movieclips inside the .swf file. and at the same time i want to load the corresponding html file when i click the menu button and place the html content into the bottom area of the main html page without refreshing the html page.
View 2 Replieshow 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 Repliesi 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 Repliesi want to zoom in on an image by clicking one particular region and zoom out by clicking again. how can i achieve this.
View 6 RepliesI am planning to create a photo/video gallery secured by a pin. So i plan to have 4 pages, Login, Menu, Image Page and Video View. Login would be a simple textbox where i check the pin. The Menu would show all picture albums and videos in a list i create with clickable sprites or buttons or something like that. And a video view where a video will be shown if i click on a video link on the menu page.
I tried to prepare the scene in flash cs5, so i decided to create 4 frames. ALl pages have their own layer. The first will be the login, second the menu, third the image view (incl. thumbnail show and fullscreen view popup) and a video view. On each keyframe i put a rectangle converting it into a MovieClip acting as the main container where all the stuff will come into.
Now i tried to initialize all these MovieClips by resizing them everytime the stage is resized. For this i get errors, that some of the MovieClips are null. This is because the MovieClips exist only keyframe 2 for the menu or keyframe 3 for the image page and keyframe 4 for the video view. So i have to put them all into keyframe 1 to be able to access. But i created 4 keyframes because i want to jump to them by using "gotoAndStop( n)", where n stands for keyframe 2, 3 or 4.
I dont get it, how does Flash interpret the code and how is the visibility of these MovieClips. Can i only access the MovieClip from keyframe 2 because i added it on keyframe 2 only? What is the best solution to have a simple 4 page app where on page 1 (menu) i click on video link which holds some sort of ID of the video, then i jump to keyframe 4 for the video view providing it with that ID, but how to do that when Actionscript doesnt even know there is a video container MovieClip. To get Actioscript to know all of them, i have to move them to keyframe 1, but then how to do the paging stuff.
So I'm working on a new flash site project for my boss. I've not done a flash site before so am learning as I go.
What I wanted to get advice on is the best way to build the set of pages. As you see from the homepage, there are 8 buttons there in total.
Obviously, when one is clicked, it will take you to that page *collections, profile, etc etc....). I am in the process of creating these pages but want to know what's the ideal way to set up the fla.
Is it best to create each page as internal movie clips inside the actual site.fla and then using the attachmovie command attach them to a main container_mc? Or is it best making them separately and loading them externally, loadmovie to a container_mc?Or do I set each page at a different frame on the main timeline and get the button to jump to that frame, which then plays the movie via one of the methids above?
I currently have a flash file and it all works fine, but I'm about to update it and it will become a little complicated to update the way I have set it up.
I have 15 pages (going to be updated to 40pages soon) and a side menu, clicking on one of the tabs in the menu will animate the relevant page onto the stage. Here is the code I am using[code]...
I am trying to do something pretty basic I think...I have attached a screenshot below of what the site looks like so far. What I want to do is always have the left hand side links showing on the site. I want to create a new .fla for projects and have that load on the window on the right when the projects link is clicked on. What I have done in the past is create the entire website within one .fla but that is getting too confusing. I assume some actionscript is required here which I am pretty useless with.
View 21 RepliesI have some flash code and an XML file that creates dynamic buttons that allow you to cycle through the XML file. Im trying to integrate this code into my .FLA but I want to get rid of the code that tells it to rely on the dynamic buttons, and instead, use my non-dynamic navigation I already have built to load the specific part of the XML depending on which page you click in my nav.
I just don't know what to strip - and what to add to the code to make it work.
My .FLA is setup in that each "page" is on a different layer on frame 1, so it uses actionscript to fade in and out of each "page".
Heres a link to the working example of the XML I found: [URL]
Heres my actual site to give you a better idea of what i want to integrate in: [URL]
Heres the XML code, file called products.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product id="42">
[Code].....
I'm creating flash site which will have different backgrounds for each page. I'll load the individual pages with "MovieClipLoader." My understanding about MovieClipLoaders is that, it doesn't matter the background of your mc, the page to which you are loading will maintain it's background.
View 3 RepliesI was wondering is there a way to have an embedded swf navigate to different pages of a pdf?
Example:my swf is on page one. There are mulitple buttons in the swf, when clicked it will take you to page 3, or 5, or 7, etc.
Currently, when I click on a button, it DOES take me to say page 4, but the content on page is the SWF file from page 1, and not the content that is suppose to be on page 4.[code]...
How to do navigation via flash webpages by scrolling and scroll to exact place by pressing buttons ? this is example of navigation i want to do[url]...
View 4 Repliesmenu and background layers are static, and tweens are contained withinintros and outros. On the intros layer, pages fly in from the right while on the outros layer, pages fly out to the left. Each intro page has been labeled page1, page2, etc... and for the outro pages arelabeled page1out, page2out, etc...I am trying to use the built in flas tweens, and really don't want to look at other frameworks until I have a good grasp of the built in engines.When a menu button isclicked, I would like for the current page to play its outro while the next page is playing its intro - simultaneously.
Here is a snippet of my messy code:
home_mc.addEventListener(MouseEvent.CLICK, home_mc_clicked);function home_mc_clicked(e:MouseEvent) :void{ gotoAndPlay("page1");
[code].....
I have created two buttons from images, one to Facebook and one to LinkedIn.They both work perfectly in the test .swf file.When I upload them to my server, the Facebook button does not load correctlyThis is the actionscript I am using:
facebook.onRelease=function(){
getURL("http://www.facebook.com/pages/Express-Yourself-Photo-Booth/16208587053 4628","_blank","GET");
[code].....