Flex :: Blank Space Should Not Be Allowed In Input Field?
Dec 22, 2009Blank space should not be allowed in Flex Input field... one is fine... but not more than one...
View 3 RepliesBlank space should not be allowed in Flex Input field... one is fine... but not more than one...
View 3 RepliesI'm trying to make an input box restricted to characters 0-9 including the space bar.
I can do;
mytext.restrict = "0-9";
but how do I account for space?
Is it possible to ignore white space between characters inside a text input field let's say a user types in "bri an" instead of "brian. Is there a way that white space is ignore and treated it as one word?
View 1 RepliesI created a demo where when you roll over parts of the product, in the white space to the left it displays the text information about that part of the product. The rollovers work great, however if you run your mouse over the blank area (where the rollovers would show up), it treats that as the rollover too. Below is the URL for the test page.
View 1 RepliesI am trying to create a menu with submenus, but I encounter some problems.
[Code]...
my goal, which eludes me at the moment, is to display some variables (using a dynamic text box) along with some static text, to output in the following manner:[code]and so on.. but i want to be able have text areas somehow link to eachother, so if theres a large amount of variable, theres no overlap, or if theres only a small variable content, theres no 'blank' area.
View 1 RepliesI am using a Text Field as an Input for password, I set the displayAsPassword to true, and it shows * instead of chars, but I still can copy the content and paste on another Text Field to see what Ive tiped! In the Adobe AS3 manuals its says that the copy and cut should be disabled automatically but its not!! I am using Flex Open Source, may it be a bug?
[Code]...
My new website is carolineofbrunswick (dot) co (dot) uk. As you can see, there's a ton of blank space off to the right of the pages, and I can't figure out how to get rid of it.
It's caused by the Flash objects in the right-hand column. Changing the width attributes on those Flash objects just causes them to not appear at all, though the blank space still exists.
What I'm trying to do is using a loader to load some videos. If the video is not found, I just want to display a white space in the loader. [code]...
View 3 RepliesI am new in Flash and Currently, I use Flash Pro CS5 to create new movies and modify old movies.
When I publish the movie I developed it comes with two white blank sides and i tried to change the Publish settings like Dimensions and Scale and publish the flash movie but the white blank sides did not disappear ?
I want that the flash movie has all the space of the dispaly window so that no white space appears when I view it in normal or maximized or full-screen view modes ?
is there any function to remove blank space in a text string?
something like have a="Hello " and can get a="Hello"
im trying to output my database information in a text input field in flex by using remoteObject(cfc). The information is being provided by a database using a query and an array collection. I'm just unsure how i go about taking the queried array collection information and display it into TextInput Fields.
[Code]...
I want to add some hidden field in Flex and send to the server
View 3 RepliesI'm trying to embed a font using css on in my flex project via CSS:
@font-face {
src: url("/slimCurves.ttf");
fontFamily: SlimCurves;
[Code]....
When I try to apply the style to a text input field the input field looses its existing style, but doesn't seem to inherit the custom one.
<s:TextInput width="100%" fontSize="33" text="test" styleName="slimCurves"/>
If I apply the same style to a label, the label shows the text in the custom font as would be expected.
I'm writing an age verification actionscript for a flash project. Right now I have it where if the user is born before a certain year it will allow them to access the swf if not it will deny them. the problem is if they leave the field blank it will allow them access (i'm assuming because a blank field qualifies it as acceptable to the parseInt) so i'm curious as to how to block it so if someone doesn't enter a year it will disallow them from access the swf. here's my code for it
agetext._visible = false;
verify_btn.onRelease = function ()
{
[code].....
Using AS3 to create a basic number guessing game but for some reason the input text field won't accept text input. I can't figure out which piece of code is causing the problem and it's driving me nuts considering it's from a tutorial.
Code:
package
{
import flash.display.MovieClip;
[code]....
I created on stage 4 text-input fields and a "next" button. I have to check that all 4 text-fields are not empty so the user wouldn't be able to click on the "next" button if one of this fields is blank. here's the code i've tried without success, the program got stacked in a loop:
[Code]....
is there a way to make it so when you are done putting something into an input field it will automaticly add/subtract from a dynamic field.Dynamic1 + Input = Dynamic2where each time you change the input text it will readd dynamic1 and input show it on dynamic2
View 5 RepliesI have made this before with one simple line of code but I just cant seem to remember...
View 2 RepliesHow can I type something in my input text field without clicking on the field first? Basically I just have one input text field on the stage and when I Test Movie I would like to just type in some text without clicking on the field...
View 1 RepliesWhy's my dynamic text field blank when I embed the font chosen? The text field loads text from an external .txt file with html codes. There's no problem when I mark "No charaters" but when "All" or "Only" is marked the text field is blank? I've tried to remove the html codes from the external file, but it makes no difference!
View 5 RepliesYou can refer to the attached excel file. my boss wanted me to make a replica of it in flash. the problem is I don't kno how to do it. In the excel file he wanted some cells - in orange - be available for user to input data at same time display the data. I find it difficult to do. I don't know if it is possible to display output in an input field.
View 1 RepliesI have the following algorithm:
if(textfield has no space left / full of characters till width) do something else keep adding characters
Now, the issue is I don't want the text field to be limited to X number of characters, but the actual width of the characters.
I'm using loadVars to import text from a text file and then put it into a dynamic text field - rendered in HTML. There is an extra space in the first line of text for some reason. I've checked the dynamic text field and theres no spaces or returns in it - its empty before putting the text into it.
View 2 RepliesI'm using loadVars to import text from a text file and then put it into a dynamic text field - rendered in HTML. There is an extra space in the first line of text for some reason. I've checked the dynamic text field and theres no spaces or returns in it - its empty before putting the text into it.How can I get rid of that extra line?
View 2 RepliesI am encountering this problem where I need a user to enter data in a text field but I can't invalidate their input if they just enter spaces. What I mean is that right now I can alert the user to enter the data in the text field (required field in form type of situation) if they don't enter any characters but the glitch of my system is that it goes through if they just enter spaces with the space bar. QUESTION: Can I find out that the characters in my text field entered by the user are not SPACES??
View 2 RepliesI am encountering this problem where I need a user to enter data in a text field but I can't invalidate their input if they just enter spaces. What I mean is that right now I can alert the user to enter the data in the text field (required field in form type of situation) if they don't enter any characters but the glitch of my system is that it goes through if they just enter spaces with the space bar.
Can I find out that the characters in my text field entered by the user are not SPACES?
I've created a product registration form for my website and the basics of it work fine, ie when I click submit the info successfully gets e-mailed to me. I'd like to expand the functionality of it, however. As is, I get an e-mail regardless if any of the fields are filled in or not. I'd like for users to be directed to an error page when the e-mail field is blank and a thank you page otherwise. How would I do this? I imagine it can either be done directly in flash or would the php instruct the browser to navigate to the error or thank you page? Key is I don't want the form to be submitted if the email is blank.
[Code]...
i made both the scrollpolicies (horizontal and vertical scrollpolicy) to "off", but if i scroll the mouse the content was scrolling. how to avoid this behaviour?
the sample code is
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark" xmlns="*" creationComplete="init()">
[code]....
if you just click the hgroup and scroll,then the contents are scrolling. now i want to aoid this behaviour.
In actionscript, is there any way to format the input text so that a dash or space is inserted after a set number of characters? So instead of xxxxxxxxxx
you get xxx-xxx-xxxx