ActionScript 2.0 :: Cannot Use The PopUpManager Class / Component

Mar 12, 2006

I cannot use the PopUpManager class.

[Code]...

View 1 Replies


Similar Posts:


Flex :: Using PopUpManager To Instantiate An Mxml Component?

Oct 22, 2010

Basically I am poping up the following component:

PopUpManager.centerPopUp(PopUpManager.createPopUp(this,RegionExperienceDetailPopUp,false));

I need to call RegionExperienceDetailPopUp.generateData(passIntArray);

What is the syntax to do this?

View 1 Replies

Flex :: Can A Custom Component Call PopUpManager.addPopUp On Itself

Jun 29, 2010

I'm trying to organise my code better and figured it would be good to place the pop-up logic within the component that's being popped-up. However, I can't seem to do this without causing one error or another. I also need to make the pop-up modal.I'm doing something along these lines (psuedo code):

<mx:TitleWindow >
<mx:Label id="messageLabel" />
<mx:Script>
<![CDATA[

[code]....

View 1 Replies

Flex :: Make PopUpManager Correctly Show Custom Component Based On Spark TitleWindow?

Jan 28, 2011

I use this code to create and show a MessageWindow:

var newTitleWindow:MessageWindow = PopUpManager.createPopUp(contextView,MessageWindow, true) as MessageWindow;
newTitleWindow.text = message;
PopUpManager.centerPopUp(newTitleWindow);

[Code]....

There is no nested components displayed when I run my app.

The debugger shows they are created and visible.

To my "amusement" the components are shown when I replace s:TitleWindow with mx:TitleWindow.

I really want to use spark TitleWindow.

View 1 Replies

Actionscript 3 :: Using PopUpManager In A Flex 4.5 Mobile App?

Oct 2, 2011

I'm working on a mobile app using the Flex 4.5 SDK and I'm trying to figure out the best way to handle notification windows. In most cases these windows will be alerting the user to when something goes wrong. Ex: bad login, no data, cannot resolve server.

I'm using a singleton design pattern, I have a Requests class that handles server calls. Most popups will be originating from this class (IOErrorEvents from my loader being used to access the API). Since this class is a singleton and is used from all Views inside the app it is not aware of applications current view. I'm also not sure having this class keep track of the current view and having it push popups on top of it would be best practice.

I'm hoping that I can use PopUpManager to keep track of where to add popups and what popups are currently on the stage. Though all examples I've seen online about this show static Components being used in a views Declarations tag.

View 2 Replies

Actionscript :: Implicit Coercion When Using Popupmanager In Flex?

Mar 11, 2010

I had to reformat my question because I realized I was using incorrect flex method. But still a similar issue occurs:

private function passForm():void {
PopUpManager.addPopUp(passTitleWindow, this, true);
PopUpManager.centerPopUp(passTitleWindow);

[code]....

I click and popup does not display.

View 1 Replies

Flex :: Know When A Dialog Created Through PopUpManager Closes?

May 1, 2010

Is there a easy way to figure out consistently when a Dialog closes that has been created through PopUpManager. I would have suspected some type of message or callback mechanism, but there does not seem to be. In one case I use the WindowTitle component and event that only fires the CLOSE if someone presses the close and give no message when the dialog actually closes.

View 2 Replies

Flex :: Count Number Of Windows Up Through PopUpManager?

Apr 20, 2011

I'm using the PopUpManager to bring a bunch of event windows up.I want to make it so that only one window can be open at a time, but I don't see anywhere in the code that tracks open windows to set up a conditional. I guess it just creates the windows and then sets them free?Thinking about a windowCount variable that increments when I add a window and decrements when I remove one, but since the PopupManager is called in different classes I'd have to start throwing events all over the place. I can do that, but I'm wondering if there's a more straightforward method?

View 2 Replies

Flex :: Alert Gives PopUpManager Error When Used With SWFLoader

Jul 13, 2011

I am using SWFLoader to load a swf file. The code is below:[code]

View 2 Replies

Flex :: Adding A RichTextEditor To PopUpManager Seems To Be Very Slow?

Jul 13, 2011

As the topic states, using a Rich Text Editor with a PopUpManager makes typing slow. If you try it in Firefox/Mac, it is painful. Chrome/Mac is a little slower as well. Are there any known issues with the PopUpManager and performance that can be addressed easily?

View 1 Replies

ActionScript 3.0 :: Totally Erase PopUpManager Data?

Feb 22, 2009

We are using PopUpManager to bring some screens up, and every time I create one, I need the new one to be totally unique from the old one. Right now, every time I create a popup, it has cached the last one in memory somewhere, and the variables are all still set.

View 0 Replies

Flex :: PopupManager: TitleWindow: How To Make The Background Transparent

May 12, 2010

I'm using PopupManager to display (not modal) popups in Flex.How can I make the background of my TitleWindow popup completely transparent?Now it is semi-transparent.. see picture with semi-transparent background (i.e. I just want the label inside visible):

[URL]

Maybe, instead of making it transparent I could try to reduce the padding, in order to make only the children visible ?

View 2 Replies

Actionscript 3 :: Make A DisplayObject Popup Like Flex PopUpManager?

Apr 20, 2011

How can I make a DisplayObject popup like Flex PopUpManager in AS3?

View 1 Replies

Flex :: Dispatch Event To Popupmanager Without Reference To Instance?

Apr 25, 2011

I'm fairly experienced with Flex 4, but I still haven't needed frameworks yet (I like to do everything myself) and don't want to use them either, I know it's advantages and have learned how to use one of them, but still, no.

How can I dispatch an event in the main application and have a component inside a popupmanager to react to that event? All this dispatching the event within the main app and NOT aiming it to the popupmanager or the component instance, I want to be able to fire the event and not care about who gets it or if anyone reacts to it at all so if that is possible then I wouldn't care about keeping track of said popups.

I already dispatch an event from the component and receive it in the main application by bubbling the event and therefore being agnostic of each other, now I want it backwards.

View 3 Replies

Flex :: Get Mouse And Keyboard Events, Masked By PopUpManager

Jul 29, 2011

I am implementing an application timeout feature (flex4). What I am finding is that mouse and keyboard events, which I have listened to with :

FlexGlobals.topLevelApplication.addEventListener(MouseEvent.MOUSE_MOVE, resetLastActivity);
FlexGlobals.topLevelApplication.addEventListener(KeyboardEvent.KEY_DOWN, resetLastActivity);

are being masked by the existence of any popup windows. The code is in a component, in the constructor. The component is added to the main application in the block.

How can I get these system generated events to not get stopped by PopUpManager display objects?

View 1 Replies

Flex :: Determine If A PopUpManager Window Is Open (or When It Has Closed)?

Sep 6, 2011

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?

View 2 Replies

ActionScript 2.0 :: PopupManager - Depth - Script Does Not Create A New Window

Apr 8, 2007

I put the MC that contains the script for creating a window inside of another MC. When I do that, the script does not create a new window. Why? I have the window component in the library of the childMC and the below script is in the childMC. The openBTN creates a window when childMC is not inside parentMC. Is this a "KnownIssue"?

[Code]...

View 1 Replies

ActionScript 2.0 :: Show PopUpManager On Selected Datagrid Column?

May 27, 2010

i have datagrid and i want that when i click on my EmpName column popopmanager must be display and when i click on other columns it shouldnt display.and i want also edit mode in every column when i click opn it.

View 2 Replies

ActionScript 2.0 :: PopUpManager.createPopUp() - Content's Form Subclass Isn't Created?

Oct 19, 2005

I'm working on a Flash application that uses the PopUpManager to create a pop-up window. Example of the create code follows:

details_window = mx.managers.PopUpManager.createPopUp(_level0, mx.containers.Window, false, null, true);
details_window.closeButton = true;
details_window.title = "The Popup Window Title";[code].....

Here's where the problems appear: The pop-up's content, "details.swf", is itself a Flash Form Application. The main screen of this Form application has a custom AS2.0 class assigned to it called DetailsScreen. The stripped down (for example purposes) class is below:
import mx.controls.*;

class DetailsScreen extends mx.screens.Form
{
var details: DataGrid; // the extra space between the ':' and 'DataGrid' is to prevent a smiley () on the forum
var details_title:TextField;
var record_display_summary:TextField;[code].....

The problem is the trace output in the DetailsScreen.onLoad() method is never printed. The pop-up window appears, and the graphical content of the details.swf is presented. I've recursively traced into details_window.content to see if DetailsScreen.local_test_variable is present, but it's not. The only variables present are those that represent the graphical items on the stage.It's as though the custom Form class DetailsScreen is never being instantiated.

View 4 Replies

Flash :: Flex PopUpManager: Detect The Existence Of A Modal Popup?

Sep 17, 2009

My Flex 3 application has some modal dialogs displayed via the PopUpManager, but there are times when I'd like other view components to know there is popup displayed. The PopUpManager doesn't have any method for actually checking the existence of popups. Is there any other way to detect this in flash/flex without writing my own global manager?

(also systemManager.popUpChildren.numChildren == 0 even when there's a modal popup)

View 2 Replies

Flex :: Events Generated When You Open A TitleWindow Using PopUpManager.addPopUp?

Feb 24, 2010

I'm trying to open/close a TitleWindow using PopUpManager.addPopUp() and PopUpManager.removePopUp() while reusing the same TitleWindow instance. I noticed that the creationComplete() is only called once for TitleWindow even if I open it several times and was wondering what events I should listen to for the succeeding popup loads.

View 1 Replies

Flex :: Popup - Modal Transparency Blur Only On Certain Components When Using PopUpManager?

Aug 2, 2011

When using the PopUpManager in Flex with modal = true, the background application is blurred. Is it possible to keep this blur for most of the background application but set certain components to not be blurred?

View 1 Replies

Flex :: Change Background Bluriness When Calling Alert Or PopupManager?

Aug 22, 2011

In Flex 4.5 is there please a way to control how blurred is background when displaying an Alert or PopupManager.addPopUp()?I have playing cards displayed on the background of my game, when displaying a modal popup window with possible bids to the user and can't blur the cards too much (because the player should see them before deciding what to bid).

View 1 Replies

Actionscript 3 :: Flex 3 PopUpManager Does Not Correctly Enable Accessibility Features

Jan 3, 2012

I have an application written with Flex 3.6 and when I create a modal popup dialog, the buttons and text on that popup do not work correctly with the Accessibility properties that I have defined. The app is compiled with the accessibility flag. I build a simple app to test demonstrate the problem.

[Code]...

View 1 Replies

Flash :: Flex PopupManager Share And Center Popups For A Whole HTML Page?

Feb 28, 2011

I have to put multiple Flash movies on a page and I'd like them to share modal popups, so that access to the entire page is denied while a popup is active. I can do this via Javascript and create HTML popups via the ExternalInterface class, but I would love to be able to do this entirely in Flex using the PopupManager class.

Note: This is not for any evil purpose. I just need to make sure none of the other movies' buttons are clicked before the user responds to the first thing they clicked. Also, some of the movies are quite small and can't contain some of the popups they require.

View 1 Replies

Actionscript 3 :: Flex 4: Window System Development - Can't Use The PopUpManager To Handle Custom Components

Aug 24, 2010

My application will need some windows but I can't use the popUpManager to handle custom components so I'm thinking to implement a new window system. But I still don't know how to merge it with my custom components.

[Code]....

View 1 Replies

ActionScript 3.0 :: Static Class To Component?

Aug 26, 2010

i created One Static Class. This class used to Trim, TrimFront, TrimBack, Replace in string.How can i convert this class to component?

View 2 Replies

Java :: How To Call ID Of Component In AS Class

Jul 27, 2009

I have a class with a method name, and now I have a Flex MXML... how would I call the id of the component in my ActionScript class...

View 1 Replies

ActionScript 3.0 :: Targeting A Component In A Class?

Sep 1, 2011

I want to load a swf into a byte array before loading it into an swf loader. I'm wondering how I would target a specific swf loader to do this to since I have 3 different ones.

View 1 Replies

ActionScript 2.0 :: Attach Component Within A Class?

Jan 11, 2006

i'm looking for a way to add an instance to a component from a class...Something like

Code:
class myClass extends MovieClip{
function myClass(){
}

[code]....

but i dont know about the "thecomponent" part.. i tried "textInput" but it doesn't work..

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved