Flex :: Set SWF Object To Background Of Application?

Jan 13, 2011

I am Creating one application in which I want to set one swf as my application background.

I am able to set background but it is only coming with some area only.

It is not coming in the whole application.

It is not scaled in the whole application background.

I am using 9-slice scaling with that background SWF.

View 2 Replies


Similar Posts:


Flex :: AS 3 - Run Air Application In Background

Apr 11, 2011

I am trying to provide my users with the option to have my application launch automatically and complete a task at a certain time every week. I can make my application launch at log in using NativeApplication.nativeApplication.startAtLogin=true but I then want to detect if the time is the time they selected and if it isn't then run the application in the background until the time does match or the user shuts down their computer. On Adobe's webpage comparing Flex web apps and desktop apps it implied to me that applications could be run in the background.

View 2 Replies

Flex :: Osx - Application Suspended While In The Background Using Safari On Mac?

Jun 30, 2010

Users of my Flex application report that sometimes the application is freezed when the browser window is minimized or they select another active tab over it. In this suspended state, the application receives no CPU share and all network connections it uses are closed. When the browser window is restored, the application is resumed. This happened with Safari 5 on Mac OS Leopard, with both Flash player 10.0 and 10.1. I searched a lot but I could not find any information about such behavior.Is it possible entering in suspended state to be prevented and how? Is it possible for the Flex application to be notified about going into sleep mode and wake up back?

View 3 Replies

Flex :: Change Application Background Color At Run-time In Its App?

Apr 20, 2010

I have a Flex 3.5 application that will serve multiple purposes, and as part of the visual changes that I'd like to make to indicate which mode the application is in, I want to change its background color.[code]...

View 2 Replies

Flash :: Filling Flex Application Background With Pattern?

Aug 17, 2010

We are trying to fill our Flex 3 applications background with an image pattern by repeating the pattern throughout the background.

The pattern is a very small "bulleted"-background.

The Flex App seems to just stretch the image pattern even though we've specified in the CSS the following:

