ActionScript 2.0 :: PopUpManager Modality - "modal Background Rectangle" Is 50 Pixels Too Small!?

Dec 15, 2007

I'm trying to get a modal window working, but for some reason, no matter what I do, the only part of the movie that's modalized is everything but the bottom 50 pixels; apparently the background transparent rectangle thing isn't being made high enough for whatever reason. Does anyone have any ideas of what's going on? A demo .fla of the apparent bug is attached.

View 1 Replies


Similar Posts:


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 :: 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

ActionScript 3.0 :: Copy Pixels In A Shape Other Than A Rectangle?

Jan 15, 2010

I have drawn something onto a bitmap. But I now want to copy pixels in a shape other than a rectangle (as specified by copyPixels documentation) how would i do it? pull pixels line by line or something?
 
works:      bitmapDatatemp.copyPixels(bitmapData, rectangle, new Point(0,0)); 
need:      bitmapDatatemp.copyPixels(bitmapData, triangleetc, new Point(0,0)); 

View 2 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

Flex :: Modal Spark TextArea - Making Background To Appear?

Feb 21, 2011

I want to make the background appear as if a modal window was opened but, instead of a window, I want to use Spark TextArea.. Is this possible?

View 1 Replies

Flash :: Narrow A Rectangle Within A Sprite To Exclude Transparent Pixels?

Oct 2, 2011

I have a Sprite that contains opaque objects surrounded by transparent pixels. I also have a Rectangle that represents a part of the Sprite that I want to render using BitmapData.draw(). The problem is that the Rectangle that I obtained also contains transparent parts. How can I narrow the Rectangle to only include the opaque parts and ignore the transparent surroundings?

kapep's answer is just what I want to do, but the problem is that the source is a Sprite, not a BitmapData object, and I don't have getColorBoundsRect() on a Sprite.

View 2 Replies

Actionscript 3 :: Sprite Scale - Rectangle Is Clearly Larger Than 100x100 Pixels?

Nov 4, 2011

Here's a very simple AS3 project consisting of one class which draws a rectangle. When I run it, the rectangle is clearly larger than 100x100 pixels.

Edit: I know that it isn't correct because, though I have my screen resolution set to 1280x800, if I set the width to 500 it takes up almost all of my screen.

