ActionScript 2.0 :: Method For Preventing Playback Of Ripped Swfs?
Sep 27, 2010
I am making a subscription educational website.I want to prevent people from playing back my swf files that they have ripped.Writing a small piece of code in the first frame that requires the swf to access a link within the subscription portion of my site. The user must be logged in as a subscriber to access this link. If they aren't logged in, the swf won't play past frame 1.
View 2 Replies
Similar Posts:
Mar 12, 2008
I imported a video using progressive download method (so not embedded). I don't want the video to play until the user clicks on it. Right now, it's playing as soon as I get to the frame it's on. Is there a way to prevent it from playing until the user activates it?
View 3 Replies
Mar 29, 2011
I import the video manually from the File Tab. I change the stage size to match video (I want it full screen because I have "liquid layout" AS3 code in order to match browser window) I center the video on the stage.I make the video an Object (MovieClip)
And that's it.
The video play well, matching the full brower window and resizing accordingly.
My questions are :
1 - I am making the video a movie clip but is it necessary. I have tried without and it still works!! The only thing I find weird is that the "publishing" doesnt work when the video is not made a MovieClip. (I struggle to center the SWF in the HTML page)
2 - I don't know about the Netstream class. My server is a normal FTP (with PHP MYSQL) but not a streaming server. Would it be appropriate (better) to call the video through AS3 using the Netstream class ? (actually I am not sure of what the Netstream class is for)
3 - I have tried to loop the video using the classic AS3 code (that can be found anywhere). What is funny is that the code works when the movie is not converted to an object. But when it is, the looping doesnt work at all. Do you see a reason why ? (Maybe because the video is imported manually and not an instance created from the Video MovieClip Object ??)
View 1 Replies
Mar 7, 2011
Can anyone recommend a decent tutorial, add-on or approach to creating a page rip off effect in flash?
I want to create a notepad where each page can be ripped off to reveal further content.
View 1 Replies
Mar 25, 2009
My Flash file is loaded with around 50 vector (animated) images which I have been working on for a long time... and I've just managed to rip them all in under 3 minutes!
View 4 Replies
Sep 11, 2009
I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf
View 3 Replies
Nov 13, 2010
I am loading eight external swfs by way of eight buttons with actionscript to remove the swfs and sound after a new button is clicked. This works fine except that as soon as you get to the frame where the actionscript is all the swfs load at one time on top of each other. I don't want any to load until the button is clicked for the right one. MouseEvent listener works but only after all the swfs have loaded. How do I get the swfs to load only when the buttons are clicked. I can't figure out what I am doing wrong.
[Code]...
View 5 Replies
Mar 9, 2009
I'm developing some photo viewer app for some web site in flex 3. One of the demands made by my customers is preventing of their unique visual content from copying at least by standard Windows tools ("Print Screen" button). Are there any tricky techniques capable of doing this?
The first thing occurred to me is handling "Print Screen" button of keyboard doesn't seem to be as effective as my client needs.
View 2 Replies
May 27, 2009
How can I prevent concatenating when using the addition operator? totalCost_txt.text = (firstCost_txt.text + secondCost_txt.text)I can replace the "+" with any other operator and it works. (huh?)
View 3 Replies
Jan 15, 2012
I stayed up all night building an application on cs5.5 that needs to keep running for up to an hour without the screeen dimming or the device going to sleep. After a lot of googling I could not find anything. Is there a way to emulate or trick the system and make it think that there is user interation ? Or is there an option I can change to make this work? I am testing on an ipod touch 4g
View 3 Replies
Aug 15, 2011
I'm working on the Java backend for a Flash webgame - the client and server communicate using Action Message Format (AMF). A few weeks ago, another team in our company had their product hacked by a user who decompiled the Flash client, and used an altered version to flood the backend with bogus requests. We want to prevent this kind of attack in our new game.(More details: webserver used is Tomcat, AMF client is BlazeDS.)I'd like to know what the best way to prevent this kind of attack would be. Some ideas I had:the nginx configuration seemed like the best place to handle rate limiting, but I cant find any resources on how nginx interacts with AMF. Do the AMF requests just get sent straight to Tomcat?most requests involve a userId param for the relevant user. Rate-limiting requests involving overused userIds might be one approach - however, an attacker who just wants to flood the server could easily spam random userIds.
View 1 Replies
Sep 10, 2009
What is the best way for preventing swf files from decompiling?
View 1 Replies
Jul 22, 2009
This may be simple. All i want to do is prevent the onRollOver event from firing while the tween for the onRollOut event is playing.
View 1 Replies
Sep 7, 2009
I have a movie clip, asterixHolder, with multiple frames that is instructed, at times, to gotoAndPlay at a particular frame (where'currentSection' is a number):
Code:
asterixHolder.gotoAndPlay("tween"+currentSection); Nested inside asterixHolder is a clip called theAsterix that I want to continually rotate. I've been achieving this with a Timer Event:
[Code]...
However, when the TimerEvent code is included - or to be more precise, when the function timerHandler references asterixHolder - the previous code to send the clip to the appropriate frame does not work. Could anyone tell me why this is the case? It doesn't seem logical that calling a nested clip should prevent the parent clip from doing anything.
View 2 Replies
Sep 8, 2009
edit: Resolved; my ActionScript function for parsing the mySQL results didn't correctly interpret a recently modified column, and the corrupted new output happened to be identical to the old output.
I have created an application that accesses a PHP/mySQL database, but it caches old information.
I used the workaround from Adobe's website, where I append '+ new Date().getTime()' to the URLRequest String, but the application continues to use the old data.
When I trace the URLRequest String and C&P it into a browser window, however, I receive the correct data.
View 2 Replies
Feb 14, 2010
I have a class that extends the MovieClip class, is there a way that I can prevent this MovieClip from dispatching a certain event? More specifically I want to prevent it from dispatching MouseEvent.CLICK under certain conditions.
View 5 Replies
Oct 13, 2010
I have two rectangles, one of which is draggable, and when hitTestObject occurs I want to prevent the overlap.
here is the code:
addEventListener(Event.ENTER_FRAME, detectColl);
redSquare.addEventListener(MouseEvent.MOUSE_DOWN, grabIt);
redSquare.addEventListener(MouseEvent.MOUSE_UP, dropIt);
[code]....
View 2 Replies
Dec 3, 2003
whenever i view my animaion on my browsers, it plays to fit the screen. actionscrip that will keep it the size it is meant to be. And if the actionscript has to be added to the first frame..does that mean to every layers first frame(there are about 6 or 7 layers)..one more thing..with the animation already done, how can i insert a preloader all the way in the begining?
View 2 Replies
Jan 5, 2010
Is it possible to access local swfs using a remote swf
View 1 Replies
May 10, 2010
Is there anyway to disable the Print Screen key or stop users from capturing the screen.
I've tried the fallowing method
private function init():void
{
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
[Code]...
but it gives me this error, anyway to make this work?
Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press. at flash.system::System$/setClipboard()
View 3 Replies
Sep 19, 2011
Flash CS5, CS4
Actionscript 2
What I want the SWF to do is play from the beginning when someone hits the index.php file and gotoAndStop(234) when someone goes to a sub-page (like contact.htm).What I did first was:
<CODE>
function checkSO() {
var SO = SharedObject.getLocal("siteSO");
if (SO.data.visitedAlready != undefined) {
[code]....
And that worked in the sense of no cookie-it loads and plays the swf from the beginning. If
there is a cookie it starts from frame 234.
As it sits now as long as the cookie exist in the TIF everytime they return to my page it will not play the opening animation it will just jump to then end even on the index.php.
Someone else suggested:
<CODE>
import flash.external.*;
var currentURL:String = String(ExternalInterface.call("window.location.hre f.toString"));
[code]....
I just don't know what string (I think) to put in the /** ...flush.. **/ part
View 3 Replies
Sep 19, 2011
What I want the SWF to do is play from the beginning when someone hits the index.php file and gotoAndStop(234) when someone goes to a sub-page (like contact.htm).What I did first was:
[code]function checkSO() {var SO = SharedObject.getLocal("siteSO");if (SO.data.visitedAlready != undefined) {this.gotoAndPlay(234);}else {SO.data.visitedAlready = "yes";SO.flush(); }}checkSO();[/code]
And that worked in the sense of no cookie-it loads and plays the swf from the beginning. If there is a cookie it starts from frame 234.
As it sits now as long as the cookie exist in the TIF everytime they return to my page it will not play the opening animation it will just jump to then end even on the index.php.
[code].....
View 11 Replies
Nov 5, 2009
I am working on a product options form whose contents should be cleared by a clearOptions() method each time the user adds an option. The option name TextInput is bound to a value object that is reinstantiated each time the the user adds a product option. The problem I am having is that the StringValidator fires each time the bound value object is reinstantiated.
[Code]...
View 1 Replies
Jul 8, 2011
Basically I have some TLF text as a symbol, it's read only, the font is embedded and I set mouseEnabled to false. It's sitting as a graphic, on top of a button. When I mouse over the text, or the area where the text would be, it prevents the button from receiving the on mouse over event. Using classic, dynamic text, this route normally works just fine. Any ideas what could be causing the problem?
View 1 Replies
Jan 6, 2012
I have a ViewStack, with a bunch of NavigatorContainers in. Each NavigatorContainer contains a different category of settings for the application.
I would like to be able to display a popup prompting the user if they try to leave the current NavigatorContainer without saving the changes they have made to the container's settings.
What would be ideal is something like the 'changing' event in the List component, whereby you are able to cancel or defer the event. Calling preventDefault() on the change event in ViewStack doesn't prevent the index change from happening.
View 2 Replies
Aug 31, 2008
Normally I'd not post my questions in this forum but this is a exeption .Anyway how can i prevent the menu from showing up when right clicking the mouse button in flash runtime?EDIT: I learned that it's not possible to completely hide it in as3, but it's possible in as2 though, or when using html. You however can hide everythng in that list except for "settings" and "show redraw regions"
View 2 Replies
Jun 22, 2009
this little problem here. every time i export my fla i get some stream errors becouse of my localhost stuff, like this:
[Code]...
View 2 Replies
Nov 2, 2009
I currently have an AS3 swf that uses a loader to load in various other swfs, some AS3 some AS2. I load in all the swfs at the start and store them in an array for when they are need later. This works fine with the AS3 swfs, as they all have eventListeners for the ADDED_TO_STAGE event and so won't start until I need them. Unfortuantely, I haven't found a similar solution for the AS2 swfs, and they will run immediatley as I load them. Is there any way to stop this?
View 2 Replies
Dec 9, 2009
I've got a text field that is deep down in a hierarchy of DisplayObjects. The root object is scaled by a variable factor.I want the text field to display it's text in a specific font size, but the text field scales because it's a child of the scaled root object. Is there any possibility to prevent this? I didn't find something in the Adobe documentation.
View 2 Replies
Oct 25, 2010
I am currently creating a remake of the game Geometry Wars but in Flash using AS2 but the further you get through the game it seems the more lag builds up. And it is down to my computer (which does suck) but it's been tested on multiple pretty good PCs. It lags when a lot of enemies enter the screen but to be fair there isn't a lot. Here is my game which I am currently blogging to get feedback : geowarsbeta.tk <- with http at the start.
Stuff I am doing to prevent lag:
-Enemies are not visible when offscreen.
-Unwanted movieclips (like bullets) are deleted once offscreen.
-Main ships 'onEnterFrame' is split up in to lot of small functions.
View 2 Replies