ActionScript 2.0 :: Loading Text File From Protected Page?

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


Similar Posts:


ActionScript 3.0 :: Accessing Login Protected Page With URLLoader?

Sep 17, 2009

I want to pull some HTML off of a page that I can only get to through typing in my username and password? Is there anyway to enable flash to get to that page? Instead it just loads the same page that would load if you WEREN'T logged in.

View 5 Replies

ActionScript 3.0 :: Create A Secure Password Protected Page

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

ActionScript 2.0 :: Goto Password Protected Page (Label)

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

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

ActionScript :: Loading Assets From Password Protected Directory Using PHP?

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

Password Protected FLA File?

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

Opening Protected Swf File?

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

ActionScript 2.0 :: Loading A External Text File To Flash And According To The Number Present In The Text File

Apr 25, 2009

I'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.

View 2 Replies

ActionScript 3.0 :: Cannot Edit A Swf File That Was Protected

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

ActionScript 3.0 :: Write Password Protected XML File?

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

AS3 :: Using A Loader To Load A File Protected By Htaccess?

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

ActionScript 2.0 :: Create A Dynamic News Page By Loading From A XML File?

Sep 9, 2010

I'm working on a project and attempting to create a dynamic news page by loading from an XML file. Everything seems to display fine for some people, for others it loads every dynamic text field with an instance path such as "_level0.instance1.instance30.instance45.conte ntMa in.Body1".

Here's the code I'm using:

Code:
function loadXML(loaded) {
if (loaded) {
_global.atitle1 =

[Code].....

View 1 Replies

ActionScript 2.0 :: Xml File Loading Text Into A Dynamic Text Field?

Mar 28, 2004

I have an xml file loading text into a dynamic text field. What would the AS be to fade it in?

View 3 Replies

SendAndLoad (Text File) To Call PHP Page With Flash?

Apr 13, 2009

How can I use sendAndLoad to call a php page with flash, and have that page create a user download box, to save a txt file? I have the php code that outputs a text file:

Code:
Header('Content-Type: application/octet-stream');
Header('Content-Disposition: attachment; filename=test.txt');
// Print the text to be sent
echo "hi";

That would force a download box if you ran the php page but the send and load will not get it to work.

View 3 Replies

ActionScript 2.0 :: Print Entire Page But When Text File Is Scrollable It Doesn't Print Whole Text?

Jul 14, 2005

how do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.

View 8 Replies

ActionScript 2.0 :: Loading Text To A Text Field From A Xml File?

Sep 17, 2007

i am loading text to an text field from an xml file in which i am having superscript and subscript text. i enabled the html property for my Textfield. but still the text is displaying the in the textfield is normal like i am giving u example .its an mathematical expression;

if i write like this my_txt.htmlText = "x<sup>2</sup>";

it showing like x2 where as it has to show like x to the power of 2.so what should i do to display the text like this ...

View 1 Replies

ActionScript 2.0 :: Dynamic Text Box That Is Loading In A Text File?

Sep 7, 2004

I have a dynamic text box that is loading in a text file. It seems to be doing this perfectly well. However, some HTML tags seem to break it. <b> makes the text dissapear. I tried doing a <span> on it, and changing the font-family with CSS, but I dont think its reading the CSS at all.

[Code]...

View 1 Replies

ActionScript 3.0 :: Loading Text From Text File?

Oct 12, 2010

Code:
var myTextLoader:URLLoader = new URLLoader();
myTextLoader.dataFormat=URLLoaderDataFormat.TEXT;

[code]......

View 1 Replies

ActionScript 3.0 :: A Page Loading In Other .swfs (need To Unload Entire Page)

Nov 3, 2011

I have an invisible movie clip I want to go to the NEXT page, as it goes to that page, I want it to essentially remove itself (page1.swf). e.g. page1.swf (contains fancy.swf - [AS2], 4 images, several invisible MCs with code) has an invisible MC + on click = remove page1.swf.

To be clear, this does work. It goes to page2.swf and page2.swf goes to page1.swf as it should. The issue is that if the user repeatedly does this (just 2 or 3 times) the fancy.swf becomes impossible to control and Flash (CS5) crashes. I think this is due to the fact it's not unloading the entire thing, it's only unloading fancy.swf on click (I hope). So underneath page2.swf is page1.swf, and when the user clicks back to page1.swf, page2.swf AND page1.swf are underneath that, and so on and so forth.

[Code]...

View 9 Replies

ActionScript 3.0 :: Removing The Previous Page Before Loading New Page?

Jan 20, 2010

how to activate the animation that removes the previous page items before loading new page when you click on a menu button. like this website [URL] When you click on a menu button, current items are removed with nice animation before new items appears.

View 3 Replies

Flash :: Add A "loading Page" To File?

Oct 28, 2010

Is there a way to add a "loading page" to my flash file? the application i created takes 15 seconds to load as an .html (.swf) file in the browser, and it might take longer for users with a slower connection.

View 2 Replies

ActionScript 2.0 :: Loading Text From .txt File

Sep 11, 2007

When using the "Display data from an external file" tutorial from this site, I ran into a problem. It loads the text, but it only loads a certain number of characters... I am trying to load a few paragraphs of text but it stops loading halfway through the text file.Can someone please tell me how to get it to read the whole text file?I need it to read from a text file, so xml is out of the question. it must be editable by someone with no computer knowledge so I'm trying to make it as easy for them to change as possible.I am in a rush to fix this problem i'm having. I am searching, but hopefully someone will be able to give me a fix that will make it quicker.

View 1 Replies

ActionScript 3.0 :: Loading Text From An External File?

Apr 28, 2009

what ultimately I want is to click a button and text will be displayed in the text field loaded from an external .txt fileI've adapted some code i found online:

var myTextLoader:URLLoader = new URLLoader();
var myTextField_txt:TextField= new TextField();
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);

[code].....

View 7 Replies

ActionScript 3.0 :: Loading External Text File

May 17, 2009

I've got a problem loading an external text file into a text field.The text field is named: myTextField_txt.It's Dynamic and multiline. I want it to load a text file called: myText. txt. It's in the same folder as the flash file.This is the code I currently have on my text fields key frame:[code]After moving some code around I managed to stop any error messages. But the text will not show up in the text field.

View 4 Replies

ActionScript 2.0 :: [CS3] Loading Text File Content?

Apr 3, 2010

Does anyone know if there is a way to load content from a .txt file to flash (NOT VARIABLES BUT THE WHOLE CONTENT AS TEXT).

View 3 Replies

ActionScript 2.0 :: Loading Txt File And Scrolling Text

Nov 19, 2010

Not sure what am doing wrong here: though i get compiling error's

[Code]....

View 0 Replies

ActionScript 3.0 :: Loading Variable From Text File

Feb 1, 2011

figuring out my problem other than my lack of knowledge in action scripting? My issue is I am trying to load a variable from a text file, I am able to load the variable with in the function but I cannot for the life of me figure out how to get it out of the function.

[Code]....

View 9 Replies

Actionscript 3.0 :: Loading A Text File In Flash?

Feb 20, 2009

how can I load a text file in flash and at the same time load a css file

View 2 Replies

Actionscript 3.0 :: Loading Variables From Text File?

Apr 20, 2009

the variables from the text file are loaded in swf and in dreamweaver the swf throws an error

Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables()
at flash.net::URLLoader/onComplete()

I understands this is because of flash player security and need to place crossdomain.xml file. but the my doubt is where to post my crossdomain.xml file in the local machine(to check the swf) and also in my website for the rest.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved