Flex :: Adobe Air Browser - Zooms Out Certain Elements
May 16, 2011
Im trying to implement a mini browser in adobe air. The browser should work in the same ways as a mobile phone browser, i.e. fit the width of the website to a certain width(specified within the html component) and leave the height to be scrollable. I have managed to do a mini browser by using the scaleX,scaleY properties of the mx:HTML component however these make the websites look unreadable. I have also tried setting the css3 zoom property, and that works fine, but it only zooms out certain elements, therefore messing up the site layout. My question is: Is there a way to make a mini web browser which shows the full content of the website?
View 1 Replies
Similar Posts:
Sep 3, 2011
to point out some good tutorials on creating applications in flex that are don't have UI's?Actually, it looks like all I really need to know is how to call afunction upon initialization of the flash object. I tried the creationComplete attribute, but it doesn't work in browser.
View 2 Replies
Nov 13, 2010
Using Adobe AIR + related technologies, is it possible to detect the URL of the active tab/window of the active browser?
For instance, if my user is surfing in IE8 on [URL]... can I retrieve that data for use in my Adobe AIR RIA?
View 1 Replies
Jan 3, 2012
I want to add scripting functionality to my Adobe Flex application. I know it's possible to use the Browser control, and add the script packaged as a HTML file to the Browser control, and expose Flex objects. However I'd like to if it is possible to execute JavaScript without using the Browser control.UPDATE: I guess my question hasn't been clear enough. I'll explain what I'm trying to do.I want to make my application customizable using JavaScript ie., add scripting/plugins to my application dynamically.I realize that it's possible to dynamically execute Javascript by inserting the JS code into the HTMLLoader control. I would like to know there is a direct way to execute JavaScript without inserting it into the HTMLLoader control.
View 2 Replies
Jun 18, 2009
difference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes.
I'm programming a music rhythm game in Adobe Flex and would like to bind keyboard keys. This isn't a problem, but I certainly would have a problem, say, setting the default keys to A, S, D, and F and telling the user that this is the case.If you take a look at the documentation for flash.ui.Keyboard, you'll see that there are constants for keyboard keys to key codes. However, these are only available in Adobe AIR and not the browser. This makes sense since not all operating systems and keyboards are alike (or present!), so key codes can vary.
So, how can I assign default keys that have meaning instead of picking key codes and praying?My only sane thought is to store the character codes for the key bindings and then provide an character code to String mapping so I can tell the user what to press. However, my gut tells me that this will break in subtle or not-so-subtle ways. Like CAPSLOCK.
View 2 Replies
Jul 19, 2011
An Adobe FLEX 4 object loads from a webpage and runs in the browser. The connection between browser and server is secured using SSL over HTTP (HTTPS) with a secure certificate from a valid Certificate Authority.
Can FLEX code read the secure certificate information and retrieve information such as to whome the certificate was issued, when it is valid, and for what domain it was issued, etc. ?
View 1 Replies
Mar 3, 2011
I have a Adobe illustrator file which contains all design elements of my projects. I am trying to import that file into flash, i am not able to import properly(design elements are getting disturbed). So i have exported from AI to swf. How can I import this swf (contains all design elements) into my source file (Flash file) .This swf I tried to import into flash but design elements are not coming properly.
View 2 Replies
Jan 7, 2010
I have been given some Adobe Illustrator files for a project I am working on. Not being familiar with AI, I assume you can copy and paste directly from AI into flash? Are there any do's and dont's I should be aware of?
View 1 Replies
Oct 10, 2011
Lets say i have a html file that contain a form:
<form method="post" action="url">
<input type="text" id="fullname" />
<input type="text" id="bodyText" />
<input type="submit">
</form>
we have load this html file using HTMLLoader inside an swf file.
_htmlLoader = new HTMLLoader();
_htmlLoader.paintsDefaultBackground = false;
var req:URLRequest = new URLRequest(urlValue);
_htmlLoader.load(req);
_stage.addChild(_htmlLoader);
After loading this Swf file using Loader inside main application, text boxes are readonly and can't type in it. But we can change focus of them using Mouse.
var loader1:Loader = new Loader();
loader1.load(new URLRequest("path to file.swf"));
// ...
this.addChild(loader1);
// ...
View 1 Replies
Jan 17, 2012
I building a C# application with a WebBrowser control in it and and I am trying to figure out a way to get the flash content within the web page to not display as it is sucking up a ton of my CPU and memory. I've been trying to remove the <object> tag within the page (there's only one) by getting it via browser.Document.GetElementsByTagName("object") and setting its outerHtml to an empty string. It returns one element (confirmed by the Count property) but accessing the first element ([0]) gives an index out of range error. I've tried doing it via a foreach loop but nothing happens at all and there are no errors. If I try to retrieve <div> elements instead of <object> elements, the foreach loop runs. Am I doing something wrong here, is there a bug, or is there a better way to remove the flash content?
[Code]...
EDIT: I just figured out that while the DocumentCompleted event is being called, it is being called before JavaScript injects the flash content onto the page. I've tried a few "sleeping"-like methods but they all stop the web page from processing too. Any way to wait for more time (5 seconds or so) while the webpage continues to render?
View 2 Replies
Jan 16, 2010
I'm attempting to put together a Flash site that fits the entire browser window no matter what the user sizes it to. I have searched here along with Google and can't seem to find a solution to my problem. I found a nice example on how to achieve it however it is missing one key aspect of what I need which has got me wondering whether or not what I'm looking to do is even possible.
My flash site has movie clips that will animate from off the stage on the right and bottom edges. What I want to have happen is in the browser window I want it to look like it comes from off-screen as well. So for example, you have a ball bounce in from off the right side of the screen into the center of the browser and then maybe it bounces down off the screen at the bottom of the browser.
The solution I have found fills the window and doesn't scale which is what I'm looking for, but any items that are off the stage in my Flash file will show in the browser if it is resized big enough. Here's the example I found[url]..
View 1 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Mar 4, 2010
Is there way to get the browser to always load any swf files before everything else on a page (exept the external css and swfobject.js). Using Firebug's Net statistics I can see the swf files generally load last.
We have all our external js files inserted at the bottom of the page to help loading times.
View 1 Replies
Mar 17, 2011
My code allows you to be able to move your character the arrow keys, I put a loop in so that the character will move a lot more smoothly. but with this loop in my character just flys of the stage when i run the application.
[Code]....
View 1 Replies
Sep 4, 2009
I'm trying to make a tween to a picture so that it zooms out and back in to the center and back. There appears an error of placement depending on z coordinate: the picture moves a little bit towards top-left corner of the stage. How can I make it move to the center of the stage?
View 3 Replies
Feb 8, 2011
I have an application that zooms in and out a movieclip using the matrixTransformer. When my code is in the timeline, everything works fine. However if I put the code in a class, it gives me these two errors:[code]So my guess is that the class is not importing matrix class for some reason however i have no idea how to fix it.
View 1 Replies
Feb 25, 2006
I want to do is create a mindmap that zooms in on a branch when you click on it... (using actionscript, not motion tween). At the same time the red square of the overview menu (view example-files below) should also align with that branch... once you click on the overview menu, the whole thing should zoom out to its "up-state"...
View Mind Map "up-state" here.
View Mind Map "zoom-in" here.
View Overview Menu here.
View 2 Replies
Apr 22, 2008
[Code]...
If movie A is loaded and I click button B, I need movie A to do a small animation where it zooms out and once that is done movie B can zoom in.
View 1 Replies
May 11, 2010
Is there any tutorial on starting (not install but application startwake up call with parameters) Adobe AIR app from browser (on button click within flash app using JS function or what ever is needed)? Blog articles or any other materials wanted...
View 3 Replies
May 11, 2010
Is it possible to determine if Adobe AIR app is running from browser?
So I want to check if app is on, how to do such thing?
View 2 Replies
Aug 31, 2011
Is it possible to modify browser proxy settings with flex/actionscript/air?
View 1 Replies
Feb 10, 2012
Is there a way to launch an Adobe Air Application from the browser? I am developing an application that uses webcam, and when the user enter on my site, I need to start this adobe air application installed on the user computer.
View 3 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Jan 12, 2010
I've attached the example files I'm working with. I have a zooming component that zooms in my flash file by loading it with an .xml file, but the buttons don't stay over the buttons once it gets loaded into the component. The buttons move off into space.
View 4 Replies
Nov 5, 2009
Just joined this forum and getting back into flash after a few years away, im currently using AS2 and was wandering if there was a way to create a zooming effect which zooms on the z axis in AS2the zoom starts way off in the distance and then zooms all the way off the screen.
View 3 Replies
Jan 6, 2012
In flash as3 website How to open vcf file in html in browser or pdf in adobe?
I want all visitors to be able to view vcard info. What if visitor does not have software to view vcf file?
View 1 Replies
Nov 11, 2009
We're designing an application and the client has requested that a portion of their app stay in Java Web Start and another portion be in a browser. I'm thinking about AIR as an alternative to the browser because that may give us more features b/c we don't have to stay in the browser security sandbox.How would I go about having an Air app talk to a Java Web Start app? Do they have to talk through a server? I guess potentially you can just create a socket connection between the two.
View 1 Replies
Mar 3, 2009
I'm attempting to make a flash file that zooms into a vector image of a map. For example, having a whole map of the United States then clicking New Jersey and having the stage zoom to fit only New Jersey.
I started to achieve this with tweening (which didn't work, which is why I'm posting my code), but I feel like there has to be a better way. I've been looking at fl.transitions.
[Code].....
View 3 Replies
Nov 14, 2009
I would like to take advantage of Adobe's Runtime Shared Library system for swc's, but I'm not sure how it ACTUALLY works, like the programming behind it. I understand that it allows you to load SWCs at runtime, but how does it do that?
I'm asking because I would like to try to mimic something like the Signed RSL "swz" system Adobe uses to cache the Flex Framework into the Flash Player, so if you ever visit a site that downloads the Flex framework for some flash website, then the next time, and forevermore, you don't have to download it again.
I can't do this because I'm using my own version of the Flex SDK from the Sandbox, and I have like 5 other swc's I'm using (Mate, RestfulX, etc.). I would like to be able to cache these things permanently, and only have them re-download them if they change.
How do I do that, or what should I read, other than the Adobe RSL docs and such? Can I use javascript or ruby to do this?
View 2 Replies
Oct 21, 2011
Is it possible to get read access to favorited sites (that have been set using Android's native browser) from within an AIR-application? I could not find an API for this. Furthermore, I didn't find anything about browsing android's filesystem. It seems something like a favorites folder does not exist.
View 1 Replies