ActionScript 3.0 :: Protect Preloader.swf From Direct Access

May 1, 2011

I uses AS3 preloader embedded within HTML (standard Dreamweaver embedding). The preloader loads index.swf. I've noticed that site visitor can write down URL: [URL] and get direct access to the swf file of preloader. Hotlinking protection for swf extension (defined on server via cPanel) would resolve the problem but unfortunately [URL] must have access to swf files (otherwise flash site wonâ't start).

View 3 Replies


Similar Posts:


Professional :: Preloader To Protect Swf?

Mar 1, 2011

I have found heaps of preloaders that work on the time line of game but offer no protection.Does anyone know where I can get a sample code for this or where I can buy a preloader from so that it loads before the game and if someone tries to save the page they get the preloader instead of the SWF? flash designer I know said its possible but hasn't got time to create one. He gave me this code in a FLA but when I embedd the swf in to the site it doesn't load anything just displays the preloader

function setProgress(num)
{
_root.percentDone = int(num);

[code]....

View 10 Replies

ActionScript 3 :: Direct Access To Sprite Graphics

Jul 27, 2010

I"m new to AS3 and I would like to know how can I get to graphics of a Sprite so I could draw it directly from it. I mean I don"t want to use Sprite class as my concrete objects I just want Sprite to hold graphics so if my own object needs to be drawn it asks for graphics to SpriteManager which returns Sprite with required graphics and draws it exactly where I want to not where Sprite's coordinates points to.

View 1 Replies

ActionScript 2.0 :: Looping - Make The Movie Loop Direct To Frame Two And Miss The Preloader?

Apr 17, 2006

Have used the preloader at [URL] and it seems to work fine however after the last frame of the movie it appears to flick (quickly) back to the preloader info, note I want the movie to loop continually. Is there a way I can add something that will make the movie loop direct to frame two and miss the preloader?

View 1 Replies

ActionScript 3.0 :: Direct Access Of Document Class Static Var?

Sep 19, 2009

I often write apps in flash where I wrap all the display elements into one parent display object container (not the stage). Let this parent container be mc_world for example. I declare this in my Document class (Main) as:

ActionScript Code:
public static var mc_world:MovieClip;

Since this container is unique and often times needs to be referenced from various classes in the project (that are not its children) I find myself often doing Main.mc_world across my project to access this container.

Is it bad practice to directly access static members of the Document class throughout my project? Are there any simple alternatives? I don't want to dispatch events every time I need to access mc_world. And using a singleton class doesn't seem all that different from the Document Class (which only has one instance right?).

View 0 Replies

ActionScript 3.0 :: Direct Methods Access Of Interfaced Object?

Jun 18, 2009

My situation like this:IHost.as:

Code:
public interface IHost {
function doSomething() : void;

[code]....

View 2 Replies

Actionscript :: Block Any Decompilers,protect Also Protect Graphics?

Aug 18, 2010

I would like to protect my flash files. I would like to block any decompilers,protect actionscript and also protect graphics. Some time ago,I tried to decompile a swf and when I placed it inside a decompiler , it showed me a login form and no graphics.I believe that is the ultimate protection method.Do you have any idea what software can do that ?

View 2 Replies

Flex :: Protect Access="remote" Functions In CFCs From Snoopers?

May 22, 2009

One of the great features of CFCs is the ability to reuse the code for both a straight .cfm page and for Flex apps.

One such app that I devleoped uses Flex for its charting capabilities and needs access to a 'getResults()' function in the cfc.

All of this content is behind an authentication mechanism, but since the cfc will open itself up to a wsdl request:

[URL]

and will actually return the results to the browser if the URL query is crafted properly:

[URL]

What techniques have people used to protect the cfc from direct access UNLESS the request is coming directly from the CFML processor OR from Flex Remoting?

View 5 Replies

ActionScript 3.0 :: Preloader - Cannot Access Property Or Method

Jun 1, 2010

Created preloader, and after flash loaded want stop on label 'welcomeSite'. And on that label will have button, after click this button what play code from function 'irisDescription'.

But see error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at FlashSite/flashSiteLoading()[FlashSite.as:28]

code:
package {
import flash.display.MovieClip;
import flash.events.*;
import flash.text.*;
public class FlashSite extends MovieClip
[Code] .....
27 line is: irisBtn.addEventListener(MouseEvent.CLICK, irisDescription);

View 3 Replies

ActionScript 3.0 :: Preloader - Stage - #1009 Error: Cannot Access

May 5, 2010

I've been trying to load external swf ("index.swf") with the following code in AS3:

[Code]...

Of course I receive the #1009 error : Cannot access a property or method of a null object reference. I guess it is some "stage issue" but I'm not familiar enought with AS3 to avoid the problem by my own.

View 5 Replies

ActionScript 3.0 :: Access Function In External Swf Now Being Loaded By Preloader Swf?

Jul 1, 2010

I have followed the tutorial on gotoandlearn that builds a preloader swf to load an external swf. The problem I am having on the main timeline is that I now cannot access a function in the final external loaded swf. This worked fine when I just loaded the external swf into the main timeline but with the preloader I think I have my loader instances confused and I don't know how to fix it.

[Code]...

Like I said this worked perfectly before I tried cleaning things up with intermediate preloader swf and now its all gone pete tong (again!!) When testing this by reviewing the main timeline it cannot recognise the function killStream

View 0 Replies

ActionScript 3.0 :: 1119 Error: Access Of A Possibly Undefined Parameter After Preloader [renamed]?

Sep 25, 2010

after my preloader i instantiate a screenHandler class which in turn instantiates a transitions class that has a public static property "exitFrames".When i try to check exitFrames from within the screenHandler class i get a 1119 error (access of a possibly undefined parameter ......) below please find the code for the screenHandler AND the code for the transitions class.the error occurs in here:

Code:
if(transTimer == transition.exitFrames){
removeOldScreen();

[code]....

View 9 Replies

Actionscript 3.0 :: Preloader (Error #1009: Cannot Access A Property Or Method Of A Null Object Reference)

Jan 21, 2010

I am having really annoying problems with Flash. I am using CS4 and the file uses AS 3.0. Anyway, on to the problem. Basically I am creating a flash-only website. Source code for main site:

[Code]....

After I have done this, the whole thing is not working anymore, and I get the following errors: TypeError: Error #1009: Cannot access a property or method of a null object reference. at website_fla::MainTimeline/frame2()[website_fla.MainTimeline::frame2:3] at flash.display::MovieClip/nextFrame()

View 8 Replies

ActionScript 3.0 :: Preloader Keeps Displaying An Error #1009: Cannot Access A Property Or Method Of A Null Object Reference?

Nov 23, 2010

My preloader keeps displaying an error when I try and load my SWF in it.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main()

The swf works fine but the loader doesn't work with it. I worked out that it was because I used "stage" in the eventlisteners of the SWF file but if I remove these the game keys don't work, but the loader does.

View 3 Replies

Actionscript 3.0 :: Get Preloader Working - Error #1009: Cannot Access A Property Or Method Of A Null Object Reference

Jun 20, 2009

I have a preloader which has this code (simplified):

Code: Select allvar loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
loader.load(new URLRequest("x.swf"))
function loaded(e:Event):void
{}

And x.swf has this code (very simplified): Code: Select alltrace(stage.stageWidth); When I run preloader, I get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at x_fla::MainTimeline/frame1()

View 2 Replies

Actionscript 3.0 :: Preloader - TypeError: Error #1009: Cannot Access A Property Or Method Of A Null Object Reference?

Jul 19, 2009

how to change different section with as3 and custom document class, everything run fine , but when i try to use the preloader tutorial that load the swf file , i run to some error it said " TypeError: Error #1009: Cannot access a property or method of a null object reference.

at Main/init()
at Main()"

Main is the name of my custom document class, and here is my document class code

Code: Select allpackage
{
import flash.display.MovieClip;[code]....

View 3 Replies

Actionscript 3.0 :: External Preloader - Error #1009: Cannot Access A Property Or Method Of A Null Object Reference

Apr 23, 2010

I just found the external preloader tutorial and it's Perfect, exactly what I needed! I just have one issue which I can't figure out.. It all works fine with other swf files such as the content.swf example it comes with, however when I try link it to a site I'm making (a fluid as3 layout) it states: "TypeError: Error #1009: Cannot access a property or method of a null object reference. at Website()" Here is the syntax - it's just the same as on the tut but trying to load 'website.swf'..

[Code]...

View 4 Replies

ActionScript 3.0 :: Preloader.swf Is Loading A Home.swf Error #1009: Cannot Access A Property Or Method Of A Null Object Reference

Jul 26, 2011

I am quite confident i am having no issue with my preloader codes and have managed to identify why i keep getting the Error #1009: Cannot access a property or method of a null object reference. My preloader.swf is loading a home.swf. Within this home.swf i have some codes that makes reference to the stage. EG stage.stageWidth/2 Once i deleted away this line of code there is no error. Is there anyway that i can still reference my stage in home.swf without getting Error #1009?

View 2 Replies

IDE :: Protect AS Classes Going Out On Cd?

Mar 17, 2011

i've got an AS3 project going out on cd. The project will consist of the SWF, several folder directories containing flvs, and folders containing ActionScript Classes used by the SWF. I'm not so much worried about protecting the FLV's or the Swf, but the cd could eventually be snagged by a rival company. is there a way to somewhat protect or encript external actionscript classes?

View 3 Replies

ActionScript 2.0 :: Direct Reach With The URL?

Jan 17, 2006

some time when i visit some site i find the Url changing when press any button and the page never change also the main flash movie is still in the page . in the same time you can reach that movie or that section by using the URL directly ..for example :the link in shown like this [URL] in this case it will show the Contact form Movie in the main movie or [URL] in this it will show the frist main movie [URL]what i think in this case when you hit the button it will Load an external SWF Movie to the main Movie and change the URL in sasme time .

View 2 Replies

ActionScript 3.0 :: Preloader Code Shows Error "1120: Access Of Undefined Property OnEnterFrame"

Jan 12, 2010

this will be the preloader code what i put initial frame of my flash file.

[Code]...

View 1 Replies

Protect Against Audio Downloads?

Aug 30, 2009

I have a flash application that plays .mp3 files. I use the Sound object and the .loadSound method. It is quite easy for someone to download the mp3 files from say a plugin for Firefox called DownloadHelper, or using the Safari Activity window. Is there a way to protect against this?

View 5 Replies

ActionScript 3.0 :: Protect A Swf When It Is Placed On A Webpage?

Jun 8, 2010

Is there anyway to protect an swf when it is placed on a webpage.  I know I can copyright things, but this will not stop people from getting their hands on it.  Is there any code I can do to stop any of these decompilers working on it or anything.

View 7 Replies

ActionScript 3.0 :: Protect A SWF File?

Mar 24, 2011

I'm wondering if there's a way to protect a swf file from download, something like DRM video file.

View 1 Replies

Professional :: How To Protect An Application

Jul 29, 2011

My flash app is pretty much finished, before II put it online I was wondering how does one protect it? for example from someone just taking the swf and putting it somewhere or from someone using one of those flash decompilers that turns a swf to a fla?

View 7 Replies

Professional :: Protect SWF Against Decompiler?

Aug 23, 2011

i want to ask question about swf protector against swf decompiler.i saw so many protector using obfuscator,encryption like that..i want to use FMS (flash media server) that will invoke callback function..i'm afraid using encryption,will not detect the name of the functionmy question is :is there any other solution except using obfuscator to handle decompiler?

View 2 Replies

Way To Protect Incoming Stream

Oct 26, 2011

I like to protect, with a password and user name, the incoming stream to the FMS (application Live Packager). How can I instal a password (I don't mean SSL), to prevent that unauthorized persons can stream their own content over my server. This means, the Flash Media Encoder should ask for a password and username.

View 1 Replies

Php :: Is Rtmp The Only Way To Protect Images

Jul 5, 2010

I have images that I need to manage access to. I've come across osmf and rtmp streaming which are flash/adobe technologies and would require me to install a special server. Anyone knows of other ways to get the same effect with php.By "manage access to" I mean that the average user would not be able to save the page and save the image with it. If they want to view the image again, they would have to revisit, re-request it. Flash streaming server offers that, but are there non-flash/adobe solutions to compare it to.

"Give up" is not something you say to your employer who is a publisher and has legalrequirements to protect the IP other entities license to them. Sorry, but I don't make management decisions, and I'm not a lawyer. I work in the technical department and need to find the best technical solutions to what's being asked. If it still fails occassionally, I would say this is the best technology has now, and I've given it to you. I don't want to be found personally negligible when I should have done my best. Some people don't seem to have real jobs?

View 5 Replies

Asp.net :: How To Protect Flash From Getting Downloaded

Feb 15, 2012

I am developing a elearning site and we have developed our courses in Flash. I want to know how we can prevent our courses from getting download from our site. Technology used for developing website is ASP.NET with C#.

View 2 Replies

ActionScript 2.0 :: Protect Swf From Download?

Sep 27, 2009

Is there any way I can prevent a swf from being downloaded? In IE I can use the temp folder to find the swf once I viewed it online. In FF I can download it using the page info window. In Safari through the activity window.

Does anyone know of a way to protect my swf's so people can only view them online, but not download them in any way?

View 1 Replies







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