Flex :: Interact With Content Behind Transparent App?

Feb 23, 2010

I have a Flex application with wmode=transparent and a transparent section that allows whatever is underneath it on the HTML page to show through. In this case, what's showing through is another Flash application. This works fine, but I can't interact with the Flash application showing through.

I tried setting the z-index of the Flash app to something greater than my Flex app, and that worked, but unfortunately that solution doesn't work for my case because the Flex application has components that occasionally overlay in that area, and setting the z-index of the Flash app to be higher means those components are always stuck behind it.

View 1 Replies


Similar Posts:


Html :: Css - Enable Content On Top Of Flash Content Without Using The "transparent"

Jan 24, 2010

I'm developing a Flash application which is communicating with Javascript to allow more features such as custom html input etc., by placing an absolute positioned div on top of the flash application and controlling it's position etc. with Flash & Javascript.

Because these html elements have to appear above the flash content, I figured the following basic css would be enough to do the trick:

#flashContent {
position: absolute;
left: 0px;

[Code].....

So, the htmlContent has a higher z-index than the flash content and thus it should be shown above it. Unfortunately, this only seems to work when you set the Flash object's "wmode" parameter to "transparent".

The problem with this setting is that it's seriousely decreasing the application's framerate to an unacceptable amount.

For static content this does not seem to be a problem, however for my application there's all kinds of elements that you can drag around which have to be moved real-time (while moving the mouse).

So, how do I enable html content on top of flash content without using the "transparent" wmode parameter or how do I optimize framerate when using the "transparent" wmode parameter?

View 3 Replies

ActionScript 2.0 :: Black Content In Picture Is Transparent?

Mar 22, 2011

I am copying an image using BitmapData.How do I stop black content in the picture appearing as transparent.I need transparency for the next stage of the transformation.

ActionScript Code:
import flash.display.BitmapData;
var mainArr:Array = new Array(150);

[code]........

View 0 Replies

JavaScript :: Transparent Flash Content - Dropdown Menu

Jun 19, 2011

I have below Javacript for my embed flash file in page

<script type="text/javascript" src="files/swfobject.js">//</script>
<script type="text/javascript" src="files/swfaddress.js">//</script>
<script type="text/javascript" src="files/facebook.js">//</script>
<script type="text/javascript">
var assetsFolder = 'assets';
[Code] .....

How to make it transparent when I iframe this page so this flash should not come over the drop down menu ...

View 1 Replies

Flex :: Interact With SWF Loader

Jul 7, 2009

I embedded a swf file in my application [code]now with the help of the flex documentation I wanted to interact with my loaded swf by creating a SystemManager.[code]But when starting the application the error#1034 occurs and says that Main__ embed_ mxml_mod_ VideoModule_ swf_856293516@33f53c1 could not be converted into mx.managers.SystemManager.

View 2 Replies

JavaScript :: How To Interact With 3D PDF From Flex

Feb 6, 2012

I'm working on a web application which displays a 3D model (Acrobat 3D PDF file) and allows users to interact with the model. I need to be able to communicate with PDF from the web page:
1) Programmatically highlight a node in the 3D PDF (given the node name) when, say, the user clicks on a list item referencing that node name in the web page
2) The reverse way, know which node the user selected in the 3D PDF so I can highlight that node name in the web page.

My questions:
a) The UI of my page is Flex. Is it possible to do this interaction directly from Flex?
b) If not, is it possible to do this from browser javascript? (which I will in turn call from Flex) I have seen an article on browser-pdf communication [URL] but am not sure if 3D objects can be accessed from external browser javascript.
c) Or does the Acrobat Reader ActiveX control expose methods to perform these operations from browser javascript?
d) Lastly, do folks have any recommendations based on their experience, on which 3D CAD viewer software integrate with browsers and enable this kind of interaction? (Apart from Acrobat 3D, I am evaluating a few such as 3DVIA Composer Player).

View 1 Replies

Flex Can't Interact With Button In Itemrenderer

May 28, 2010

I have a list with a itemrenderer. When I put a button in the itemrenderer I can not interact with it. If I rollover the button the list item rollover is triggered but not the button's rollover. I can't click on the button either. You can see below I have a click event set in the itemrenderer and it is not called on click when I run app. Must I override rollover and click methods of itemrender? Why is it such a pain to put a button in an itemrenderer?[code]...

View 1 Replies

Flex :: How To Get Embedded SWF To Interact With Project Assets

Jan 13, 2011

I have a Flex project in which I am embedding a Flash SWF containing an image viewer. The SWF file I'm embedding is supplemented by an XML file, which contains a list of images to show, and an images folder containing the images. The problem I'm running into is that the embedded SWF file is unable to load the pictures. I am able to see the forward/backward navigation buttons, but there are no loaded images. When I view the SWF file outside of the Flex project it works fine. Is this because Flex isn't allowing the SWF to reach outside and access other project assets?

