Passing Network Credentials Through Flex4
May 4, 2011i am new to flex4.i want to pass network credentials (username and password) through flex.i was not able to get appropriate results using [code]
View 1 Repliesi am new to flex4.i want to pass network credentials (username and password) through flex.i was not able to get appropriate results using [code]
View 1 RepliesI have a Spark ButtonBar that has a custom skin, which defines a custom skin for the "middleButton" requirement. My CustomButtonBarSkin has a custom state, minimized, which I want to pass into my middleButton skin so it can modify its design.
Is it possible to do this? I can see that my button skin could use parentDocument.currentState to get the minimized state, but that's really ugly. Any way to pass a skin from the bar to the child button(s)?
I wan't to share the application over the network using as3 with FMS in such a way that events performed on application on one PC should also reflect on all the connected PCs. for example if I shared a notepad, the task performed by me on that notepad should be reflected to all the connected users and vice-versa, like remote desktop works.
View 2 RepliesI have the following scenario:
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
It has just occurred to me that when my Flex application does a ChannelSet.login, it is essentially sending the username and password over the wire in an unencrypted form to the BlazeDS server. While I use the binary AMF protocol over an AMFChannel, it would take nothing for somebody to sniff these passwords.
Most of my clients do not want to run their application on an https (SSL) protected site. So what is the best way to do this? I use Spring security on the backend to do authentication.
Should I encrypt the credentials myself before calling login? I guess then I would need to know the server-side encryption algorthym.
I am deploying a flex application in sharepoint as a web part. I am planning to use sharepoint user credentials for my flex application. My flex application consists of various different user roles like author,reviewer etc . An author should be able to see all the list of sharepoint users available and can make any number of them as reviewer or author . For this I require following functionality through sharepoint for my flex application:-
1) Getting list of all users of sharepoint
2) Getting the username of the current logged in user of sharepoint through the flex application, which is deployed as a web part in sharepoint.
I try to load an swf in my flex 4 project using the following line of code: <mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" /> the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else. if i try to load a different swf file (for a example a game i downloaded), it loads just fine.
View 1 RepliesIs there a guide or document that deals specifically with migrating CSS and style attributes from Flex 3 to Flex 4? I have an application that I'm keeping on the 2006 namespace, but I'm having trouble with a couple concepts, like the halo only styles, the CSS namespacing conventions, and styling child controls.
View 1 RepliesDoes any one know how it's possible to get in Flex 4 a value of the second item from Drop Down list, assuming I have 3 items listed there?[code]
View 1 RepliesI have the following code for accordion in Flex 4 with couple of checkboxes inside, since the checkboxes are plenty i made it inside a list so that it can scroll. but when I try to run this code the checkbox only shows as label and no checkbox beside it. what is wrong with my code.
[Code]...
I wrote a simple application for facebook and it seems that i fail to login. I created a test application on facebook and i test my application by going to [URL] i have the following function that is being executed after ApplicationComplete event of my main application.
[Code]...
The first time I change from state A to B it doesn't play the transition. After the first transition, the same state change does play the transition.
Before I let state B load, it parses an xml file and maps it to objects. When this is done, the state changes. Maybe it has to do with the parsing of the xml. But I can confirm that parsing is done, before it changes the state.[code]...
I would like to know what is the more practical way to embed many images using actionscript. Firstly, I don't want to download an image every time from the server, and then I would like to change the number of images and/or their names. What do you propose for these requirements? I have been alerted for the Embed tag but it seems a little inconvenient in its use as you have to declare a new class for each asset and instantiate the class separately.
View 2 RepliesI have an XML object in Flex4 that is populating a tree (amongst other things).
I need to be able to find the name of the selected item when it is clicked in the tree.
For example:
<Object id="">
<Image></Image>
<Cycle></Cycle>
[Code]....
The tags are all predefnied by me so I will know what they are, but I need to be able to know if the item a user has selected is "Object" and do something, or if they select "Action" do something else.
What is the syntax to get the names of these in flex4 and compare them?
I made a SWC project (my new Theme), with these elements :
src/views/MyViewSkin.mxml
src/DefaultTheme.css
I made a SWF project (Flex app), with these elements :
src/views/MyView.as
theme/DefaultTheme.swc // theme building result
In the SWF project, I added this information in mxmlc compiler : -theme theme/DefaultTheme.swc. My problem is : how to build SWC projet (theme) with HostComponent[xx] is external ?
[Code]....
I'm loading an xml file in AS3/Flex for an AIR app. When I save it, the indenting looks pretty, however all the tabs from the original file, are now spaces. Can I save to that the tabs remain?
open file code:
var file:File = event.target as File;
var fileStream:FileStream = new FileStream();
fileStream.open( file, FileMode.READ );
[code]....
I am working on a modular application. The problem is that scrolling doesn't work with datagrid and AdvancedDataGrid even in a non-modular application on FF and Chrome on Windows, works fine on IE. On mac, it works fine with FF 4.0 and chrome. how to get it working on FF and chrome on windows?
View 1 RepliesI am new to flex development.[code]what happens here is that, the part of the panel goes out of the browser view and I need to include scrollbars so that I can scroll to the right end and bottom end of the panel itself.
View 2 RepliesIn Flex [4], when cycling the focus through components by pressing Tab, how can I remove particular components (eg. some buttons) from the tab cycle. I want those buttons to be skipped completely when pressing Tab.
View 1 RepliesIs there any existence of properties file in FLEX4/AS3 ? my requirement is to read data from properties file that flex AIR loading time is minimized and should not occupy more memory. my data set is an array containing around 2000 objects in key:value pair format. How can I treat this large data set that it should not occupy more memory and less initial loading time.
View 1 RepliesI would like to have vertical tabs in Flex 4. I have started implementing this by having a vertical list down one side. On list selection I am updating the selection index of a view stack. This gives the functionality of vertical tabs.
My problem is the look and feel. How do I get the list to have a similar look and feel to the horizontal tab bar? Is it a case of overriding skins? I have found this post: Flex 4 vertical TabBar
which does implement vertical tabs. My problem with this is that I do not get any text in the tab. I think the problem is that this was originally written for flex 2. I am using flex 4 and am trying to put this component inside a
In Flex 4, how can I change the cursor to a Bitmap image determined at runtime? All the examples I've seen use CursorManager.setCursor to set the cursor to a class specified at compile time.
What I want to do is change the cursor to a bitmap whose bitmapData is determined by the context.
I'm trying to understand how packages and dependencies work with Adobe Flash Builder 4. I've copied an example here and put it in a .as file called DependencyGraph. However I get the error message:
A file found in a source-path must have the same package structure '',
as the definition's package, 'DependencyGraph'.
I understand that the original file has a package name called package flare.apps. What should I change to enable this to run?
I have a swf published into the web, I noticed that Adobe has provided some basic sort of loading animation, as I can see it when I loading the swf(including the library swf, the overall size exceeds 1M bytes). My question how can I add some text into it, like percentage? Or further more, can I write my own "swf loading progress bar"?
I am using flash builder 4.
I was trying to implement menu bar control in my Flex application as follow:
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:MenuBar id="myMenuBar2" labelField="@label">
<mx:XMLList>
[code].....
I created few flex components in flash using flex component kit for flash. It generates a swf and a swc file. my question is, how can i load these flash created flex component at runtime and use them.
View 1 RepliesHow to have that movieClip created to be created at the centre of the screen?
View 1 RepliesFriends, I am developing a control panel for a web hosting company, I am considering using Adobe Flex 4 (Adobe Flash Builder), but I'm afraid that the staff are no longer using more flash in computers, especially with the growth of ipad, iphone without flash.
This panel will be used by enterprise customers to manage their products.
Do you think that the flash actually has a future? think it is reliable to use flash in such an application?
I use states in a Flex application to switch from normal to fullscreen view. These states are defined in mxml and in a specific tag:
<local:RSVideo
id="video"
width.normal="534"
[code]....
I need to have a spark list that switches between VerticalLayout and TileLayout depending on the user choice. The most obvious way is create two lists with separate layouts and then use States and the "includeIn" attribute. However, this is not a very good solution because I would like to keep the same items in the view when switching (if user scrolled to item 100 in the VerticalLayout and then switches to Tile, I would like item 100 to be visible immediately in the new layout, instead of starting at the first item).So I tried using 2 layouts on the same list and using the "includeIn" solution.[code]
View 2 Replies