Solved

Flash sqf only allowing certain numbers.

Posted on 2011-09-16
13
261 Views
Last Modified: 2012-05-12
Hey experts.

I have a flash file that is only allowing 1,5,8,9 permit to be displayed in an input field.

Thanks in advance !
0
Comment
Question by:Imaginx
  • 7
  • 6
13 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 36552938
Add one line

_root.phone_txt.restrict = "1589";
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552943
I need it to permit all the numbers & right now it is only permitting 1,5,8,9..

Won't _root.phone_txt.restrict="1589" do the opposite of what I need ?
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36552946
Ok, modify to

_root.phone_txt.restrict="1234567890-"
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:Imaginx
ID: 36552948
That also stops the dash, which inhibits the validator from working correctly.
The validator needs the dash, right ?
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36552951
I included dash also check my previous post
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552953
I copy & pasted that right into the actions pane, it didn't change any other numbers, but i did stop the dash from working.
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36552961
Add dash on begining

_root.phone_txt.restrict = "-1234567890";
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552967
That worked, the dash comes back, but I still am only getting 1,5,8,9  ??? This is nuts !
0
 
LVL 29

Expert Comment

by:dgofman
ID: 36552971
Check your keyboard in notepad :)

I don't know I can type all numbers
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552976
1234567890
I can type them in ... Strange ... ??

I don't know what else to check.

I make a new text field from scratch - just to double check.
0
 
LVL 29

Accepted Solution

by:
dgofman earned 500 total points
ID: 36552978
Ok try my SWF file Screenshotpremiere-2-cs4.swf
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552981
Yours works.
Must be in the publish settings somewhere or something.
0
 
LVL 1

Author Comment

by:Imaginx
ID: 36552984
Embedding the font fixes it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SCCM 2012 - Deploy Flash 16 7,033
Stock Videos 17 339
How to add jQuery and JavaScript(s) into Dreamweaver? 1 287
Web browser crash when play videos 24 350
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question