AS3 :: Flex - Restrict An Application To Only Run From Website?
Aug 5, 2009is it possible to make a Flex-application to only run from my domain? So a user can't copy the .swf and start it locally.
View 3 Repliesis it possible to make a Flex-application to only run from my domain? So a user can't copy the .swf and start it locally.
View 3 RepliesIn my flex application I need to restrict the mouse from moving in a certain area.In other words I want to create a 'No Entry Zone' for the mouse in the application.Hiding the cursor when mouse enters the area is not a solution for me.
[Code]...
I have need to restrict user input. TextInput should restrict all special characters and punctuation. Any other characters are allowed. In java there is a regex patter:
replaceAll("\p{Punct}", "_")
Is there something similar in actionscript?
I am a Flex/Java developer, in the process of creating a Financial/Trading website for a start-up company.The default look and feel of Flex (out of the box) is pretty plain and bland (in terms of the default styles). Can anybody recommend the easiest way for me (as a developer) to make the website look as polished and professional as possible?
What is am looking for is:
A professional style/theme to the website Use of polished images/icons Use of some Flash components for the intro/welcome page. The quickest way to get this styling/images/icons done - should I outsource this to an on-line company?I have been looking at Flash Catalyst as an option but images need to be created first in Photoshop (which as a product I do not know).
Is it possible to restrict flex bar chart y-axis count?I have a very big name coming in my y-axis and i want to reduce or restrict it to 5 characters and on rollover i want to display it in full.
View 1 RepliesI want that the users will be able to insert only numbers in a specific TextInput.
View 1 RepliesHow we restrict datagrid column drag drop...
View 1 RepliesI am trying to built something like this:
[URL]
User can not copy content from textarea in flex3. How can i implement this functionality?
I have a canvas,lets say of dimensions 500x600. I have some controls inside that canvas.User can rearrange the controls by drag and drop. But I want to restrict the drag and drop within that canvas. For example: There is a button in the canvas. User can drag and drop the button anywhere inside the canvas.But if the user tries to drag the button out of the canvas boundaries, it should stick in the canvas boundary. How to achieve this?
View 2 RepliesIs there some easy way to restrict TextInput to accept decimal numbers in range -99.999999 to +99.999999 ?
it is Spark TextInput.
I want to restrict my NumericStepper so that you can't type invalid characters into it (like a comma). I'm trying this, and it works:
<s:initialize>
stepper.textDisplay.restrict = "0-9 - .";
</s:initialize>
<s:NumericStepper id="stepper" />
Except the negative sign can't be typed anymore, even though I specify it. If I do it directly on a TextInput, it works:
<s:TextInput restrict="0-9 - ." minimum="-10" />
Why doesn't this work?
In my air application, i have displayed text content in either in html container or textarea container. whenever anyone select this content, he/she can easily copy the content.
I want to restrict my text from copy. Any content of the my application, should not be copy by any user..
I have a datagrid in flex and i am making the datagrid as editable. I can able to edit it and enter the values. so far so good. Now my requirement was, i want to restrict the editable datagrid cell to some max chars like 10. I mean to say maxChars = 10, i want to restrict like this & i want to implement like this.
View 3 RepliesI have a text field (for names) wich must allow all characters, except latin numbers, is this possible? I can't think of a regex for this
View 2 RepliesDoes anyone know of a way to restrict a user from entering a number over 100 into a textinput field in flex? i.e. a user can enter any number between and including 0-100 but not 101
View 3 Repliesif I'm able to load a swf that is already embeded in a website into a new AIR/FLASH application. I'm trying to do a screensaver mode when there is no mouse activities in configurator.swf. Is this possible?
For example: I have a website that has a swf loaded in it, and I want to load that swf file in another of my AIR/FLASH application. The website link is [URL] (this link is just an example, it will not work). configurator.swf is the swf file that is embeded in the webpage. The SWF file will communicate with a server to retrieve the latest information. And I want to load the swf that is in the website link to an AIR/FLASH application that I'm going to create now...
Can I embed the swf into an AIR/FLASH application? If I can, should I use AIR or FLASH projector? If not, are there any workaround?
I need to do click a button within the admin side of my external website and cause it to trigger an application within my local workstation (with parameters based on button). I have full control of the server, PHP, etc. I can also install any application on my workstation. What is the best way to do this? Adobe AIR/Flash? Java?
View 4 RepliesI'm developing a downloadable flash application that I want to include an image associated w/ a specific user w/ the download.Basically, I want the user's website image to be pulled down or pointed to when the .swf or .exe file is downloaded to a user's computer
View 1 RepliesI'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 RepliesI 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 RepliesHow 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]....
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.
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 RepliesI 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 Repliesi 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 RepliesI 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 RepliesI 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.
I've been trying to launch a separate Air Application through my current Air Application.Both apps are compiled using the Adobe Air 2.0 SDK. The methods I have found so far involve passing the Publisher ID in addition to the Application ID, but I believe the Publisher ID became redundant past Air 1.5.3? Below is my current implementation whic seems to correctly ascertain the Air Application's version number, but when I try to launch it, nothing seems to happen.
private static var _air:Object;
private static var _loader:Loader;
private static var appID:String = "someOtherAirApplication";[code].....
I have changed the app-config.xml (app descriptor) on the application I am trying to load to allow browser invocation.The version number of the app descriptor of my application I am trying to load is "V1" which the versionDetectCallback seems to pickup. If this is the case I would expect to be able to launch it but this doesn't seem the case.
I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.
[Code]...
I've created a client with login acces in Flex. After the succesful login i have to show a table based on a mySQL server. The database is composed by some tables, and I have created 6 flex mxml components with each own scripts for each of those tables. How can i load sub-applications, for example with a PopUpButton or a TabBar in the main application?
View 1 Replies