Here's my code for embedding the SWF:
<mx:Script>
<![CDATA[
import mx.controls.Image;
import mx.events.CloseEvent;
import mx.managers.PopUpManager;
[Code] .....

View 2 Replies

Flex :: Dynamically Add Image Objects To Display And Then Interact With Them?

Jan 13, 2010

Below is sample code from a Module I have in my Flex app. I want to dynamically create mx.controls.Image objects and add them to the display. I want the user to be able to move them (this works as below) and be able to change their z-index as well as record new X and Y coords after moving back to the database. How do I determine which object in this.getChildren() is the 'selected' item the user is working with? When I add a MOUSE_OVER event, for example, it does not work.[code]

View 1 Replies

Embed SWF File In Flex And Interact With ExternalInterface Functions

Sep 1, 2011

I use a SWF file that exposes functions and events using ExternalInterface. Here is an example of an exposed function:
ExternalInterface.addCallback("myFunction", ExecuteMyFunction);

If I embed the file in an HTML page, I can access those functions using JavaScript. Now, I'm embedding that same SWF file dynamically in a Flex app using the mx:SWFLoader component, something like:
<mx:SWFLoader id="myLoader" source="[URL]" autoLoad="true"/>

I'm trying to access those exposed functions and events, but I can't find how to interact with those from the Flex app. I would like to be able to call a function just like from JavaScript, like:
myLoader.myFunction();
How can I access a function that is exposed by the ExternalInterface within Flex?

View 1 Replies

Flex :: Display Flash Movies Inside Application And Interact With Them?

Feb 11, 2010

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?

The scenario is as follows:

I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.

Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.

View 1 Replies

Professional :: Transparent Background Is Not Working With Vmode Transparent?

Oct 17, 2010

I imported a video into flash and have a transparent photoshop layer to create an iPod skin. The video works fine, but I cannot get the "stage" to be transparent so that you do not see the flash background color behind the iPod skin.
 
I've read in the forums and have followed the instructions here from Adobe. If you look at my code, I have

[Code]...

View 6 Replies

Actionscript 3 :: Draw Transparent Graphics Onto Transparent BitmapData?

Feb 5, 2012

I'm trying to draw PNGs onto BitmapData that is transparent.

I create my BitmapData like this (using ARGB for the color):

new BitmapData(width, height, true, 0x00000000);

And clean it by using the same ARGB value:

bitmapData.fillRect(bitmapData.rect, 0x00000000);

When I use copyPixels() to draw graphics onto the cleaned BitmapData, I get this result:

If I don't use ARGB for the BitmapData color, it works fine:

But I have to specify a solid fillColor, meaning I can't render what's behind the Bitmap.

How can I make my BitmapData transparent, but not have the above occur?

View 1 Replies

ActionScript 3.0 :: Remove Transparent Pixels From Transparent Png?

Feb 27, 2010

I am creating a map in flash cs4 with all the countries on it. I used photoshop for creating the map and separated countries. Now I imported all pngs in Flash and I want to give Mouse CLICK event and Mouse Hover on all pngs, but as the transparent pixels are overlapping the other states, it is getting difficult. So, I converted all pngs in movieclips and now then I broke up pngs. Now I want to delete all pixels having alpha 0 using eraser tool, as per the borders. And I have to do it manually for individual countries. So is there a way to remove transparent pixels from the bitmap data?

View 2 Replies

How Does The Flash Layer Interact With The Flex Layer In A Multiple Layer Design

Aug 26, 2011

Don't know if the flash layer on the view stack contain only the compiled flash swf file

View 1 Replies

Flash :: Transparent JPEG Through Flex?

Aug 4, 2010

In Flash, via the authoring environment, you can put bitmaps in your movie that are compressed with JPEG but still support full alpha transparency, something JPEG does not support out-of-the-box. Is there a way to achieve the same when embedding bitmaps via the Flex [Embed] tag?

View 1 Replies

Flex :: Make A Mx:DataGrid Transparent?

Sep 14, 2011

I am developing an app on AIR 1.5 and Flex 4. how to make a mx:DataGrid in Flex with a transparent background. All of the tutorials I have found seem to suggest adjusting the backgroundAlpha to 0 but so far as i can tell Flex 4 components do not support this property, so how can it be done?

View 1 Replies

Android :: Transparent Background In Flex Air?

Jan 14, 2012

Can a Flex Air Android app have transparent background, like the Android Theme.Transluscent? I've tried adding:

<systemChrome>none</systemChrome>
<transparent>true</transparent>

to the -app file but that just makes the background white.

View 3 Replies

Flex - Transparent Background For SWFLoader?

May 20, 2009

I created a "Loading" spinner in a SWF. I display this spinner in my main application SWF using SWFLoader.How do I make the SWFLoader transparent? Currently it uses Flex's default background color even though I've set backgroundAlpha="0".

My spinner SWF's main MXML: (Note the use of backgroundAlpha)

[Code]...

View 2 Replies

Flex :: Button Behind Transparent Hbox Unclickable?

Feb 15, 2010

I have a HBox with no background, but with some children. Behind the HBox is a button which need to be clicked. The button is unclickable at the moment because the HBox is on top of it. I need the button to be clickable and still have the HBox on top of it

View 1 Replies

Flex :: Make Transparent Color In BitmapData?

Jul 3, 2010

I have a code like this:

[Code]....

I want to make the white color in the generated PNG transparent.

View 1 Replies

Flex :: Take A Snapshot Of A Movieclip With A Transparent Background?

Sep 13, 2010

I am coding in AS3 and I am using BitmapData to take a snapshot of a movieclip. Is there a way to have the end result BitmapData to support transparency?

How do I take a snapshot of a movieclip without any background?

View 2 Replies

Flex :: Implement A Transparent Eraser Tool?

Dec 29, 2010

How can I implement an eraser in Flex so that when it erases on an mx:Image, it makes the area transparent?

View 4 Replies

Flex :: MouseEnabled Where Transparent Not Working As Expected

Feb 28, 2011

I just cannot understand why mouseEnabledWhereTransparent does not work on this skin. The Skin this creates is basically a Button with a transparent background and a little triangle to the left side, like so: >ButtonText But the empty space around the Triangle does not receive mouse events. I've tried wrapping another group around the triangle path and I've tried wrapping it into a Graphic Object, also without success. I could create a Rect with 0 alpha below everything, but isn't that exactly what mouseEnabledWhereTransparent should be doing?

<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin xmlns:fx="[URL]" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fb="[URL]" minWidth="21" minHeight="21" alpha.disabled="0.5" mouseEnabledWhereTransparent="true">
<!-- host component -->
<fx:Metadata>
[Code] .....

View 2 Replies

Flex3 :: Set Flex Titlewindow Background To Transparent

May 24, 2011

I have a modal Flex dialog and want to make the background not of the window itself, but the semitransparent modal indicator transparent. (Yes I tried to convince the client they don't want to do this, but apparently they really want to do it). Is this even possible?(prefer a solution using Flex 3's TitleWindow, but Spark/Flex 4 TitleWindow is acceptable)

View 3 Replies

Flex - Possible To Have Transparent Background In Fullscreen Flash?

May 31, 2011

Is there a way to get transparent background when in fullscreen mode in flash? I tried the following:

<!DOCTYPE HTML>
<html><head>
<style type="text/css">
body{background:#666;}
</style>
[Code] .....

View 1 Replies

Flex :: Color All Pixels That Are NOT Transparent To Black?

Aug 5, 2011

I am using ColorMatixFilter on an Image in Flex. I am really close to getting want I need out of the filter.Basically any PNG file the user uploads I want all pixels that are not transparent to be colored black. I have a function that sets the "brightness" already so I just through a really large negative number at it like -1000 and it does the job but the problem is any pixels that have any alpha to them, say 0.9 or below all end up being white when I encode my PNG file on the server later.

[Code]...

I would like all pixels to be solid black unless the pixel is completely transparent and not sure how to tweak the values to get that out of it.

View 1 Replies

ActionScript 3.0 :: Transparent Png Not Acting Very Transparent?

Oct 6, 2009

I have two png's that kind of look like paint brush strokes. they have some transparency in them that lets the stage colour bleed through a bit.

I am adding two of these images to the stage in AS 3. One adds quite fine - looks as expected. The second one however doesn't have any transparency other than around its edges. What i mean is it looks more like GIF than a PNG. Rough around the edges, no transparency "inside" the image itself (where there should be)

i have tried re-creating the image (yes it IS a PNG) which did nothing. I ensured the library item is not being treated as a JPEG. I also even tried externally calling the PNG to see if that made a difference. Unfortunately it did not.

why this second PNG doesn't seem to have a transparency set?

View 8 Replies

Flex :: Disabling The Transparent Background Overlay On A Popup

Mar 22, 2010

I have a button in my flex app that creates a popup overtop of everything. However, it seems like flex automatically puts this transparent overlay overtop of the stage when this happens. How do I disable this? I have tried contentBackgroundAlpha="0" and backgroundAlpha="0" with no luck. anyone know what the proper syntax is for disabling this transparency? I have been searching through the docs for a 30 minutes now looking for it.

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







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