Flex :: Open Window On Right Bottom Corner?
Mar 1, 2011I am developing a flex air application and i want to it open in right bottom corner as notification..How do i do this.
View 1 RepliesI am developing a flex air application and i want to it open in right bottom corner as notification..How do i do this.
View 1 Replieshow this can be achieved? It needs to work on all resolutions .. is there any parent/stage object available to find out the resolution of the system?
View 3 RepliesI need to round at only the top or bottom of a border container not all four corners, is their some CSS that I can use or do I have to create two new skins. I was reading their used to be a property for this for HBox back in the old days, is their not a property for BorderContainer now?
View 1 RepliesI want to create a notification icon like the the red one in the bottom right-hand corner of Facebook. I tried using a ToolTipManager to create a tooltip but since Tooltips appear in their own layer in Flex and, as far as I am able to figure, cannot be anchored to any part of the page. When the user uses the browser's scrollbar, they move.
View 1 RepliesI am making something flash flip like: [URL] but i want to do it in my banner 1000 width and 299 height problem is that i have few banner images i think 5 to 8 and i want to start my flip from "bottom-left" corner till "top-right"
View 1 RepliesI need to be able to detect when the user has filled up an input textbox. Normally, if the user keeps typing the textbox will just scroll down a line and the user can keep typing.I need the user input to stop and perform some other functions once the user has reached the original hieght of the textbox.Setting a character limit is not an option as the font sizes will be changing.Here's a little screen grab of what I'm talking about
View 14 Replieshow can i draw a shape, that is only rounded at it's bottom ?
var _myShape:Shape = new Shape();
_myShape.graphics.lineStyle(4,0x000000,1,true,....);
_myShape.graphics.drawRoundRect(0,0,50,50,10);
I'm creating a simple AIR app with resize-functionality. Of course i need to position a resize-arrow to the bottom-right corner. Here's my code:
stage.addEventListener(Event.RESIZE, handleResize);
function handleResize(e:Event):void{
resize_btn.y = stage.stageHeight-resize_btn.height;
}
This doesn't work, my button gets out of the window very quickly. How could I make this work?
I'm making a flex 3.5a/air2 application and I've made a popup window but I can't seem to get its bottom corners rounded. Setting cornerRadius seems to only affect the top corners. There doesn't seem to be a roundedBottomCorners property like there is for panels, and adding a controlbar with a cornerRadius also has no effect.
View 2 RepliesI am new to working with papervision and just want to add a simple spinning sphere inside a movieclip and have it positioned on the stage where I want it. For some reason when it creates the sphere, it doesn't place it on the registration points, but puts it in the bottom right corner of the stage and is cut off.
Here is ActionScript Code:
var viewport:Viewport3D=new Viewport3D(0,0,true,true);
addChild(viewport);
var renderer:BasicRenderEngine = new BasicRenderEngine();
var scene:Scene3D = new Scene3D();
var camera:Camera3D = new Camera3D();
[Code] .....
1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
Got a dynamic textbox that I want to be fixed in width and increases in size upwards (i.e its anchored from its base) upon retrieving larger text. Here's the code.
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myShowXML = new XML();
[Code]....
sometimes when I draw boxes in flash the bottom right hand corner pixel is missing.
View 3 RepliesIn Flex Air app, how do you open a window behind an active one?
I tried following and i can't seem to get it to work
[Code]...
With this code, I would expect window1 to open behind the main app window and, in 3 seconds, window2 would open behind window1. But if you execute this, window1 will open on top of the main window and window2 will open on top of window1 and the main app will retain focus. This seems like a bug in the Flex. If so is there any workaround for this problem?
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
I am developing flex air application.I have to implement hot-key functionality in air application.
For example whenever user press any two keys like ctr and S keys the open flex air application.and whenever user press any two keys like ctr and q keys then close flex air application.
I want to put a movieclip with tools at the bottom of the window in the center with tools icons, it should have fixed posiiton so that user can scroll the main window having it always on prompt. I think I need the browser window size properties to do somenthing as this. Is there a way to get them?
View 0 RepliesI've been searching around web and so far found many tutorials/docs on how to install or open air application from a web page. This just opens a new AIR-browser window and that's not what I'm looking for. I'd like it be opened inside a browser frame (even if downloaded first) much like a plain swf file.
I know air file is more or less plain zip, so maybe I could unpack it? What AIR features shouldn't I use for this to work?
In Flex (Flash Builder 4) I am opening a new window via PopUpManager.addPopUp. I have timer code that runs in my component and I need to stop my timer when that window opens and start the timer again when the window closes.
I figure it's easy enough to stop the timer in the function that opens the window, but how can I start the timer again when the window closes?
Is there a way to tell if there is a pop-up window in front of my component, or if a specific pop-up window is still open via PopUpManager?
I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?
View 2 RepliesI have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image
var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas);
var imageByteArray:ByteArray=imageSnap.data as ByteArray;
I want the user to be able to print or save the image. I can use the following code to print the image but flex does not provide good control over printing across multiple pages
var printJob:FlexPrintJob=new FlexPrintJob();
printJob.start();
printJob.addObject(myCanvas, FlexPrintJobScaleType.SHOW_ALL);
I would like to display the image in a browser window so that the user could print it using the built in browser functionality or right click on the image and save it. Can this be done without requesting server side code to do it?
I am trying to figure out how to open a pop up window in my Air application, in a secondary Window, instead of the main application window.I am using the ReusableFX components, which include a custom DataGrid with filtering and other capabilities. The filtering feature displays a pop up window via PopUpManager when you click on the top of a column in the grid.
PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);
The problem is that the pop up window opens in the main application - I am assuming because of the 'topLevelApplication' reference.So, I need a way to open this window in the current Air "s:Window". I am assuming I need a way to walk up : this.parent.parent or this.owner.owner - though I have tried that and it did not seem to work (it said null reference).OR, is there a way to get the current top most window / component (NOT the main application / window)?
Update:I decided to create a new project for the component, and add in the Air libraries. Now I am able to access the "NativeApplication.nativeApplication.activeWindow" call. That gives me the correct Air window. However, it does not seem to be working:
PopUpManager.addPopUp(this, NativeApplication.nativeApplication.activeWindow as DisplayObject);
My popup does not appear. I am assuming because "activeWindow" is not actually a DisplayObject?(so how do I get the DisplayObject if that's the case?)
When I open the Actions window, the bottom is off screen so I can't re-size it. how to get the whole window on the screen?
View 2 Repliesi have a flash site that links to PDF's with the navigateToURL function which works etc But now i would like Link to rather open up a download window instead of just a new browser window?
View 3 RepliesI'm trying to get the link to open in the same window instead of a new window, it's currently set to _blank. I tried _top, _self, _parent. When it's set to anything other than _blank the link doesn't work.
[Code]....
I have a web page with 2 sets of frames.one is called top(top.html) the other one bottom(bottom.html).on the top frame i have an SWF movie which includes a button/link that when clicked goes to a page1.html.how do i make that link open in the bottom frame so that i have top.html on top and page1.html in the bottom
View 1 RepliesI am working on a FLASH website that loads 3 flash movies (header, content and menu). The menu movie is displayed at the bottom. I am looking for a way to display the menu always at the bottom of the browser window (the visible bottom). This way, if the screen resolution of the user is too small, the user won't have to scroll to see the menu. I know it can be done. On this page, you can see that the copyright character is always displayed the bottom right of the browser window.[URL]
View 1 RepliesIve got my flash movie set to 100% width & height, while the stage is set to no scale. Is it possible for me to align an mc to the bottom regardless their window size? Just to clarify if firefox is larger than the stage, can i align this mc ( like a footer ) to the bottom of the ussers screen.
View 3 Replies- When you click on a link in the bottom menu bar of my site, the new page opens at the bottom of that page (instead of the top).
As you can see (from the action script at the bottom of this post ), it's basically just turning on and off the visibility of the pages. So when you click on the Ethnography button, it makes that page visible and the page that you were on, not visible.
So when the button being clicked (the Ethnography button) makes the Ethnography page visible, the page location stays in the same place (aka - the bottom of the page). Is there a quick action script statement that I can add to the EventListener for the button that will tell it to open the new page at the top of the page?
Something like: window.scrollTo(0,0) ?
[Code]....
how could I make a bar top or bottom which doesn't move when window resizes like that [url]
View 3 Replies