Can you use Html DOM in adobe flex to…
1) write/Auto fill in a form?
2) Read values in label? Textboxes? And use them in your program?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m unsure if you want to access an HTML Page from inside a Flex app or if you want to access the interiors of a Flex app from inside an HTML Page. Either way, ExternalInterface is your answer.
ExternalInterface allows Flex to call JavaScript in the enclosing page. You can then use JavaScript to drill down into the HTML DOM and access the data you need.
ExternalInterface also allows a mechanism for the enclosing page to call functions in the Flex App.
More docs
If you want to use JavaScript specific DOM Accessing syntax inside of a Flex App to access parts of that Flex app, I would assume that wouldn’t work.