ActionScript 3.0 :: Loading A Password Protected XML?
Oct 13, 2008
i have the url of a password protected xml, and i need to load it in my application. but i can't figure it out how. i did find an example but it was in actionScirpt 2 and i'm having troubles coding it in 3.0.
ActionScript Code:
var _login:LoadVars = new LoadVars();
var loggedInXML = new XML();
loggedInXML.ignoreWhite = true;
[Code]....
View 8 Replies
Similar Posts:
Jul 19, 2011
without having to hardcode a username / password in my .swf file (very easy to decompile!), is it possible to send a URLRequest for some file (perhaps .php?) to a loader object which can load assets that reside in password protected directories?my PHP skills are weak at best, so if calling a .php script is the solution.
View 2 Replies
Jul 29, 2002
that is there any way to protect the Flash source (FLA) file with password. So that if any body wants to open the file in flash it should ask the password before opening.
View 2 Replies
Aug 19, 2002
and i would like to know if there's a way to protect a movie with password like those javascript ones?~
View 1 Replies
Mar 8, 2010
I have my flash setup so that it stores information in an XML file. It grabs the current XML file and then appends the new data to the end of the XML file. It does this by using the short PHP file below:
[Code]....
The problem is that I want to make it so people can't just go and grab the data.xml file. How do I protect the data.xml file so that no one can access it unless it is accessed via the Flash?
I have tried messing with some .htaccess settings but can't seem to get it to work. I was thinking I could create some kind of .htaccess setting so that the data.xml file would be password protected and only the swf and php file could have access to it.
View 3 Replies
Mar 13, 2011
I am tring to build an application that remembers my passwords. like roboform. Is it possible to load the page and then fillin fields using AS?
View 4 Replies
Apr 28, 2011
Today, we can create password protected swfs using various content generation tools. When the user opens that swf, he/she needs to enter a password, and only then the encrypted swf can be viewed.Now, I am trying to load one such encrypted swf in a flex based AIR application, and I am using the SWFLoader class for that. But instead of the user entering the password, I want the application to provide the password at the time of loading the swf. Is this even possible? I tried googling, but nothing came up.
View 1 Replies
Dec 15, 2011
How can I access a password protected webservice from AS3 (compiled using flash ide, so not flex application)I tried just calling it straight like lso tried using this
var authHeader:URLRequestHeader = new URLRequestHeader("Authorization","Basic " + credentials);
//add the header to request
[code]....
View 1 Replies
Oct 29, 2009
earlier using flash action script 2..i have created many password protected pages but how can i create a secure password protected page using Actionscript 3.
View 1 Replies
Feb 5, 2011
I use the JQuery plugin Uploadify for uploading files. It works fine in all browsers. If however I imlement a passwort protection via .htaccess like this
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /my/path/to/.htpasswd
AuthPGAuthoritative Off
Require user dev
uploadify stops working in Firefox. In Chrome it still works.
In Firefox the file select box works, but after I selected a file the progress bar does stay at 0% and the file is not uploaded to the server.
I guess the issue is somewhere with flash on password protected sites. how I can fix this, without removing the password protection?
View 2 Replies
Apr 29, 2009
I have a Flash application that displays online e-learning tests. Once a user successfully logs in(via .net webservice) the app loads in XML files, images and audio files via Loader/URLRequest objects and uses the loaded data to render the test on screen.This all works fine but recently the decision has been made to put the XML and media files used by the tests in a password protected directory for extra security.I was wondering if anyone has any experience loading files into Flash from password protected folders. From what I can see online I could specify the username and password for the folder as HTTP request headers using a URLRequestHeader object and set the requestHeaders property of the URLRequest to this URLRequestHeader obj. But this only seems a possibility with the POST method and I am using GET.Also even with the POST method there seems to be issues with sending a HTTP Authorization header in player versions before 9.0.124Is what I am trying to do possible or is it not allowed due to Flash security restrictions?
View 3 Replies
Jul 13, 2004
How its done?
on (release, keyPress "<Enter>") {
if (password eq "caleb") {
tellTarget ("_root") {
gotoAndStop("private");
}} else {
tellTarget ("_root") {
gotoAndStop("error");
}}
It contains syntax error.
View 3 Replies
Sep 21, 2009
I have planned to create an educational application / movie in Flash 8 (contains exercises and final tests etc.). I want to protect my application with username and password. The script inside movie should generate the password for given key say in my case username it will output the hex key which can be your password and no need to store it. cause you put same logic in your app which will generate the same hex key for same key i.e. is your username
View 1 Replies
Jan 2, 2006
I have a silly little question. One specific page on a site I work on needs to be protected with logins and passwords. All it is, is a list with downloads - consisting of files for students. Both the list (htmltext) and the downloads are inside a protected folder.
My question is: What's the easiest way to include this into my flash site ? (the site is completely flash).
I initially had two ideas: One was to make a popup appear that loads the protected file, and when people don't have access, I can show them a self made error page.A nicer thing would be to have the text file load dynamically into flash, but when a user doesnt have access, they get directed to the same error page again...
View 1 Replies
Sep 23, 2008
Im new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people can type in the password of something at the opening screen and jump to that page.
View 1 Replies
Oct 16, 2010
I have a protected swf file we need to open for work but the one who protected it is no longer around. What is the best program to open this protected swf?
View 3 Replies
Oct 15, 2010
Is it possible to make my CD copy protected?? So that nobody can create duplicates from it.
My CD contains the main installer that copy all my .swf and main .exe projector file to the hard disk of my client's computer. I am going to create 1000 copies of this project. But I just want to be safe that nobody can duplicate my CD. Is it possible in actionscript 2.0 or any other tool that works for me..
View 3 Replies
Mar 19, 2010
so I have a Track system with some kind of protection. So to get some data from any URL you have to pass protection like this [URL] and then (in browser) you can see some pages [URL] (if you havent passed login youll get no content)so how to login and get data from page using flash/actionscript (btw I am triing to create an rss reader)?
View 2 Replies
Apr 8, 2010
Is there any way to mimic the in operator, but testing for the existence of protected or private fields?For example, this:
<mx:Script><![CDATA[
public var pub:Boolean = true;
protected var prot:Boolean = true;
private var priv:Boolean = true;
[code]...
When I want to see:
pub: true
prot: true
priv: true
bad: false
View 2 Replies
Jul 2, 2010
as many of us is aware is possible to dowload youtube videos using AnyVideo converter or any similar software. The basic mechanism is that, when bufering a video, a set of images is sent to the client machine, that's because youtube videos are in flash format. Not sure which format, .f4v, 4fp . I assume is .f4v rather than .4fp as the video can be dowloaded.
Parts of me would argue that is impossible to make a totally protected video. Every time you see a video the stream is dowloaded in the local machine and thus with a software reading the steram and converting it to mp4 or either other format it should be possible to copy the video.
[Code]...
View 2 Replies
Mar 7, 2011
If you have a method in your base class that is protected, can you override this method in your subclasses?
View 1 Replies
Jul 15, 2009
why (in this example) the use of a protected functions is required. It is an Adobe example showing an audio mixer board.I included just the code of the main document.
ActionScript Code:
package code
{
/*****************************************[code].........
View 1 Replies
Dec 27, 2010
many times I've been looking for software that can open files that were protected, but the same result ..
[URL]
View 2 Replies
Mar 7, 2007
Say I have one of my server folders protected (requires username & password). Is it possible to read this swf file, say from another swf?Same applies to an XML file. If my XML file resides inside a protected folder, is there a way to read it from my flash movie ??
View 3 Replies
Dec 29, 2009
I'm trying to extend a class like panel so that I can fire click events only when the title area is clicked on. The title area is a protected uicomponent of Panel called titleBar. So I want to make that component public.It seems like I'm almost there but I'm getting a "TypeError: Error #1009: Cannot access a property or method of a null object reference." when it tries to add an event listener to the titlebar.
here is my extended panel
package custClass{
import mx.containers.Panel;
import mx.core.UIComponent;
public class ExtPanel extends Panel{
[code]....
And then this in the AS:
newPanel.getTitleBar().addEventListener(MouseEvent.ROLL_OVER,over);
Still getting the same error.
View 2 Replies
Apr 12, 2010
To my knowledge this doesn't break Liskov's Substitution Principle as an instance of a subclass can do all the things that an instance of a superclass can do.
View 1 Replies
May 30, 2011
I want to create a custom button in ActionScript. [code]...
View 2 Replies
Jul 5, 2011
I'm attempting to load an external SWF that's hosted on a site into a local SWF file. The external SWF is in a password-protected directory using htaccess.
Here is the code I'm currently trying to use:
var loaderUrlRequest:URLRequest = new URLRequest("http://www.my-website.com/externalFlashFile.swf");
loaderUrlRequest.requestHeaders.push(new URLRequestHeader("Authorization", "Basic
[Code]....
View 2 Replies
Sep 26, 2011
I'm overriding a protected function in a subclass.Let's say I have two classes, Apple and Fruit. I have all variables in place, this is just a simplified version.
[Code]...
Example is trivial. The problem is that the type of the getRandom function depends on its own type. One returns an apple, the other returns a fruit.Of course I get errors about override and coercion.
I've tried returning a Fruit instead of an Apple, but then the object is not an apple, therefore it has no Apple-specific properties.The problem is in ducktyping. There's a third class I cannot change, that executes the getRandom() function on each object, and I need the Apples to be something slightly different.
How can I override the getRandom function in Apple, so that it returns apples, rather than fruit?
View 1 Replies
Sep 1, 2010
Is it possible to override a protected function to a public.
View 5 Replies