Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: HTTP Basic Authentication from flash projector

Started 2 months, 1 week ago by zipkundan
Dear Friends, I am creating a interactive tutorial about some application for non-technical users. It will be a desktop based flash projector. All my resources (like swf, images, videos, xml files etc.) will reside on a remote server (e.g. www.somedomain.com ) and projector will call them as required. No problem with in this scenario. Now, the remote server where all the resources are,...
Site: ActionScript.org Forums  ActionScript.org Forums - site profile
Forum: Projectors and CDs  Projectors and CDs - forum profile
Total authors: 2 authors
Total thread posts: 6 posts
Thread activity: no new posts during last week
Domain info for: actionscript.org

Other posts in this thread:

northcode replied 2 months, 1 week ago
Are you using AS2 or AS3? You NEED to add a header to the HTTP request to supply the username and password. It must be base64 encoded (for Basic Authentication). Check out http://code.google.com/p/as3corelib/ , I think it has some HTTP stuff in there that will do the heavy lifting for you if you're using AS3.

zipkundan replied 1 month, 4 weeks ago
Thanks for help and sorry for the late reply. i am using AS2. I am not very expert with actionscript, so trying the AS2 only for now. (AS3 may later). I tried the base64 encoding but am not sure how it works. When i tried it got an error sort of "Class used outside". I tried to find help for base64 encoding, but not lucky enough to get going. I am really stuck over this problem. If ...

northcode replied 1 month, 4 weeks ago
You can find an ActionScript 2.0 base 64 encoder/decoder class here I did a couple of quick tests with LoadVars and it looks like the Authorization header gets stripped out (other headers seem to go through okay). So you might not be able to do this with Flash if your plan is to stick with AS2. You can do this with the HTTP plugin in SWF Studio (my product) but that would mean ...

zipkundan replied 1 month, 3 weeks ago
Thanks a lot. I will try it out. Though not yet sure how much I might succeed with it.

northcode replied 1 month, 3 weeks ago
If you have any questions about SWF Studio you can ask me here or at www.northcode.com/forums and I'll be happy to help you.

 

Top contributing authors

Name
Posts
northcode
3
user's latest post:
[AS2] HTTP Basic Authentication...
Published (2009-10-22 16:08:00)
If you have any questions about SWF Studio you can ask me here or at www.northcode.com/forums and I'll be happy to help you.
zipkundan
3
user's latest post:
[AS2] HTTP Basic Authentication...
Published (2009-10-22 07:48:00)
Thanks a lot. I will try it out. Though not yet sure how much I might succeed with it.

Related threads on "ActionScript.org Forums":

Related threads on other sites:

Thread profile page for "HTTP Basic Authentication from flash projector" on http://www.actionscript.org. This report page is a snippet summary view from a single thread "HTTP Basic Authentication from flash projector", located on the Message Board at http://www.actionscript.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity