Actionscript 3.0 :: Safe Way Of Putting SWFs Online
Jul 14, 2009How to "protect" SWF files when uploaded to the net (from being downloaded / decompiled)...
View 2 RepliesHow to "protect" SWF files when uploaded to the net (from being downloaded / decompiled)...
View 2 RepliesWell I remember kirupa saying swfs were disabled here because someone hacked the forum using them.How safe are swfs?
View 2 RepliesAn example of it is viewable here:
[URL]
The .swfs that make up this website were originally made by somebody else who has asked me to help them get the site working online the way they intended. The main problem I'm having now is making this white space (that appears briefly in shape of .swf's dimensions) go away. The flash projects for the swfs do not even have a white background, neither do the HTML documents. Deadline for solving this problem is early tomorrow and I am stumped. This even happens with tiny, 40kb swfs with preloaders (I thought reducing swf sizes, adding preloaders might solve problem somehow)
I am putting together an simple xml read and write swf for online usage and i need to show each "".xml filename loaded in the bombobox, when you select the name from a drop down combo box i intend in using this xml and populate the fields in my document and have it saved when i click the save button. right now i just need the function i cannot seem to master so far i have the xml loaded in the combobox and when i select any of the items from the combobox it will load the right xml file. so far so good. coz it shows up in my traces.
[Code]...
I'm working on some generative art animations using Flash ActionScript which appear much smoother at a frame rate of 72 FPS compared to 30 FPS or lower rates.On a Intel Pentium E2200 Dual CPU @ 2.20 Ghz, Flash Player hardly uses more than 9% during the animations at 72 FPS. The animations are meant to run for a quite short period of time (less than 10 seconds each).Is it safe to use this frame rate?
View 1 RepliesSince the dawn of time, man has wished for and invented ways to do enumerations in Flash AS3. There's been various problems with many attempts, such as the ability to use a constructor to create new types of the enum (insecure). I believe the following is type-safe at compile time, and safe from being able to create new instances of the enum class at runtime. The main issue surrounds the inability in AS3 to have a private constructor. In this example, the constructor can only succeed if passed the private static const variable ENFORCER, which is only visible inside of the class.
[Code]...
I've spend the last 6 months developping a Flash (CS4 / Flash v10) game. As I'm now ready to publish it online, I would like to ensure that my actionscript code is safe. Hence my questions are: - Is the CS4 built-in password protection safe? (I guess not given that my actionscript still needs to be executed hence has to be readable for the client)
- What are the best options to further protect my code? (I guess obfuscation is the most common approach: which obfuscators are good?)
in my timeline i have two orbs transforming into arrows. it works, i watch it, then i'm like, ok, all good time to save. i save. exit/open, and come to find that my orbs were not transforming. i looked on the timeline and they are not set to transform, so i redid the shape tween, save,exit open and the same thing. so why won't my file save the shape tweens? i'm previewing it in cs5.
--edit--for some reason it works in the swf file, but not the fla file.
Is it safe to store a password in a SharedObject if it gets saved over https from a Flash based webapp?
View 1 RepliesI used this video to teach me how to create a safe: [URL]The buttons work when I 'Enable Simple Buttons' (not the text input but the Down image shows) but when I export it, absolutely nothing works. The instance name of the text box is 'input_txt' and it is set to 'Dynamic Text' using the font 'Cambria Math'.Here is the ActionScript for one button:
ActionScript Code:
on(release){
input_txt.text+="1"
}
How to make (safe) administration with php and flash mx 2004? don't work MySQL on server!!! But is it safe to make administration with flash? Maybe someone know good sample fla?
View 1 RepliesWhat would be a safe framerate for medium to highend computers. Ive had some problems with framerate.
View 6 RepliesI 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 RepliesI 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]...
Is it possible to access local swfs using a remote swf
View 1 RepliesI am trying to find a way to preload swfs while other swfs are playing, i've found several scripts and tutorials, but none of them seem to work for my needs.
View 1 RepliesFlash - 8 : Above is an example of what I would like to do/have done. I've gotten as far as loading the "loaded.swf" into the "start.swf" but my problem is I'd love to use that little loading action I made earlier without copying and pasting into the new movie the same actions for a different link. So, how do I load "loaded2.swf" into "loaded.swf" via the link in "loaded.swf"?
View 1 Replies[URL]regarding this tutorial I started my site [URL] to get some trasition effects but im getting somewhat different since the external SWFs take time to load. isn't it better to create "intro and outro" on the same time line instead of loading external SWFs bcos once the movie loaded as a whole will lead to smooth and contineous transitions.
View 1 RepliesIt has around 7 different movie clips in the library. I was originally going to put one clip per frame in the master timeline and have some sort of pause sequence to play them one after another. What I ultimately want to accomplish is to have these clips play one after the other without having to click any buttons, so basically straight through.
View 1 RepliesI've recently made a website for a friend and she wants a video to play on one of the frames. It is in the library and the video plays when i test the movie on my laptop, however, I have now uploaded the .swf file website to a host along with the video and it isn't playing. Any ideas how to sort this out? Not completely sure myself! Using Flash CS4 with Actionscript 2.0 if that makes any difference to anything.
View 9 RepliesI'm making a presentation in Flash that needs to be put on a DVD, which we will given to people in my organization to view at home. The presentation will not contain any interactivity. It will have text, music, video, and narration.
The videos will be short and contain sound, should I embed them in the fla file? I planned to break the presentation into scenes to make it easier to manage, and so they'll just play one after another. My computer can burn DVDs, so I was just going to export the swf to DVDS.
Assume the main time line is A. On A I've got movie clip Z also On A . I've got movie clip B and inside B I've got a movie clip C (I need it to be this way because it soft of a TAB meanu).My problem is the actionscript written in C makes few objects called planet 1, planet 2, planet 3 on A function well. But when I move planet 1, planet 2, planet 3 to a movie clip (planets_mc) it won't function! How can I put planet 1,2 and 3 in to one mc and still make the actionscript in C work?I've used the _root. command in the script C. Hope my question is clear enough!
View 3 RepliesWrong section, moved to actionscript 3 I'm having trouble with my code. I keep getting this error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Test_fla::MainTimeline/frame1()
I believe it has something to do with the array, considering it works when I remove the array stuff. What i'm trying to do is to be able to move objects through an array with my gravitate() function in the Grav Class.
stage.addEventListener(Event.ENTER_FRAME,onLoop, false, 0, true);
for(var i:uint=0; i < numParticles; i++){
var p:Grav = new Grav(5, 0xff0000, Math.random()*250, Math.random()*250);
addChild(p);
[code]...
I have a simple graphic in Scene One which when you mouse over it, it changes to Scene Two where there are several round buttons that people can navigate with. What I want is that when the mouse is dragged away from the stage where the buttons are in Scene Two, you are taken back to Scene one. I can't seem to work this out. I only to want to go back to Scene One when the mouse is completely out of the SWF.
I made another button and made a square hit point that covers the stage and put that on the level above the other round button levels but this then doesn't allow you to activate and click the buttons underneath the square button. I just want a rollOut when the mouse comes completely off the SWF back to Scene One. Am I missing something?
I bought this template, and am trying to make some of the pictures when clicked have hyperlinks that go to other websites, i am turnong the picture into a button and adding this code in the action script [code]
View 3 RepliesI need to put a key frame in an .flv file
More specifically, I'm just converting a video into FLV using the Adobe Media Encoder. I'm primarily a web designer, not a video guy, I've always just used the built in Insert FLV function in Dreamweaver to put Flash Video in. However, when autoplay is off I need to know how to control what frame shows up on the front of the video before it starts playing.
I've got a question/request concerning my first flash website.If you look at my site you will see 4 .swf's loaded in from the sides. This effect is made possible by Jquery script. But because of lack of compatibility with Opera & Internetexplorer. I have to integrate this all in one swf. But I've got not a clue what kind of code I need to make this effect working.So to be clear what I want is Containing 4 swf's 25% height & 100% width. The slide in function is something I also would like to have (but maybe that's asking for just to much). If you want to see the code of the actionscript from the swf''s you can check it out at the included zip
View 11 RepliesI'm having trouble with publish my flash file. I have uploaded my flash file (flash.html) and (flash.swf) to my ftp. Then I copy and paste the html code onto the page of my website which is (without the star)
<*html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>flash</title>
[Code]...
But when I view it on my website this pop-up comes up What am I doing wrong =/?
I'm still working on my highscore list but cant get it right. Its posting a player name and score in a textfield out of MYQSL database.
This working but not orginised. If I can put the score and player in a seperate textfield I think it will look a lot better.
This is the code that displays the score and player in the same textbox. (at bottom)
import fl.controls.TextInput;import fl.controls.TextArea;import flash.text.TextFieldType;var variables:URLVariables = new URLVariables();var request:URLRequest = new URLRequest();////insert in the location of the php script
[Code].....
I did a banner for a client and was asked if I could put the banner up on their site when I was done, not realizing the site was done in .aspx. I'm in the control panel of the site, I uploaded the flash files to the correct folder and rather than going into this blind I thoughtThe code for the banner on the site currently is
<script type="text/javascript" src="/home-ads/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.xmlPath = "/home-ads/powertri-ads.xml"; var params =
[code].....