package
{
import flash.display.Sprite;
import flash.events.Event;[code]....

View 1 Replies

Flex :: Make The Modal Transparency Background Absolutely Transparent.?

Aug 22, 2011

I am using the below given code to try to make the transparency 0, but I still am unable to make the background become absolutely transparent.

<mx:Style>
global {
modalTransparencyBlur: 0;

[code].....

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.0 :: Changing The Background Pixels?

Dec 28, 2010

Coming from java I could manipulate the background pixel by pixel as well as read color values of a certain pixel at coordinates (x,y).Now in flash I seem to be able to load a bitmap image. But I need to change the background color and also be able to read the color value of pixels.

My flash movie size is 800x600, sometimes bigger.I am trying to do simulations (biology) of a moving object leaving a trail (changed background color?) Then other moving objects can detect that trail (read background color) and increase or decrease the color value.

View 2 Replies

Flash CS4 :: Made A Small Rectangle In The Flash With The Tweening Effect And Export In To The FLEX?

May 21, 2009

I have made a small rectangle in the flash with the tweening effect and export in to the FLEX. When i publish in the FLEX i could see the rectangle with out tweening effects.How can i see the tweening effects.

View 1 Replies

Professional :: Get Small Rectangle To Appear (with Text) & Move With The Mouse When The Mouse Is Over Image?

Dec 27, 2011

when the mouse rolls over an image, text appears (in a small rectangle) and it moves with the mouse, only while it is still over the image.
 
Or at least, does anyone know what this is called or how to do it?

View 3 Replies

ActionScript 3.0 :: Delete Pixels To Reveal Background / Transparency?

Jan 6, 2011

This has been bugging me for a little, and some of the examples I have tried to find throw me in loops and they have been wrong. [url]...

Or if you have ever played "Scorched Earth" you will see that when some part of the terrain is destroyed, it punches out the pixels perfectly when a shot is fired into the ground, to reveal the picture behind the main picture with the terrain.

View 9 Replies

ActionScript 3.0 :: Draw Opaque Pixels On A Transparent Bitmapdata Background?

Oct 28, 2010

im trying to draw opaque pixels on a transparent bitmapdata background

heres the ex:

ActionScript Code:
//TRANSPARENT BACKGROUND
var _pixelColor:uint = 0x9998002E;
var _bmpd:BitmapData = new BitmapData(4, 7, true, 0x00333333);

[Code].....

This example paints 2 arrows, the first is using the transparent background, and the second is using an opaque background on the BitmapData.

What I'm trying to achieve is to paint the pixels of the arrow completely opaque on the transparent background. But as you can see, the pixel is at 99% of its opacity (var _pixelColor:uint = 0x9998002E) How can I paint 100% opaque pixels on a transparent BitmapData "canvas"?

View 1 Replies

Flash :: Professional - Signature - Add A Small Background Video Into It

Aug 24, 2011

I've recently began learning flash after extensive training with photoshop. Anyway, I have created a forum signature, in photoshop. I want to add a small background video into it using flash. I was wondering how I can insert a video into an image in flash. If this is even possible.

View 3 Replies

ActionScript 2.0 :: Tile The Background Of A MovieClip With A Set Of Small Squares Called Grid

May 9, 2007

I'm trying to tile the background of a movieClip with a set of small squares, called grid. However, the script only attaches on instance of grid. I don't understand why this is. Below is my code exert:

[Code]...

View 1 Replies

ActionScript 3.0 :: Transition Manager PixelDissolve - Instead Of The Pixels Being Dissolved The Pixels Being Added?

Mar 24, 2012

so instead of the pixels being dissolved, the pixels being added? :

ActionScript Code:
var Anim:TransitionManager = new TransitionManager(blackbox);
Anim.startTransition({type:PixelDissolve, direction:Transition.OUT, duration:1, easing:None.easeOut, xSections:35, ySections:35});

basically what i would like is the end point to be the start point and the start point the end point.

View 2 Replies

ActionScript 2.0 :: Slider Bars And Scaling - Code Keeps Shrinking Initial Object Down To 10 Pixels By 10 Pixels?

Jun 17, 2009

I have a swf file that loads into my main movie, and within that swf there is a masked image that i would like to scale using zoom in and out buttons and also by using a slider bar.However i cant find any tutorials that will allow me to combine the two.I have used the following code for the buttons. Which seems to work ok but i would like it to be a little smoother. (using speed or some sort of easing??)

ActionScript Code:
zoomPlus.onRelease = function(zoomIn) {
if (test_shirt.shirt._xscale == 400 && test_shirt.shirt._yscale == 400) {[code]....

but for this code it keeps shrinking my initial object down to 10 pixels by 10 pixels..

View 0 Replies

Actionscript 2.0 :: _y Movement By Pixels - Move The Movie Clip In Incremental Moves Consisting Of 30 Pixels?

Nov 18, 2009

I have a movie clip called column1_mc. when I click a button I need to move the movie clip in incremental moves consisting of 30 pixels.

column1_mc._y = 30;

Does not work because that is giving a _y coordinate.For example.I need to make the movie clip jump to _y 300 but make 10x30 pixel incremental jumps. Moving 10 times 30 pixel jumps.

View 1 Replies

Actionscript 3 :: Scrollbar With Sprite And Rectangle Won't Move Text, Just The Rectangle It's Painted On?

Mar 8, 2010

For those of you still with me, I am tasked with making some scrollable content in Flash. Load in a TextFile using LoadURL(), then display it. To get the text, we've written our own class TextFieldExtended, which is basically just there to give the textfile location to the constructor and then have the class do the various steps of getting it and loading it for you.So I needed to get a Scrollbar, which I got hereThe thing is, it works with Sprites.After trying to get it to accept TextFieldExtended, I bumped into a block, since the scrollbar relied heavily on a Sprite property that TextFieldExtended didn't have or could have.

So I tried adding the TextFieldExtended instance to a Sprite instance using addchild.A problem occurs here that I do not know how to handle. It seems that a Rectangle is drawn and the Text is drawn on that. I say this because the scrollbar moves the Rectangle up and down a bit, but the text doesn't scroll, just the Rectangle it is positioned in and the text then moves along with it.My question: can this be fixed, or is does this implementation of scrollbars need a lot of adaptations before this is possible?

View 1 Replies

Draw Rectangle Should See Little Bold Circle To Indicate A Perfect Rectangle

May 20, 2009

I draw a rectangle i should see a little bold circle to indicate a perfect rectangle, I seemed to lost mine, can somebody please tell me how to get it back!

View 2 Replies

ActionScript 3.0 :: Convert Rectangle To Curved Rectangle?

Aug 2, 2011

I am trying to convert a rectangle(actually multiple rectangles) to a curved rectangle. I think it should be pretty easy but I guess i am stupid. Basically I would have a start position and stop position (many of these), and they would be converted to curved rectangles and follow in a cicrle around.

View 0 Replies

ActionScript 3.0 :: Creating A Rectangle Inside Of A Rectangle?

Jun 26, 2010

I would like to create a rectangle inside of a rectangle, starting approximately 15% inward from the right side of the other rectangle.

I know how to create rectangles with:

Code:
var newHotRect:MovieClip = new MovieClip();
newHotRect.graphics.beginFill(0x00FF00);
newHotRect.graphics.drawRect(0, 0, 100, 100);
addChild(newHotRect);

But how would I make another rectangle on top of that (the black one pictured) that is approximately 15% from the right?

I toyed around with .right, and .bottomright with no success. Can anyone lead me in the right direction? or even finding the x and y of the upper right or bottom right side of a rectangle?

View 10 Replies

ActionScript 3.0 :: Rectangle To Rectangle Collision Response?

May 20, 2011

how to respond when a rectangle hits another rectangle? I already know how to detect the collision, I just don't know how to respond to it. I'm just trying making a simple side-scrolling platform game where I have platforms I can walk on and bump against on all sides. I have searched everywhere and just can't find the tutorials I'm looking for.

View 6 Replies

Flex :: Cannot Tab Between Controls On A Modal Popup?

Sep 25, 2009

Create a modal popup to popup with popupmanager (mine is a group with a skinnable container inside of it)Put field components (textinputs) on the modal popup Attempt to tab between controlsTab switches to controls behind the modal-popup and ignores the fact that the modal is there. The tab loop only contains controls behind the modal. I've tried everything from setting tabChildren, to hasFocusableChildren. I can't implement IFocusManager as it's Halo and my modal is a Spark group, but would that work in some capacity? It really seems like Flex just ignores the modal in its focusmanager.

View 3 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

Jquery :: Bootstrap-modal Pop Up On Top To Flash?

Feb 24, 2012

I am using the Twitter's Bootstrap plugin bootstrap-modal. It works well except for when there is a flash element behind it. When the bootstrap-modal dialogue box up, and there is a flash element behind it, the flash element is on top of everything else.

View 1 Replies

ActionScript 2.0 :: Cannot Use The PopUpManager Class / Component

Mar 12, 2006

I cannot use the PopUpManager class.

[Code]...

View 1 Replies

ActionScript 3.0 :: Call A.swf From B.swf Where A.swf Should Act As A Modal Popup Window Over B.swf

Mar 16, 2009

I want to call a.swf from b.swf where a.swf should act as a modal popup window over b.swf. I am working in as3 cs4. how can i achieve this?

View 3 Replies







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