Card Validation and Verification directly from Flex
Hi All,
Need your help. I want to Validate and Verify a card durectly
from Flex. I can do it by calling a external js file but i dont
wnat to do that all. I want to check all from Flex.
Thanks,
Amit
Do you mean validate a credit card number ?
if so, you could use the class
mx.validators.CreditCardValidator
Similar Messages
-
Is it possible to detect browser information directly from FLEX????
Hi All,
Can we detect our browser information (Browser Name, Version
etc) directly from FLEX? I don't want to use External Interface for
this purpose. Pease reply me soon.
Thanks,
AmitHi Amit,
The replies from Gnomann are correct.
Following the logic that Gnomann cited in his second post
(suggesting using ExternalInterface to execute browser JavaScript),
following are some examples.
These examples also demonstrate how JavaScript methods can be
written in-line directly in the ExternalInterface.call() execution:
var appName:String =
ExternalInterface.call( "function getAppName(){ return
navigator.appName; }"
var userAgent:String =
ExternalInterface.call( "function getUserAgent() { return
navigator.userAgent; }"
var appVersion:String =
ExternalInterface.call( "function getAppVersion(){ return
navigator.appVersion; }"
I have posted a different, runnable example here:
http://flexflashvideo.com/codesamples/flex/flex3/browserinfo/
You can right-click on the swf at the link above for "
View
Source"
btw ... an advantage of writing the JavaScript methods
in-line in the ActionScript ExternalInterface.call() executions is
that all of the code can be encapsulated in the Flex logic. That is
you do not have to write the JavaScript separately in the HTML
wrapper. You can if you want, of course. Certainly no harm in that
;-) Since your original question was how to detect the browser
information "directly from FLEX", I suspect you might like being
able to write the JavaScript methods in-line ;-)
Please post back regarding whether the above answers your
question, and if you find it helpful :-)
Best regards,
g -
Itunes is unable to locate original file when attempting to play music. Songs are in the itunes media file and playable direct from there. Preferences/Advanced file location pointer is correct. Some songs play but most don't. I did move files around a bit in an attempt to share music with another account on same computor, however this did not work so have returned file to original location. Please help, I am way outside my feild in this one. Ta.
I have solved the problem. i think when I moved the media file back out of public to my account, I put it back into the wrong place and ended up with a media file inside a media file, inside another media file!! So I moved it again and fixed!! Now I just need to work out why i can't share with another account user of same computor.
-
I am ordering a new IPad 4 and I now own an Original IPad. Can I transfer all settings and info. direct from old to new? How?
Yes, restore the iPad usind a backup file created in iTunes from the iPad 1.
-
To remove leading zeroes and take directly from IDOC(Segment field) to file
Hi SapAll.
i have got a simple requirement in a idoc to file Interface.
here in a sender Idoc there will be one segment with one field,the requirement is to remove leading zeroes and take directly the data from this field and map to one of the field in reciever file structure.
i had used the formatnumber (under arithmatic functions)in PI 3.0 but now when iam using it in PI7.1 it was raising some jave exception error.
it would be preferable if any body can give me the solution without user defined functions.
regards.
Varma.from your first post:
i had used the formatnumber (under arithmatic functions)in PI 3.0 but now when iam using it in PI7.1 it was raising some jave exception error.
use the same formatting that you used in 3.0 .... try with just a # in the FormatNum function.
Regards,
Abhishek. -
How to access Autocad2013 drawing and modify directly from c#?
I want to open autocad 2013 from C# & open drawing file & modify it. how to send autocad command to autocad2013 directly from visual studio.
Hi Kishor,
AutoCAD is out of our support range, I think what you need is AutoCAD API for .NET. Please refer to the following link to see AutoCAD .NET Developer’s Guide.
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff-e569a0121d1945c08-2024.htm,topicNumber=d0e52566.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Open PS (CS-CS4) and load image from flex/air application?
Hello,
(Not sure wether to post this in the AIR forum or the FLEX forum?)
I am at a loss on how to get my simple application to work. I have a small desktop air application that simply opens Photoshop and runs an action. I used switchboard and the application ran great on PC and MAC. However it only worked for CS3, and CS4 not CS or CS2?. Plus the size of switchboard was a bit large for my small app. I am willing to live with that though . I am using Air with Flex and wanted to know if perhaps there is a beter approach? All the application does is open photoshop, loads an image, and runs an action. Can I do this for all versions of Photoshop using switchboard? Can I do this without switchboard and just use javascript. The big issue is the Air app needs to open Photoshop, and most of the examples have me open PS first and then execute a script located in the PS directory. This needs to work outside of the PS directory. Any examples are appreciated.
I have looked at the following:
- SwitchBoard : only works for CS3-CS4 (on my tests)
- PatchPanel: same issue, plus seperate SDKs
- ExtendScript: requires script to be run from PS not AirOf course you may have some unstated reason for doing this in Air, but if not...
Google photoshop droplet....
Bob -
How do I switch from money taken from my card to taking it directly from my Checking Account.
Please...how do I switch my payment to be taken from my checking account instead of my card. My card is being replaced since it was lost and I am wanting to make an Ebay purchase. I did this long ago but can't remember how. Thank you!
iTunes Store: How to redeem an iTunes Gift Card
-
A/R Invoices entered and printed directly from FI
We enter a fair amount of our Accounts Receivable invoices directly in FI. They are not part of the SD module. Besides using transactions FB12 (Request Correspondence) and F.64 (Maintain Correspondence) is there another way to print these invoices?
Any help would be greatly appreciated.
Thanks,
SueYou could call the print program (RFKORD50) in a user-exit when the Invoice is saved after entering.
A good ABAPer should be able to put something togther in less than a day. -
HT1904 How to remove my credit card number and other information from itune account?
I have been getting hard time to remove my credit card information from iTune account.
Apparently this has changed....
http://support.apple.com/kb/HT1918
Hope this helps. -
Credit card numbers and credit cardstopped from unwanted site
how do I stop a site so they wont have permission to use my credit card
How is this a PowerShell question, and sites shouldn't use your credit card unless you give them permission?
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Validating and Extracting Data from OBSSOCookie
Hello, I am looking for references on how to validate an OBSSO Cookie that is presented by a user (through their browser) and how to extract values from the cookie (using JAVA API calls in the Access Manager SDK).
I am not able to locate any references in the developers guide - can someone please assist or point me to some documentation to start?
Thanks in Advance.Here's a snippet from when I did this to get the username from the cookie:
public String getUser(HttpServletRequest request, HttpServletResponse response) {
try {
String sdkLocation = System.getProperty("oam.sdk.location");
ObConfig.initialize(sdkLocation);
catch (ObAccessException ie) {
System.out.println("Initialize failed");
ie.printStackTrace();
Cookie cookie = getCookie(request, "ObSSOCookie");
ObUserSession userSession = null;
try {
userSession = new ObUserSession(cookie.getValue());
catch (Throwable t) {
t.printStackTrace();
System.out.println("Failed to create new user session");
try {
String DNarray[];
if (userSession.getStatus() == ObUserSession.LOGGEDIN) {
String userDN = userSession.getUserIdentity();
StringTokenizer userST = new StringTokenizer(userDN,",=");
DNarray = new String[userST.countTokens()];
for(int i=0;userST.hasMoreTokens();i++){
DNarray[i] = userST.nextToken();
userID = DNarray[1];
System.out.println("user ID is " + userID);
else {
System.out.println("Login failed. Return status = " + userSession.getStatus());
catch (com.oblix.access.ObAccessException obae) {
obae.printStackTrace();
obae.getMessage();
return userID;
} -
Tried reesetting Airport extreme and Apple TV--no luck?
OK, no answers!
I've played music via the ATV3 for several hours without dropping the signal, so obviously the 5.2 update cannot handle the bandwidth to play movies.
I see other people here and elsewhere in the forums have the same problem. Bad Apple for not thoroughly testing.
Next question is, can I revert back to 5.1?
Regards
Santa -
Downloading tv progs and films direct from itunes onto ipad
I recently downloaded a number of programmes using the itunes on my ipad. the programms fully downloaded and then when i clicked downloaded items it took me to itunes 'recently downloaded' but they werent there.
I checked videos and they werent there either. I have checked my account details and I have been charged for them but I cant find them anywhere .... can any one help me please?Hi,
Tap the iPod icon in the iPad Dock. Tap Videos in the menu at the bottom of the screen.
See if they are there.
Carolyn -
Trying to download music on iTunes putting in card number and it directing me to you
Trying to download music for iTunes and can't telling me to communicate with you
These are user-to-user forums, if you are getting a message to contact iTunes Support then you can do so via this link and ask them why the message is appearing : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
Maybe you are looking for
-
How do I import music from my iPod to iTunes
Hi, I have just bought a new computer because i had to throw my old one out and it was not possible to back up my music from the hard drive. However, i have my entire music collection on my iPod clssic. I have downloaded and installed iTunes on to my
-
Need to use DocNum as parameter in Crystal report
Dear All, I am developing a report for our customer now. It is a invoice report. We need 2 parameters 1) Customer code (drop-down list. can only choose one each time) Here is my token Customer@ SELECT CardCode, CardName FROM OCRD WHERE CardType = 'C'
-
Say i wanna navigate to hotmail.com using inline autocomplete in the urlbar [assuming it is not the first time i am visiting the website] '''Google Chrome''': I type 'h' in the urlbar and the rest is filled up by the browser and i simply have to pres
-
LiveCycle Workbench ES2 crashing on Win 7
I have installed LiveCycle workbench on my Win 7 PC. Every time I try to open a process in process designer, it crashes with messae 'Java(TM) Platform SE binary has stopped working'
-
Stored outline creation error: ORA-00604: error occurred at recursive SQL
Hi All, when i try to create outline , i am getting this error ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-00904: "NODE_NAME": invalid identifier Kindly let me know workarounds. Thanks, Shiva. Message was edited by: Shiva