Flex :: Setting Default SAVE Locations In Web Application?
Oct 30, 2009In flex 3 web application how to set default save location for images?
View 1 RepliesIn flex 3 web application how to set default save location for images?
View 1 RepliesI have a spark DataGrid component with several columns and I want to have my application default to descending order on the first column in the DataGrid. I would like to use the built-in default sort that occurs when clicking the top header once. I have no need to sort the ArrayCollection I'm working with or change what the comparators are.I also want any user-generated sorting such as clicking on a different column's header to override the default sorting.
View 1 RepliesI have a more than one container in a view. I am trying to set default button at the moment page is loaded so that when I press enter, function that handles keydown event called. If I simply set default button in preinit() function, it does not work.
View 2 RepliesCurrently I have a form in a window like this:
<mx:Form>
<mx:FormItem label="Reference">
<mx:TextInput id="reference" width="100%"/>
[Code]....
Is there any way to change the default value of a blank form entry from null to some other value?
How do you set the default value of skinClass for a custom component in Flex? I've extended the DropDownList with my custom component, but I would like to specify a default skin to go with it instead of always setting the skinClass value for each instance.
View 1 RepliesI just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?
View 1 RepliesWhen creating an Actionscript Project in Flex builder 3 an application class is automatically created and dropped in the root of your source folder. In my case my source folder is called src/.Is it possible to change the default application class to a class which is not directly in the root of the src folder? It seems when right-clicking on class files which are in sub packages the 'Set as Default Application' option is not selectable.Is this done on purpose by Adobe to enforce all pure AS projects to have their application class residing in the top-most package?
View 3 RepliesI'll just go ahead and C/P the entire function to ensure you guys see everything going on:
public function directorsPrepsToShow():void
{
var tempDPrepsAC:ArrayCollection = new ArrayCollection;
var dprepSD:Date = new Date;
var dprepED:Date = new Date;
[Code]...
Is it possible to allocate multiple media locations to a single VOD application? I'm about to exceed the 2TB volume limitation of my SAN, yet the quantity of content that needs to be available for a given clients FMS application exceeds that.
View 1 RepliesI am trying to make it so that when a user launches my air app, it positions itself and sizes itself to whatever it was the last time it was opened.
[Code]....
I use the following [code]...
in order to capture a frame from a videoDisplay object
1) is it correct or am i doing something wrong?
2) what can i do to store the bmpData as .jpg at my computer?
I am using the combocheck example from the following site: [URL]
It's a very useful component and works very well.
Now, I need to set the text property of this combo box upon application startup with certain values (which are defined dynamically according to some criteria). The problem is that although I have no problem setting the text property of the combo box at other times of the application run, setting the property at startup seems to have no effect unfortunately.
For example, I want to set the text property of the combobox to "Bob" (which is one of the items in the dataprovider for the combobox) and the "set text" method is called on the combo box. Performing a step-through shows that the "set text" method is receiving the correct value item but not setting the _text property.
I have tried not doing anything until "ApplicationComplete" but no joy there either.
Here is the code (a combination of the code from the URL above and some other changes to it). However, as I've stated above, the codes does work. The problem is that it doesn't work at the application startup. Whenever an event is fired and setComboText is called as a result, the text of the combo box is set correctly.
private function onComboChecked(event:ComboCheckEvent):void {
var obj:Object=event.obj;
var index:int=selectedItems.getItemIndex(obj);
[Code]....
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?
i am having problems with setting the default value of the numericstepper. what is happening is that each time i change the value of Ath in the numeric stepper then change the frame the Ath value changes to it's max value. this happens with all of the numericsteppers that i set a default value with using actionscript. all relevent code is bellow along what each frame is for/does
[CODE].....
So I have such code for my application
[code]...
I want to save Its something like "Print Screen" to users hard drive on button click.How to du such thing?
quick question:Is there a better way to do this?
public class ribbon extends Sprite {
private var fallAmount,taper;
public function ribbon(FallAmount=50,Taper=0.2){
fallAmount=FallAmount;
taper=Taper;
}
how to change the default location that comes up when saving a new flash file.
For some reason, when I go to save a .as file that i've created in flash it choose some deeply buried folder from a project I haven't worked on in ages. I have no idea how it got set up to do that, but if possible I would love to have it default to the last location I saved a file.
how to set default property values for objects that are being created in a loop.
In the example below, these propeties are the same for each object created in the loop: titleTextField.selectable, titleTextField.wordWrap, titleTextField.x
If you pull these properties out of the loop, they are null because the TextField objects have not been created, but it seems silly to have to set them each time.
var titleTextFormat:TextFormat = new TextFormat();
titleTextFormat.size = 10;
titleTextFormat.font = "Arial";
[Code]....
I have a script which dictates alpha on rollout and onroll but I want to set a default alpha setting for images which are loaded via xml. Here's a tidbit:
[Code]...
I've tried combinations of tn_group["tn"+i].tn_button.tn_pic._alpha = 85; and such but I'm still a big newbie
I've got a comboBox with defined data and label fields. On Event.CHANGE I capture the data field. I need the comboBox to default back to the user selection if they should navigate to another screen and then come back. Normally I've got an array of labels that I can use to just lookup the index: comboBox.selectedIndex = labelArray.indexOf(user selection); In this case I don't have labelArray. What I really want to do is something like this (only with real AS, not fake):
comboBox.selectedData = storedDataString or, if the data array is accessible: comboBox.selectedIndex = comboBox.data.indexOf(user selection); Is there an easy way to do this, or should I just suck it up and add yet another global label array?
Mac OSX 10.4.11 - CS4. I have a supplied video.flv that I have in Flash with a skin control and exported as video.swf and inserted into a GoLive site, all is well apart from the excessive sound. The volume controller is defaulted to max and I would like to reduce the default volume by about 50%. Is this possible to do in Flash before exporting the video.swf.
View 10 RepliesHow to insert the volume control for this player and set a default value.
//Declaracion de variablesvar duracion:Number=10000000000000;
var flv:String='../../../'+unescape(_root.flvFile);
//trace(flv);//var flv='video.flv';//aviso.text=flv;
//trace(flv);
var conexion:NetConnection = new NetConnection();
[Code].....
I have a movieclip with the instance name of "container_mc" that I am loading a external swf file into.When I trace(container_mc._width) after the preload it returns 0.Is there any way to tell the movieclip to stay at a width of 760px and a height of 460px regardless of the content that is loaded?Reason being, I then have a function that positions the container_mc movieclip in the center of the stage based on the Stage.width/height..The only way I have been able to get this to work thus far is to have a 760px by 460px square shape, position the movieclip.. then load the content to replace the square shape however I'd rather be able to default everything without having to do that.
View 3 RepliesI have a Flash Form that is fairly long (about 8 short pages), so I have set the form up so that it can be reviewed when the filler-outer is done and they are ready to submit it. I'm using a Shared Object to store the information they enter so they won't lose their information if they hit refresh or need to come back later.
If they go back to the page with comboboxes on it, the comboboxes have reset to the default. The answer and data in the SO haven't changed, but it looks like it to the consumer/viewer.
So, I'd like for the boxes to display the choice they picked when they were on that page. I need use the value from the database to show the particular value in the ComboBox whenever the user returns to that page.
i have a text input box in which i want to insert Hebrew (RTL language) text. now, the RTL support i need is basic, and thats easy enough to do. however, for entering hebrew in the box, the user has to set hebrew in his windows language bar. is there a way of making the default input language in the box hebrew, regardless of what is currently set in the language bar? note - the hebrew characters are showing just fine, its just that to enter them you have to make sure the language bar is set to hebrew as well.
View 2 Replieswould anyone be able to help explain whether it is possible to change the default save as to a CS5, rather than going to file-save as.
View 2 RepliesI got Adobe Creative Suite 5.5, and all the projects in company are made in 5.0. And i can't simply save by ctrl+s because Flash (thats concrete program i am asking about) want to save in 5.5. So every time i have to push file-> save as-> change from 5.5 to 5.0. I was trying to find somewhere, where to change it, but i didnt manage to.
View 1 RepliesI wanted to create a flash application like this [URL] but the only difference is I want to save my image into the default folder with different names. I don't need for prompting to save the image but instead it will automatically saved in the default folder when you click the save icon. Here's the link I followed for the sample link above [URL]
View 4 RepliesIs there a way to set a default extension when saving an image using FileReference save method?
Code:
var fileReference:FileReference = new FileReference();
fileReference.save( pngData, "image.png" );
If windows is set to "hide known file extensions", only image without extension will be displayed in save dialog. File type is "*.*". Some of my users hat the great idea to add .jpg extension in filename, because they couldn't see one. So file was saved broken as image.jpg.
can someone help me with the code for opening the default mail application eg: outlook express or mac mail,to go on my contact button.URL...
View 2 Replies