codeb Posted March 3, 2012 Posted March 3, 2012 Hi! Where is my problem. I tray to make UniGUI application that read barcode using webcam like barcode reader. From that reason I use external webpage (html file) whit Flash components on it to read barcode (sample see here http://www.gurulib.com/_scripts/barcode/gurulib_barcode.html ). Result from reading I get in small input box on bottom side. All stuff except text are part of one flash file. Now, I must get content of that InputBox to use in my application for searching database or other reasons. Any ideas? Quote
zilav Posted March 3, 2012 Posted March 3, 2012 Put those Flash components inside UniHTMLFrame, what's the problem? Quote
codeb Posted March 3, 2012 Author Posted March 3, 2012 I think you dont understand me... First I have UniApplication with one UniForm. On this form I have one UniPanel with top alignment with one UniEdit on it and one UniHTMLFrame with client alignment. After load external page into UniHTMLFrame, I use that page to read barcode. Barcode was automatically readed into InputBox on same page not on part of UniApplication. Now I must pickup data from that InputBox and put it to UniEditBox. I think you understand me now. Also you can see sample of external page on link that I provide in last post. Quote
zilav Posted March 3, 2012 Posted March 3, 2012 After load external page into UniHTMLFrame What do you mean? UniHTMLFrame is local page, unless you create some <iframe> inside or call window.open() External is UniURLFrame. Could you be more specific? p.s. I can't test the page you linked since I don't have a webcam, thats why I need more information. Quote
codeb Posted March 3, 2012 Author Posted March 3, 2012 Here is some picture of external (but loaded on local server) page. Try to understand now, this page will be loaded in one HTMLFrame on one UniForm. That UniForm also have UniEdit where I try to pull out data. Quote
zilav Posted March 3, 2012 Posted March 3, 2012 Oh I see now. You use the term "external page" for embedded object, however actually it is not "external" at all. You can communicate with flash objects through javascript, quick google search found this http://www.permadi.com/tutorial/flashjscommand/ Quote
codeb Posted March 3, 2012 Author Posted March 3, 2012 Thanks on solution... I try but.... no luck... simple cant do it... any advice? Quote
Administrators Farshad Mohajeri Posted March 3, 2012 Administrators Posted March 3, 2012 All stuff except text are part of one flash file. Now, I must get content of that InputBox to use in my application for searching database or other reasons. Is that text box something you insert in HTML code? Show me the code you put in uniHTMLFrame Quote
codeb Posted March 4, 2012 Author Posted March 4, 2012 Text box is part of one Flash object in "external html page". About code: I just put URL to HTMLURLFrame, no additional code.. Quote
Administrators Farshad Mohajeri Posted March 4, 2012 Administrators Posted March 4, 2012 Apart from uniGui, how one will retrieve that info in a standard html app? Quote
codeb Posted March 4, 2012 Author Posted March 4, 2012 That is my problem.... how to get that data from InputBox???? Quote
Administrators Farshad Mohajeri Posted March 4, 2012 Administrators Posted March 4, 2012 Your flash plugin should provide a method to communicate with outside world. If such a method is not available then uniGUI components can't retrieve anything from it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.