Change File Mode To Hidden By Flex?
Aug 31, 2009is there any way to change file mode to hidden by flex?
for example var myFile:File = new File(File.applicationDirectory.nativePath + File.seperator + "a.txt");
myFile.setHidden
is there any way to change file mode to hidden by flex?
for example var myFile:File = new File(File.applicationDirectory.nativePath + File.seperator + "a.txt");
myFile.setHidden
is there any way to create a file as a hidden in vista, xp, 2000,98 ,macintosh from flex by using var file:File = new File(""); or any other way
View 1 RepliesI was just curious about the password mode display of the TextInput control in flex. The control displays asterisks instead of the characters themselves when the 'displayAsPassword' is set to true. Quoting the documentation,displayAsPassword If true, the field does not display entered text, instead, each text character entered into the control appears as the character "*".So, is there any way to change this displayed character, unless of course creating a custom component or extending the existing TextInput control?
View 1 RepliesI have an Image control in my Flex application:
<mx:Image id="img" source="@Embed('img.png')"
percentHeight="100" percentWidth="100" />
Because the image is scaled, there are a lot of scaling artifacts. Can I change the image to use a different type of filtering?
I have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.
View 1 RepliesThis is a custom flash template I downloaded, when you watch/use the template you can see about me, and all the text in it, however when I attempt to edit it to my specs, I see the frame where it is located, but I cannot edit any text, because I can't SEE any text!!So basically, in editing mode, I don't see any text to edit, but when using the template, I see a lot of info... I have no idea what to do, and please keep in mind I am in no means a professional, or even intermediately good with Flash...
View 1 RepliesAm I blindly missing a method for creating a hidden file or directory in an AIR / AS3 desktop app? Re-combing the docs, all I see is the File.isHidden read-only property. I know I could do this via NativeProcess and native code, but I'm hoping to avoid creating native code.
View 1 RepliesI have created a button symbol which consists of a rounded rectangle with text on top. After adding two filters (bevel and glow), I went to edit the symbol. However, in the editing screen, I can't seem to access the filters; they don't show up in the properties panel when the button is selected. I'd like to change the glow color for the Over and Down states.
View 2 RepliesI�m using these lines to make the site fullscreen:
Code:
//fullscreen
var full:Boolean = false;
aviso_mc.full_btn.onRelease = function() {
[Code]...
how can I detect when the user press ESC and change to normal mode?
I am currently creating an online portfolio using Slideshowpro [URL]. For some of my pictures I am using (external) captions from a XML file, inserted into a dynamic textfield. As some of the captions contain a lot of text I decided to add a UIScrollBar. However, when there is no text (no caption) available, I want the scrollbar to be hidden. Also if there is not enough text to warrant a scrollbar it would be great if it could be hidden!
Code below, note that "t_txt" is the instance name of my dynamic textfield:
import flash.text.TextField;
import net.slideshowpro.slideshowpro.*;
import fl.controls.UIScrollBar;
XML.ignoreWhitespace = true;
//remove scrollbar from stage, scrollbar component must be in library
var sbContent:UIScrollBar = new UIScrollBar();
[Code] .....
I'm trying to put an image, generated from some text, in a RichEditableText. Since it's a styled text, I thought about putting it another RichEditableText, style it, then print it to a Bitmap to use as source for InlineGraphicsElement.I use the following code to do that
var txt:RichEditableText = new RichEditableText();
txt.text = name;
// Appliy given styles to the text flow of input rich editable text
[code].....
i have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.
View 3 Repliesi have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.
View 2 RepliesThat is , I don't need to terminate the current publishing video then republish again.I just want to change the publish mode,maybe from live to recorded mode.
View 3 RepliesWhat are some of the hidden features of MXML? What existing features are not well known but very useful?MXML being used in Flex Framework became quite popular language because Flash Player is something every PC has and Flash Builder and Flash Catalist are quite popular Adobe programs.specify one feature per answer, and read all answers before posting a dupliate.It's not always a great idea to use these hidden features; often times they are surprising and confusing to others reading your code.
View 3 RepliesIn flex UI, my <mx:list> can not be shown completely because of other component shelterring (for example: the refresh button shelter part of it ). How can I make the <mx:list> in front of all other UI component.
This is my code:
<s:HGroup verticalAlign="middle">
<s:Label text="Choose Log File"/>
<mx:ComboBox id ="logFileChooseCombo" dataProvider="{fileNameList}" width="150" color="0x000000"
[Code]....
I found a lot of interesting info in the 'hidden features of...' series. I am very new to cairngorm . What are some of the hidden features of cairngorm.
View 1 RepliesMy problem: I have a tab navigator, with many forms in each tab. But I have a single global save button.Problem is, if I don't open a Tab, it doesn't get initialized and therefore the forms it contains do not exist..
How Can I make it as if the user had clicked on every tab?
I want to add some hidden field in Flex and send to the server
View 3 RepliesI'm developing an AIR application which uses multiple windows. I'm running into an issue where I want to open new windows (toaster notifications for example) when the primary application window is not visible, but the behavior is different depending on how the window is closed.
When a user hides all application windows with CMD-H, opening a new window causes all application windows to come back to the foreground (instead of just that new window, like I would expect). If the user closed a window with CMD-W, however, that window does not become visible when I open a new window.
Is there a way to either 1) tell when the user uses cmd-h to hide all windows OR 2) tell whether a window is hidden using cmd-h vs. closed cmd-w?
Is there a way to have a hidden swf ( flex application ) on a page and still have it be reachable from javascript and debuggable from flash builder? I have need to use flash to manipulate js but it needs to be reachable from js to be started.
View 1 Repliesvar contextMenu:ContextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
var contactList : ContextMenuItem = new ContextMenuItem("Add to Existing List");
[Code]....
All coding on contactListItemRenderer.as and call to datagrid like
<mx:DataGridColumn itemRenderer="com.view.Contact.ContactListItemRenderer"
dataField="fullName" headerText="Full Name" />
How do I open a new window as hidden? (note the visible="false")
<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
showStatusBar="false"
resizable="false"
visible="false">
If I declare a window this way, and then call this.open(false);, the window will quickly open and then hide, and then be reshown when I actually display it, I want to do this to be able to load content and fit the window to that size before showing it.
problem is I have a spark Tabbar, with many forms in each tab. But I have a single global save button.problem is, if I don't open a Tab,it doesn't get initialized and therefore the forms it contains do not exist..
How Can I make it as if the user had clicked on every tab?
I have a flex application that uses BrowserManager for Deep Linking.
But whenever the # changes the new hash fragment gets appending to the bottom of the page. In IE it is inside a frame that says "Hidden frame for Browser History support." I didn't even know it worked that way. But anyways it is not supposed to be showing up visibly on the page but it is..
I wanted to make a video player that has normal mode and fullscreen mode. The part I am having trouble understanding is how to handle the video once it gets set to fullscreen. Do I just use the current video or do I get a high quality version of the video to show during fullscreen mode? What would be best practice for this situation?
View 1 RepliesI just built a flex applcation with AS3 only.. the generated swf will expand as much as browser's window..I wish to reduce the dimension of swf file.
View 1 RepliesI'm trying to follow along with a basic animation tutorial online using ActionScript. It mentions to switch to expert mode from normal mode, but says that to do this, I need to click on a blue arrow with a box around it(which I don't see anywhere)? Where would I click to switch to expert mode? Is expert mode needed to animate certain things(I'm working with a movie clip)?
View 1 RepliesI have a Flex AIR2 application which uses native process to run CMD.exe. Application running fine on WinXP, Win R 2008 server. But not running on VISTA 64 bit OS. Flex not able to run CMD.exe when application installed in C:Program Files (x86). When I run application as Administrator mode it is working fine. Below is my code, I want to start cmd.exe as Administrator.
[Code]...
This probably is a stupid question but does anyone know how I can start a standalone swf file in fullscreen mode.I want it to cover the whole screen when it starts.
View 3 Replies