Html :: Flex - Zooming In/out Browser
Feb 21, 2012
I'm developing a new Flex app that's in the middle of an html page.
I want to be able to achieve what this website achieves [URL] when zooming in and out in the browser. It makes the container smaller but does not rescale the swf file.
Presently my app, scales and it looks ugly. I want it to basically not scale and just make everything smaller.
View 1 Replies
Similar Posts:
Jan 12, 2011
I developed a flash application. in which I load pictures with XML, on these pictures I apply a mask via a method ( because the mask has to be different for certain cases) Flash doesn't show any errors. Everything looks normal when the browser is on 100%, but when I zoom in with the browser. The position gets screwed. The images loaded via the Loader Class all scale like they are supposed to, but the mask stays the same size and it's position get's screwed
View 0 Replies
Feb 22, 2011
I would like to do the following trick in a browser:
Create three image files of different size (small, medium, large) from one picture.
First, display the small image in a browser. When a user zooms in the small image replace it with the medium one. Now the user can scroll it within the window up and down, left and right. When a user zooms out the small image replace it with the small one, etc.
I would prefer JavaScript (Flash is the second option). What tool would you recommend ?
View 2 Replies
Oct 28, 2011
I habitually create my websites with a stage size of 950 x 580. They tend to appear slightly small in any browser which is ok because they can all normally be "zoomed-in" on using the browser zoom functions.
I have just created a site which loads several external .swf's into a main movie clip and the browser zoom works fine UNTIL I incorporate a further .swf which was created from a PDF file (using swfTools - pdf2swf).
This seems to disable the normal browser zoom with the effect that everything is just moved up and left a little rather than remaining centred and enlarging.
View 2 Replies
Apr 20, 2010
I'm loading a webpage inside a HTML component in AIR. By default, when something is clicked the next page is loaded inside the HTML component itself. I want the links from that page to open in an external web browser.
View 1 Replies
Jun 8, 2011
I have a web app built in Flash Builder 4.5. Its dimensions are 1150 x 900. When I try to view it on a smaller monitor or lower resolution, I can only scroll horizontally. I need it to scroll vertically. Is there a setting I am missing or could it be something else. I am not going to post any code at this time because I do not believe it is a syntax issue. If anyone feels I may be wrong, I will post the code needed. [URL]..
View 2 Replies
Feb 27, 2012
Basically I want to know if there is a way to go from a zoomed in version of something, and then seeing the whole image in another frame. (By pressing a button)
Let's say there's a tree, I would bascially like (upon pressing a button which I can do) to zoom out and see the whole scenery. Is there a way I can do this without actually changing the size of the image?
View 2 Replies
May 22, 2010
I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.
[Code]...
View 1 Replies
May 25, 2011
I look at professional animations and notice the camera-like effects they manage to put into these animations. I'm wondering how I can do the same without having to just enlarge or reduce a movieclip across the stage. Is there any way to add a camera view on your animations or do you just have to bear with Flash's basic necessities?
View 1 Replies
Jul 26, 2011
I have a photo gallery. All the photos are displayed as thumbnails. When a user clicks on a thumbnail, the preview will be displayed in a canvas with full size. Now, I want to zoom the displayed image as much as possible.
View 1 Replies
Jan 24, 2012
It's going to be used to view complicated scenes in 3D, but to make it work on laptops it's instead showing pre-rendered 360 degree renders of the objects.When you load an object, it first buffers 360 frames into memory, so that you can rotate around this object smoothly. When you release the mouse button, it loads in the high-res image of that frame.
Then, you should be able to zoom in and move around to inspect the model closer.Problem here is when I have the scrollbars enabled it wont work properly.Firstly, I had a problem where the vertical scrollbar moved out of the picture when I was scrolling the horizontal scrollbar.
Then after some more testing, they now stay where they should, but when I zoom in (will post code below) the horizontal scrollbar is not able to go far enough to the left to show the whole image.What happens is, when I zoom in, the scrollbar remains at it's left position, but I zoom in on the center of the image (zooming, by scaling the container. The image fill the container).
My problem is probably just a result of me overlooking some basic understanding. And sorry if the code is a bit messy, I've only done a little bit of clean up. The code I post below is without any scrollbars visible.
You can see that I've tried using scrollbar components too, and it works somehow. But I'm not able to scale the scrollbar depending on the content, so if I zoom in or out, the handle you drag on the scrollbar will be the same...
Image of app running if needed:
Code:
<mx:Panel x="0" y="0" width="100%" height="100%" titleIcon="@Embed('assets/img/cog_01.png')" title="vCog Subsea - Draugen Project">
[code].....
View 1 Replies
Mar 30, 2011
I found this simple example online for how to add an HTML "browser" area in an Air application:
protected function init():void
{
var browser:HTML = new HTML();
[Code]....
Only when I run the application, I don't see a browser, but just a blank white area.
The only other thing that is in Main.mxlm is the wrapper mx:WindowedApplication, which has [URL]
View 4 Replies
Aug 2, 2010
I have container movieclip and one mask layer with the height and width of the current screen. The continer is always bigger than the mask clip. so i need to zoom the container at the center of the mask clip. something link in MicroSoft XL zoom controller at the bottom right.
EDIT 1
private function slider (event:Event) {
//event.target.value = 0 to 1
// possible values are 0, 0.1, 0.2, 0.3, ... 0.9, 1
[Code]....
View 2 Replies
Oct 13, 2010
I'm working on a newspaper reading application using Flex, which displays scanned newspaper pages. I need to make a image zooming function, so the user can zoom in and out, as the minimum of 25% and the maximum of 400% in the size.This is what I have so far:In the mxml:
Code:
<mx:Image id="imgContent"/>
<s:HSlider id="hsZoom" minimum="25" maximum="400" value="100" stepSize="25"
[code].....
View 1 Replies
Oct 2, 2009
how to zoom the image displayed with the help of an item renderer.If i apply the Zoom effect on rollover ,the particular cell zooms the image with the scroll bars. Is their any other way of doing this without showing the scrollbars.
View 1 Replies
Jul 11, 2011
i have a mobile application that i am creating in Adobe Flex (Flash Builder 4), and i am trying to create a zoom function. The one i have works, but the point is to be able to more easily read words that are in the image (the images are .jpg files). The images are 2550x3300 originally, but as soon as you zoom, the image quality reduces drastically, and nothing is readable.
[Code]...
View 2 Replies
Jun 28, 2010
I have a problem zooming in on a line chart with a dateTimeAxis as horizontal axis. I want to zoom in and out, by setting the minimum and the maximum attribute of the dateTimeAxis with a slider. The date labels change as should, but the lines disappear as I set the minimum or the maximum. Here's a part of the code I have:
[Code]...
View 2 Replies
Dec 5, 2010
i have written an air app which is fixed in dimensions: 1000 w X 800 h i have set the resizable and maximizable tags of the app-xml to false, to prevent the user from changing it's size. this app looks and interacts perfectly at these dimensions but not at other: it has "bad" coding techniques in it like hard-coded display sizes and such, rtl and ltr combined layoutdirections and so forth...
when the applicationComplete event dispatches, i check Capabilities.screenResolutionY and if it is less then 800 i want to resize the app programatically (preserving the width/height ratio). i have tried all the StageScaleModes and tried changing the dimensions of the stage, the nativeWindow, the app itself("this") and so on in every combination.
i am looking for a way to resize the entire app as is, meaning i dont want to use display logic of the components and such, just to "shrink" or "expend" the whole app as is, with hard-coded pixel amounts to change within the logic of the app accordingly (change all sizes, locations, fonts etc.. in sync) the app should look and work exactly as it did in it's 1000x800 default size, only smaller or bigger
View 2 Replies
Aug 4, 2011
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
[Code]....
View 3 Replies
Dec 18, 2009
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 Replies
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
Mar 30, 2011
I have collection of images getting from xml. That images placed in tilelist, i need zooming while mouseover which one image.
View 2 Replies
Feb 26, 2011
I have got a page which lets me control some devices in a local network. However, some of the advanced settings can be set only using an .exe file which is located on the computer where I run the configuration page. I would like to have all the configurational tools "in one place" so it would be nice to have a kind of link/block/button/flash animation/whatever which - after being clicked by the user - would run a specified .exe file. I think that it is possible somehow, because I've seen MMO games which are launched using a webpage. I also suspect that html/javascript will not let me to do something like that, so maybe the answer is Flash?
View 6 Replies
Jun 7, 2011
If one wants to record sound from the microphone input in the browser one can do so today through Flash. (Afaik there is currently no other good option which works across browsers.Is there a simple swf-plugin which allows one to do so? That is,with the options "Start recording", "Stop recording", "Get wave of recorded sound (or similar)".
View 2 Replies
Aug 17, 2011
How does the browser load flash files? Do they load progressively, or does the browser wait until the entire flash file is loaded before displaying it?The reason is I have a tiny clip that is extremely high in quality, only a few seconds long, but it's over 4 mb.Will the user have to wait until all 4 mb is loaded before viewing? Or does it load as the user watches it? I just imported a .flv into Flash, and exported as a .swf.
View 3 Replies
Mar 9, 2012
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='165' height='37' id='niftyPlayer1' name='niftyPlayer1'>
<param name='movie' value='audio/niftyplayer.swf?file=/audio/tarantella.mp3&as=0'>
[code].....
View 1 Replies
Jan 13, 2010
I have a website.. and the website's background is a flash video that takes up the full browser window..now i want to put html on top of it.so essentially i have a dope full browser flash video as the background (or 1st layer) -- but then all my content / anything else is on top (2nd layer).
View 1 Replies
Apr 14, 2009
how can I make it so that my flash html page centers with the browser, when you expand the browser.. I have no problem with the index page, but its when going to my flash html page that I get this uneven amount of white space on the right side. For example, my index page.. when you resize the browser the page also centers itself when you expand.. but when on the flash html page you see the off-centered amount of space.
View 8 Replies
Jan 3, 2010
I'm recording a mono audio stream using a PIC at 8-bit 8Khz and streaming it raw to another microprocessor that houses a web server.I'm currently buffering the data and turning it into a wav file that gets played in the browser.What I'd like to be able to do is continuously stream the audio as it's being recorded without putting a lot of encoding overhead on the second processor.I've been searching but most searches turn up just streaming from a stored file, but since the file size isn't known ahead of time I'm not sure how to do this without the overhead of mp3 encoding.
View 1 Replies
Jul 11, 2009
Whenever I publish a Flash project, when I open the html file that is generated along with the swf, I am never able to see the swf embedded in the html file (when I open it in Dreamweaver, for example.) This is frustrating as far as manipulating the html file is concerned. All I see is some text about "Place alternate content here for those w/o Flash Player installed, etc." Why can't I see the swf file? It is there as expected when I upload all the proper files and/or view them in a browser locally. Alternatively, what I am having to do in order to design the html file properly is open a new file and embed the swf manually. But this approach is not good as I am missing out on all the other browser detection features that the html file that is published by Flash includes naturally. How can I preserve this benefit and still get into the details of designing the html file?
View 2 Replies