Application
{
background-gradient-colors: #ffffff, #ffffff;
color: #000000;

[Code]....

View 1 Replies

Have Transparent Background In Flash Application Built With Flex 4?

Nov 13, 2010

Is there a way to have a transparent background in a flash application built with Flex 4? I need to put it on a webpage where the html background is visible through the flash.

View 1 Replies

Flex :: Blurring And Disabling Background While Reconnecting Application To Backend

Sep 6, 2011

My Flex 4.5 application has many users from Russia and Ukraine with poor internet connections and Socket connections often interrupt and have to be reconnected.

Currently I set currentState to "offline" on IOErrorEvent.IO_ERROR and Event.CLOSE events and display just 1 component in that state:

<mx:ProgressBar indeterminate="true"
horizontalCenter="0" verticalCenter="0"
label="Reconnecting..." labelPlacement="center"

[Code]....

View 2 Replies

Flex :: Testing - Null Object Reference With Automation Enabled Flex-application At Preloader?

Jun 10, 2010

We are trying to automate our flex application. After adding automation libraries to our project we get the following exception:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()

[code].....

We are using Flex 3.4 and maven2 to build the application.

View 2 Replies

Flex :: Image Object White Background Showing?

Aug 3, 2011

I have an Image object that gets resized to the containers size when the image loads.The images that it will load are dynamic in size so after resize I end up with a sliver of the image object's white background showing.How can I make the Image object not have a white background and be transparent.Parts of the PNG's have transparent parts but show up as white due to the white background of the object is it loaded into.

<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" headerHeight="20" >
<mx:Script>
<![CDATA[

[code].....

View 1 Replies

Flex :: Passing Object To Save Back To Server Freezes Application

Jan 24, 2012

I have a NavigatorContent which is displayed when the user selects an item in a DataGrid. This NavigatorContent contains a form and an accordion displaying the related objects.

When the user presses the Save button in the NavigatorContent the form and the children should be saved to the database by calling the server through BlazeDS:

saveObjectToDB()
{
//Map the form values to the object
object.field1 = object_field1.text;

[Code]....

The object that i pass to the accordion children is public and [Bindable] in the NavigatorContent and in the accordion children and is initially passed from the main DataGrid. May this be a problem relating to this issue?

View 1 Replies

Scaling Background / Whole SWF Object Without Tiling Background

May 15, 2009

I really don't know much about flash or swf files but in updating my portfolio I came across Polaroid gallery. I have managed to update the background jpeg with my own picture and remove the fade effect. However in the original program the background was tileable so when seen in a full screen browser looked fine. As my picture is not tileable I would like to know if it is possible to scale the background or the whole swf object without tiling the background.

View 1 Replies

Flex :: Type Coercion Error When Casting An Object Loaded In A Different Application Domain

Apr 28, 2011

My application currently contains a number of Widgets that are managed by a Widget Manager. When the user clicks on a widget (e.g. a Helper widget), the Widget Manager loads the widget into a separate sibling application domain with the following line of code:

wgtInfo.load(null, null, null, moduleFactory); //wgtInfo = IModuleInfo

However, I am unable to use the widget's variables and functions later on. I attempt to find the Helper widget from the Widget Manager's list of widgets, and I do successfully. But when I try to caste the Helper Widget from type IBaseWidget (the interface all widgets share) to type HelperWidget, I receive the following error:

TypeError: Error #1034: Type Coercion failed.....

This is because the application domain of the class trying to use the Helper widget is different from the application domain of the Helper Widget. I tried to fix this by loading all widgets into the same application domain as the loader:

wgtInfo.load(ApplicationDomain.currentDomain, null, null, moduleFactory);

I now get the following error whenever I attempt to load the Helper widget:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

How can I load my Helper widget into a common application domain that is accessible by the other widgets?

View 3 Replies

ActionScript 3.0 :: Sockets - Flash Application And Windows Application Works For String Buffer But Not For Object?

May 6, 2011

I want adobe sockets to send "customized" class object to a server socket(WinSock2). I used socket.writeObject(myClassObj). Actually My flash application and windows application works for string buffer but not for object.

Code:
//Flash
var buffer:String = "God Bless Us";
socket.writeUTFBytes(buffer);

// WinSock2
iResult = recv(ClientSock, recvbuf, recvbuflen, 0);

Is there anything I must do before writeObject() is used.?

View 3 Replies

Flex :: After Importing A PNG With Transparent Background It Shows Up With White Background

Dec 28, 2010

As the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]

View 2 Replies

ActionScript 3.0 :: Drawing Application And Transparent Background?

Apr 10, 2010

i've created a simple drawing application with colors, a clear button, and a save function, but my problem is i want what people draw to become the head of a character in my animation.I would LOVE a transparent backround too to whatever they draw,

View 3 Replies

ActionScript 3.0 :: Amateur Trying To Accomplish Transparent Background In AIR Application

Feb 9, 2011

I am new to AIR and just trying to comprehend what it is capable of. Just wanted to know if it is possible to set the AIR application's background to 0% opacity.Simply put I am trying to create a desktop buddy. In theory a remote control UI will be positioned in the top right of the screen with 200x200 dimensions. When you press the btn_flyIN, it tells this buddy to fly onto the desktop. The desktop need to be visible and not just a screenshot.

View 2 Replies

ActionScript 2.0 :: Create A Hit Counter In The Background Of A Flash Application?

Apr 29, 2005

i am trying to create a hit counter in the background of a flash application. However, i can't seeem to get the code in flash correct to access the php script.

Flash Code:

Code:
_root.checklot=0;
setInterval(check,1)
function check() {

[Code].....

View 3 Replies

Actionscript 3.0 :: Add A Non-visual Object Like My SndManager To The Application Object?

Apr 10, 2010

Lets say I have a visual component (button) and a non-visual Object that receives a message and generates music in realtime (using an internal Sound object, etc). What's the best way to make the connection in OOP/AS3? In other languages, I've used to add the objects to a top level object (something like the Application object) and let them see each other. Example: Add button to App, add SndManager to App. Click on button, notify App, make App invoque the play() method on the SndManager.I'm asking you this because the above example looks odd to me. In fact, I'm not sure if I can add a non-visual object like my SndManager to the Application object.how can I bridge this?

View 1 Replies

ActionScript 3.0 :: Application Build - Choose And Apply Background Image

Nov 3, 2009

I am making a basic app but am not sure where to start. This is what I want to accomplish in 3 steps:

1. The user has an option to choose 1 of 6 images for the background.
2. The user uploads an image that meets requirements
3. The uploaded image is skewed/scaled and placed on top of the background image in the appropriate place.

I am trying to get this project done asap. There is a flow chart attached.

View 5 Replies

Flash :: Facebook Application Background Color Dcan't Show Up

Jan 27, 2010

How to make the flash background color show up?

View 1 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies

Actionscript 3 :: Resizing Container On Resize Of Application Window In Adobe Flex/AIR Application?

Mar 4, 2011

I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.

View 3 Replies

Flex :: Come Back In Main Application On Click Of Logout Button Which Is In Application's Component?

Aug 4, 2011

How I will be back in Login Page after click of logout which is in application's component.

Project.mxml

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"

[Code]....

View 2 Replies

Flex :: Delete Application Storage Directory Instance / Data When Uninstalling Any Air Application?

Dec 22, 2011

how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.

I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.

View 1 Replies

Flex :: Gui - Switch Between Different Applications(mxml File With Application As The Root Tag) In A Big Application?

May 16, 2010

I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?

View 1 Replies

Actionscript 3 :: Using External Xml Data In A Flex Application Without Compiling The Source Into The Application?

Jul 15, 2011

I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?

View 2 Replies

Flex :: SystemManager.addEventListener Of Sub Application Is Not Working In Main Application?

Mar 31, 2011

i used systemManager.addEventListener in sub application...... it is working well....but when i load sub application into main application through swfloader it doesnot working..

View 1 Replies

Ios :: Embed Adobe Air / Flex Application Inside A Standard Application

Aug 29, 2011

I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.

View 1 Replies

Flash :: Write An Application That Plays Music In The Background On IOS Using Adobe Packager For IPhone?

Feb 2, 2011

I would like my application to be able to remain running while the user goes and uses another application. (It will be playing music) Additionally, how to communicate w/ Cocoa Touch from this environment?

If you think this is not possible, which platforms are capable of this (other than the obj-c mac x-code route, which I am trying to avoid)?

View 1 Replies

Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 Replies







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