Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 21st, 2013, 01:02 PM
afb afb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2013
Posts: 3 afb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 45 m 36 sec
Reputation Power: 0
Can HTML/Script read and interpret text displayed in Flash frame???

Hi guys, in advanced thanks for any and all help on this one, it's got me beating my head against the wall!

Here is what I am trying to do:
I want to embed a .swf file on a page. The .swf file is a quiz that the user will take and at the end of the quiz there is logic in the .swf file that will tell the user whether they passed or failed. I want to add a numeric code (much like a bar-code) to that pop-up that my page can read that it can then send to my database server and store whether the user passed or failed.

The need for this is for a few reasons. First, the user signs into the site with credentials so by being able to have script in the html read the .swf text code it can then assign the pass/fail to an actual user in the database. If I were to try to have the flash assign the pass/fail it has no logical way to attach that to the currently signed in user.

Second, even if I knew how to get the .swf file to talk to my servers and attach a user (possibly through cookies) to the pass/fail I make these .swf quizzes with a 3rd party software and thus have no means to actually access and change anything in the .swf because I have no means to access the source code, everything is packaged by the 3rd party program. I do however have enough latitude to have the program display whatever text I want given a pass/fail by the user. So for instance the program can say "Please wait while we submit your grade: 1110110000111101000111" where the numeral string can be read by script and converted into a pass or fail event and sent to the database.

I would be happy to give more information if needed, I really appreciate all the help guys! You're the best

Reply With Quote
  #2  
Old March 27th, 2013, 10:34 AM
ManiacDan's Avatar
ManiacDan ManiacDan is offline
Likely to be eaten by a grue.
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Oct 2006
Location: Pennsylvania, USA
Posts: 9,804 ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)ManiacDan User rank is General 77th Grade (Above 100000 Reputation Level)  Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1Folding Points: 127430 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 2 Months 3 Weeks 17 h 28 m 53 sec
Reputation Power: 6112
Why not...have the flash send that signal? Flash can communicate with your server just fine. In fact, that should be how you're populating the questions and answers.

The flash message packets would have the user's session cookie in them as well.
__________________
HEY! YOU! Read the New User Guide and Forum Rules

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Can HTML/Script read and interpret text displayed in Flash frame???

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap