Flash :: Add A Zoom Feature To Existing Application?
Sep 25, 2010
I have a Flash application with one scene, three frames and a bunch of ActionScript code to provide a number of ExternalInterface hooks. The three frames contain a single Input Text box which, as the <embed> tag is resized using JavaScript, grows and shrinks (not scales) to fit. I now want to add the ability to zoom in/out of this application, for enlarging small text on screen without increasing the text point size. I thought this would be easy using the Javascript Zoom(percent) method of the Flash object, but this doesn't work because my ActionScript code contains:
[Code]...
I suspect I need to take the entire movie as I have it now, and put it inside a movie clip, add a zoom ExternalInterface call which somehow scales the movieClip, and move the External Inteterface methods I have now from the new Movie Clip outside to the stage... but this sounds like a near complete rewrite? Will this method even work? Is there a better way?
View 1 Replies
Similar Posts:
Aug 1, 2011
how to zoom a movie clip like this: [URL]The Fist map on that page, you can zoom a particular region by draging a box around it.
View 3 Replies
Mar 18, 2008
How can I add a zoom to selection feature to this?
I just want a basic marquee zoom. Like draw a rectangle on the map and zoom into the rectangle.. just like on this map
View 4 Replies
Oct 10, 2011
I have heard about Flash Builder 4.5.1.As I have understood, one can make an application using Flex with the Flash Builder 4.5.1 and also exported the release build for iOS, Android and Blackberry.
What are the limitations of Flash Builder for developing the mobile applications? What are the things which can't do with this IDE? Is bluetooth, one of the thing?
Is it possible to develop Bluetooth feature for an application using Flash CS5?
View 2 Replies
Jan 7, 2011
Is there any simple way how to pack existing Flash8 project using AS2 and multiple files to to Adobe Air application?
View 2 Replies
Jul 21, 2009
how to resize a swf after I right click and use the "Zoom In" feature. There is a button on stage that goes to another frame when pressd. The movie clip in that frame needs to be set to show all but it opens in the zoomed in mode. I tried stage.scaleMode = StageScaleMode.SHOW_ALL but it didn't work.
View 0 Replies
Dec 29, 2010
I am developing a flash+flickr application for iphone and ipad.
I have the following error when I try to access to flickr server.
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
I have tried: Security.allowDomain("*", "api.flickr.com");But, it doesn't work ...Do you have any suggestion o idea that I would have to do?
View 2 Replies
Jul 11, 2011
Lets say we have an online application written in AS3 and served from a server as a SWF. The first version to go out is V1.0.
Several users, some behind a proxy server, use the V1.0 application and now there is a cached copy on the client machines and the proxy server.
V1.1 is released and placed on the server. All users should see V1.1, but results will vary, some will be served the fresh copy, some will for a period receive their cache's copy, and finally some will be served the cache'd copy in the proxy server.
I can be code in the V1.0 that checks a server variable to see if it's out of date. BUT if it is out of date, is there a way in AS3 to force it download a fresh copy, or apply the differences into itself?
Considering that I don't have access to the proxy server and can't manually or automatically clear the cache.
View 3 Replies
Jan 24, 2012
I had flex project with few action script files.I want to make the project as swc file. So can i know how to create it as swc file.
View 2 Replies
Aug 12, 2011
I am trying to make my flex app work on Android, and that involves making an AIR app to run on Android. Seeing as the flex app needs the mic, an AIR app is required. I am using flash builder 4.5 on win7 with air 2.6. The trouble seems to be that most of it is now not available. For example mx.containers is there, but not mx.containers.viewStack. I notice that there are obvious equivalents in spark for some components but not others. VBox, HBox, Canvas VDividedBox, AdvancedDataGrid and associated custom renderers are the components my application uses the most. What is the fastest way to make this work on Android, I am under time pressure. Is there a site somewhere that recommends the best way to do this, and what components can be replaced with which?
[URL]
View 1 Replies
Sep 17, 2010
I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.
I have build Flex/J2EE applications from scratch but can't think of the best way to do this.
I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.
View 1 Replies
Nov 18, 2010
I heard that ArrayCollection on Flex, so how can I use ArrayCollection like feature in ActionScript 3.0 and Flash IDE.
View 2 Replies
Dec 30, 2011
Does anyone know of an online demo of the new flash AEC feature ?
View 1 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
Jul 23, 2009
I have recently received a copy of the Adobe eLearning suite, in particular I hope to use Flash for the majority of my elearning projects.I have been having trouble using the learning interactions that come ready to use with Flash. For example,I placed the drag and drop interaction onto the stage area, but when pressing F12 to preview and use this feature it would not work (could not drag the movie objects), the same goes for all the other features I can select radio buttons etc but when pressing the 'cheack answer' button nothing happens.Even though these interactions come with instructions which i have followed, it still does not seem to work. I do not wish for them to be scored, I just want the user to receive correct or incorrect feedback.
View 1 Replies
Jul 10, 2010
does Adobe have a plug-in for Flash CS4 or what would you recommend?
View 6 Replies
Feb 9, 2011
Having the following code:[code]Doesn't work if the line marked with (1) is there, however if I comment out this line, its able to load one single file, before it stops working.Using ActionScript 3.0 under CS5.[code]
View 1 Replies
Nov 16, 2011
I am going to create an application in that i have to implement an Undo and Redo feature. In the application there will be multiple objects located on stage and user can customize the position of the objects. But when user clicks on Undo the object go back to their default position and after clicking on redo object will move on the new position. So my question is how can I apply these feature in my application? Is there any library or any third party classes?
View 3 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
Oct 20, 2009
I am creating a shopping cart feature within flash using as2 using this tut [URL]. I have created the as file and there are no errors but when it can to adding the first part of code to go into the actual flash file I get this error
The class or the interface 'com.ahfx.
Product could not be loaded(source)
var myProduct = new Product();
The code added on the first frame of the flash file
import com.ahfx.Product;
var myProduct = new Product();
myProduct.setQuantity(3);
myProduct.setPrice(2.99);
myProduct.setDesc("Teddy Bear");
trace(myProduct.getDesc());
trace(myProduct.getPrice());
trace(myProduct.getQuantity());
trace(myProduct.getTotal());
View 1 Replies
Aug 17, 2010
is there any way to turn off automatic right braces feature in flash cs5??
View 1 Replies
Dec 20, 2010
i am newbee to fms(flash media server). Is it possible to enable desktop sharing feature in flash cs4/cs5?
View 1 Replies
Mar 11, 2012
I'm trying to see if I can set up a text to speech feature in Flash. I found this post, which details how to integrate Google's text to speech functionality with Flash. Seems pretty good, but the post seems to be written for uber-genius AS3 programmers...well not really, but at least those who already know how to stitch these pieces together.
I know a bit about using classes and packages, but can't seem to figure out how all the chunks of code in his post would be stitched together.
Any chance anyone can check this out, and give me a basic rundown of how all these pieces would go together?? So I can try implementing this myself...
[URL]
PS. Also open to another solution to text to speech in Flash, if you know of an easier one..
View 5 Replies
Oct 25, 2011
In OpenCV, we can use a xml file to describe haar-like features of a specific object. I wanna use this idea to detect palm and fist, now I hava my own xml feature file, and it works well in C and Python(with OpenCV), now I need to move this idea to flash.
Luckily, I found an project named Marilena, it successfully moved the haar-trainning part of OpenCV to actionscript, and this article optimizing flash based face detection optimized Marilena, he turned the xml file into actionscript class itself to speedup the calculation. However, since the Haar data is being hardcoded into the class now it will not be able to use for tracking anything else but faces. I try to read the source code for detail, and process my own xml file into actionscript class file in his way, but finally find something different.
The xml file for face detection is like :
Every tree has only one node "root node", but in my xml file, some trees have two nodes, and the "left_val" above changes to "left_node" sometime, I don't know how to process these nodes. I think I should goto OpenCV C source files for detail to find how to correctly process xml feature file, but where to start,
View 1 Replies
Jun 20, 2011
I haven't seen many Flash games on facebook or other applications really utilize it yet (or appear to utilize it).
Are there some good professional examples of its use?
Is pixel bender just too slow for practical use on today's web hardware? I read that Flash will fallback to interpreted mode on older Macs (PowerPC), for example, but is that a deal killer?
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
Jan 6, 2011
I created a game in Flash and outputted it into an APK file for use in my Android phone. I would like to make a quit function so that it quits the game application when you leave.
Right now, I have to quit using task manager in my mobile. Also how do you enable it to maintain a high score in the game so that next time the user plays the game again, the high score is still there? Right now, the highscore is lost when you quit the game application.
View 1 Replies