Flex :: Form Inside Pop Up Window - Tab (order) Between Forms Not Working?
Aug 25, 2011
when user clicks on Add button, then a pop up button will be opened with certain form elements (like textinput, date field, text area).. When i used 'TAB' inside this form,it is not working.I found in couple of Questions / forums that we need to create an instance of FocusManager and then bring/activate focus for the pop up.But still i didn't see the tab working inside the form.In order to tab order working inside a pop up, what steps we need to follow.
I tried using focusmanager and property like tabfocusenabled, tabenabled and also added taborder inside each form element.Iam using Flash Builder 4.5 and using spark components for development.Is there any workaround for this problem?
View 1 Replies
Similar Posts:
Nov 24, 2009
I've designed a site with 2 forms that use PHP. One has 3 form fields (name, email, message) which I've called 'samples'. The other has one field where an email address is submitted called 'email' for a newsletter sign up, and the pages jump to frames once the data is sent. Admittedly I've used a tutorial for this, but haven't changed anything other than the PHP file names and everything associated with these files in flash in the actions panel.I've assigned this code to the send buttons
on (release) { form.loadVariables("/samples.php", "POST");}
AND have added this to the MovieClip containing the Form fields
onClipEvent(data){ _root.nextFrame();}
The problems i'm having are that all the data isn't being received correctly. So the message form isn't working, it's only sending the first field. The newsletter form is using the samples.php file not the email.php. And secondly, where Flash should jump to the next frame once the form has been submitted, it's actually jumping to the end frame (stop actions on all frames).
View 37 Replies
Mar 15, 2003
How components can be used to create an order form in Flash MX. I have looked for multiple scripts etc an have found a few, but:
i) What AS must I use to target the PHP/ASP (which is the better to use) file?
ii)What must I use in the serverside script to tell it that the variables are being sent from Flash?
View 6 Replies
Aug 17, 2004
I am creating an order form for my flash site. I have never done this before in flash but I have in visual basic. I have a few questions:
1. Is assigning variable names to checkboxes and radio buttons the same as in visual basic? I mean i know that you probably assign them in the properties. ex..say i name a radio button 'radio1', to run a check in my actionscript whether radio1 was checked or not would it be something like if(radio1){}
2. After the person fills out the form I would like to have the results of the order sent to a pre-specified email adress in a certain format. What would be a good way to do this?
View 3 Replies
Jul 14, 2004
i created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:
[Code]...
View 4 Replies
Jul 14, 2004
I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:
onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}
[Code].....
View 4 Replies
Jul 17, 2010
I have only two fields Name and Email in a Order form and a PayPal button for payment at PayPal ( into my account).I can do the mail portion but have no idea about PayPal code, however on search here I found one code and after pasting this one to the PayPal button it redirects to my PayPal account.But the question is anybody can post a message and leave the site without paying me. How can I do this thing so that the user will forced to pay before posting the mail form.
View 1 Replies
Jan 24, 2007
I have a working contact form (.swf) that doesnt work inside another movie. Alone it works, but when I call it in main movie with loadMovie it doesn't.
[URL]
I used files from Kirupa's tutorials, made by claudio and senocular.
View 3 Replies
Sep 20, 2011
I have a transparent windows (skinnable). Inside, I'd like to preview some pdf file. BUT, in the only a black screen appear
View 3 Replies
Oct 28, 2011
I have a Form with several FormItems and one of those include an mx:DateField. I am not sure how I should bind the DateField values. I have tried the following which none work:
<mx:DateField yearNavigationEnabled="true" text="@{dateValue}"/>
<mx:DateField yearNavigationEnabled="true" selectedDate="{dateValue}"/>
Now eventually I am trying to store/retrieve the date as a string in the db.
View 2 Replies
Jul 11, 2003
This is a question for using Flash MX. I'm supposed to design an order form for a website, but not sure how to do it. I'll describe what it needs to do. It's for a band's website where they are selling CDs directly from them. They are using PayPal for people with credit cards, but if someone wants to send check or money orders I need to create a form that calculates totals, tax, whatnot and makes a receipt to print out. They are to physically send the check to the band. If the customer is buying less than 5 CDs then the price is 14.00 ea. If it's 5 or more, then the price is 11.00 ea. And there is sales tax in CA. So, scripting to create this. I'm really a novice at scripting and have created music players and that's about it.
View 6 Replies
Jun 30, 2011
I've been searching around web and so far found many tutorials/docs on how to install or open air application from a web page. This just opens a new AIR-browser window and that's not what I'm looking for. I'd like it be opened inside a browser frame (even if downloaded first) much like a plain swf file.
I know air file is more or less plain zip, so maybe I could unpack it? What AIR features shouldn't I use for this to work?
View 1 Replies
Jun 15, 2010
I have a component in AIR like so:[code]The 2 alerts both work. however nothing happens when you click the new window link.all 3 links works when in a real browser so I know its ok.Is there just no support for window.open in the AIR HTML component? or is this a bug?Is there a work around?
View 2 Replies
Jan 16, 2004
I am building an order form and here's the basic design:
Layout:
Item - Description - Price - Quantity - Total
Functions:
Print - Send by email
The user types the quantity of items desired and the total is calculated.
My challenge is to build it without dynamic functions.
What I'm missing is the code for typing the desired quantity of items, adding total, printing and emailing the completed form. (Not sure it can be done without php or cfm)
View 7 Replies
Jan 16, 2004
I am building an order form and here's the basic design:
Layout: Item - Description - Price - Quantity - Total
Functions: Print - Send by email
The user types the quantity of items desired and the total is calculated.
My challenge is to build it without dynamic functions.
What I'm missing is the code for typing the desired quantity of items, adding total, printing and emailing the completed form. (Not sure it can be done without php or cfm)
View 7 Replies
Feb 10, 2012
I have created a popup window in a flex website and I wanted to load a HTML page inside that popup. I tried many ways to do it but that way unsuccessful. Can someone recommend me a approach to get this done?
View 2 Replies
Aug 7, 2011
I'm trying to create a custom order form(for a printing company) where the user can select their product, enter their credit card details and then upload the file. I've created the combo box & user input text fields. Now what I want is that when user clicks the submit button:
1. A mail is sent to the admin which contain all the details about the form that was filled by the user.
2. The file that is uploaded by the user should also be sent as attachment in the same mail. I'm not able to figure out how to add the feature of file upload in ActionScript.
3. This one is optional, but will add value to me if possible. The website is developed in Wordpress. Can we have a feature where a logged in user can save his order and come again later and retrieve his order form.
View 6 Replies
Sep 13, 2009
I'm trying to finish off a Flash menu that was done for my website & I'm a bit stuck - New to this game. Basically I have a menu made up of 5 items, each item leads to another list which has a "datefield", "nemericstepper" & "order" button. what I am trying to achieve is when the "order" button is pressed the "date" & "number" information is sent to my existing order page, customers details are then entered in the required fields & this is sent including the "date" & "number" via my existing PHP script to my email.
View 0 Replies
Aug 25, 2011
I have an Flex 4 application (not AIR) which has some floating windows that act essentially as modeless dialogs.Right now, if two of these are open at once they function as siblings which are both active and whose controls are enabled for user interaction.I now need to maintain some notion of which one is "active" in the application. I don't want to /disable/ the non-active ones so as to blur them or prevent input on their controls.
I basically want to replicate basic OS window management: when you click or type into a control in one window it comes to the front and its title bar looks "active" and the others then look "inactive". Just like with a bunch of explorers in Windows.
View 2 Replies
Jan 16, 2010
I wanna secured some menu's items on my website,
I would like to open a password form in order to filter users that have access to my data.
View 9 Replies
Aug 17, 2010
I have a DropDownList inside the itemEditor of my DataGrid. There are enough items in the DropDownList to justify scrollbars. You can see the scrollbars, and the mousewheel works fine. If you move the mouse over the scrollbars, they'll change appearance fine (mouseover is working). If you click on them, the DropDownList closes as if you'd clicked elsewhere in the data grid.
I've been experimenting with custom skins hoping to find a way to trap the mouse event, but have been unsuccessful.
FWIW, this is Flex4, as an AIR app.
Scratch.mxml (main code)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[Code].....
View 2 Replies
Oct 5, 2011
I have noticed two differences between spark and mx forms which are causing me some problems. It seems by default the mx forms are arranged to the label is above the form input item. In Spark they are arranged next to each other. Also the label in spark forms are bold by default.For example MX code could be
<mx:Form width="100%">
<mx:FormItem indicatorGap="0">
<s:Label text="label1"/>
[code].....
View 1 Replies
Jan 3, 2012
I have layout with two forms. I'm using scroller but scrollbars don't align to window but appear somewhere in the middle of the application screen.
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">[code]..........
Below You can see screen-shot of my app. There is no scrollbars at the borders.Here is the screen-shot with scroller set to width and height to 300 pixels.As You can see the scrollbar is not attached to window.
View 2 Replies
Dec 20, 2009
I've noticed that the Tab Order function doesn't work anymore since CS4? Is this a know bug or is something changed in how to use this function?
View 8 Replies
Mar 12, 2011
I've got FormItems with labels, and I'd like for the label to appear on top of the textinput within it rather than to its left, but I don't know where I need to go or what CSS I need to set this.
<mx:Form id="myform" defaultButton="{BtnSave}">
<mx:FormItem label="MyData" required="true">
<s:TextInput id="dataTextInput" text="{data}"/>
</mx:FormItem>
</mx:Form>
View 1 Replies
Apr 4, 2012
What is the best way to make a multi column form in Flex?My current solution if more than one column is required is to put the form items inside an <s:HGroup> but the alignment isn't the best.
View 2 Replies
Apr 13, 2010
You define a few states for your control, and then can set child controls to only appear in certain states. Check out this code:
<s:states>
<s:State name="signin"/>
<s:State name="register"/>
</s:states>
[code]...
Now the last name form will only appear in the register screen. This would be really useful I think in .NET where you use the page for views like update / insert. I was considering extending the Page element to have a states property using extension methods, and adding the include in to controls. This way I could auto-hide controls based on the current view at render time.
What is even cooler in Flex, is that you can use different handlers / properties based on the current state.
<s:Button label="Sign in" label.register="Register" id="loginButton"
enabled="true" click.signin="signin()" click.register="register()"/>
View 1 Replies
Apr 12, 2011
How do you two-way bind an integer to an input field in Flex/FB4? is_admin is an integer : <s:TextInput id="textUserIsAdmin" text="@{user.is_admin}" width="5"/> I receive: 1067: Implicit coercion of a value of type String to an unrelated type int. Is there a different input type, or do I have to bind a different way?
View 2 Replies
Jun 10, 2011
I have a movie with a scrollpane component that loads an external swf. The loaded swf has input text fields with tabIndex defined. When testing the external swf alone, the tab order works fine. When testing it within the main movie, it doesn't, probably because hitting tab focusses on the elements on the main timeline.
I have tried various things with tabChildren, stage.focus, tabEnabled to no avail - probably because I am not doing it right.
View 0 Replies
Sep 2, 2009
I have a an image, lets call it "StageSkin.png".This is an image which is really just a border, and the middle of the image is "windowed", meaning that it is meant to show other information inside of it.The information inside of it is in the form of a component (based on a canvas component, lets call it 'Gauge').I want to create a component out of the 'StageSkin' image and the 'Gauge' component inside of it that would allow me to resize the component with the 'Gauge' component staying inside of StageSkin's window.I searched on this, and got the code below, but the embedded component just overlaps the entire image. What do I need to do?
<mx:Style>
.nineSliceScalingBackground
{
background-image: Embed("assets/StageSkin.png",[code]..........
View 2 Replies