ActionScript 2.0 :: Create A Security Feature For My SWF's?
Feb 25, 2009
I am trying to create a security feature for my SWF's.I have a .txt file named security.txt.It has a variable called permissionGranted and is set to false
Code:
permissionGranted=false
Here is my AS:
Code:
Stage.showMenu = false;
Stage.scaleMode = "noscale";[code]..........
This doesn't work though,it traces true of false correctly but won't touch the if statement.
View 1 Replies
Similar Posts:
Sep 4, 2007
I'm wondering if anyone knows how to create an "add to dock" type of feature much like URL...
View 1 Replies
Sep 2, 2009
I'm a flash newb and want to be able to create a rolling product feature as on Barnes and Noble's homepage. http:[url].....I'm sure there's probably already movies or tutorials on this but don't really even know where to look.
View 1 Replies
Oct 2, 2009
Good tutorials which show how to create a user login/reg page and also a shopping cart feature .
View 0 Replies
May 19, 2009
I am getting a strange problem while I am making my release build swf.The swf is supposed to make some internal server calls and then display the data and also play it.When I make a release build swf and excute it, while making server calls it throws exceptions likeSecurityErrorHandler: [SecurityErrorEvent type="securityError" bubbles=falsecancelable=false eventPhase=2 text="Error #2170: Security sandbox violation:file:///Path to the swf/WebPlayer.swf cannot send HTTP headers to **Method Name to bring data from the server***]And after this nothing can be done as everything depends on the data from the server..I have updated my cross-domain.xml on the server to support the master-only policy file but that also didnt ..My cross-domain.xml is
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*"/>
[code]......
View 5 Replies
Apr 17, 2009
I haven't fully grasped how the flash security model works, and now I've ran into a problem. I have a base SWF that loads a game loader swf, which in turn loads the actual game.What I'm trying to do is taking a current bitmap snapshot of the running game. This works fine before the loader swf has loaded the game. When the game is loaded, I get a security violation because the game has images pulled from facebook. Is this something that can be solved on my end, or restricted by security in the game swf?
View 2 Replies
Dec 20, 2009
I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint.Here are the contents of the root crossdomain.xml:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies ="all"/>[code].....
Loading the swf file and testing it on my machine works just fine... I think that may have something to do with me having the debugger version of Flash Player. When I push it up to App Engine to make it public, other clients access it and get a Client.Error.MessageSend Channel.Security.Error error Error #2048 url: http:[url].......I am using Flex 4 beta, and the App Engine Python runtime. I have tried full wildcard in the crossdomain, and even accessing the data endpoint at a relative URL so as to avoid this error.
View 1 Replies
Apr 29, 2009
My SWF resides on domain A, is loaded by a web site on domain B and is trying to ping URL (URLLoader.load) on domain C. But I am getting "#2048: Security sandbox violation" .. why? Of course I have read the manual, I saw the security white paper but I do not understand it. Don't you know any blog or such where it is explained for dummies? With lots of examples and maybe a table showing what is allowed and what is not?
View 2 Replies
Mar 5, 2008
I get following error: Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: [URL] cannot load data from 192.168.3.5:4854. at TicTacToe_fla::MainTimeline/TicTacToe_fla::frame1() ". I tryed to solve this problem about 3 hours, but I failed I have the file crossdomain.xml in the same folder like my .swf file on the server with this content:
[Code]...
View 7 Replies
Sep 10, 2009
I have a very simple project. I just need a flash video that has a sound file and a button to turn on/off.
View 1 Replies
Nov 18, 2010
I have a XML file which I am trying to integrate a search feature. I have attached a zipped folder of my working example.In this XML file is a collection of modules: 1.1, 1.2, 1.3 etc...
Each module is broken down further:
1.1has: 1.1.1, 1.1.2, 1.1.3
1.2has: 1.2.1, 1.2.2, 1.2.3, 1.2.4 etc...
I have a search feature that is searching the XML, then outputting the content if found.Now this is working OK for a specific module listed above, for example, in my zipped example, I can get it to search 1.1.1, 1.1.2, 1.1.3 etc...
What I can�t seem to get working is how to search all of the modules sections: eg: 1.1: 1.1.1-1.1.x, 1.2: 1.2.1 � 1.2.x and so on depending on how much content is sorted in my XML.
View 14 Replies
May 25, 2011
I am building a flash website, but want my clients to be able to FTP upload from the website. For example if they want to submit a picture or file.
View 3 Replies
Sep 20, 2009
On the creative pro website [URL].. they have a block at the top with images that change. It is titled 'today on creative pro' Does anyone know how they created it? Was it with Flash?
View 3 Replies
Feb 21, 2010
I am very interested in any information about the new Packager for iPhone feature for cs4 flash professional.
View 5 Replies
Aug 12, 2010
I'm making a map with Adobe Flash Professional CS5, using Actionscript 1 & 2, and I'm trying to add the ability to drag and pan while zoomed in. For the zooming, I put a button in either corner: a zoom out icon, and a zoom in icon. For the zoom-in icon, I used the code on (rollOver){ setProperty ("BG", _xscale, "200"); setProperty ("BG", _yscale, "200");} (BG being the name of the instance used for the background of the map, which is a movie clip.) Now, this zooms me in well to one corner, but then i want to be able to drag and pan to be able to see more of the map. I've found some good examples, but the code is way over my newbie head, and I can't get any examples of code I find to work, no matter what I've tried.
View 20 Replies
Jul 5, 2011
do you know how to use the embed fonts feature and css? or anti-alias the text that is styled using css? i have tried to set:
titlefield.embedFonts = true;
titlefield.stylesheet = sheet;
but it does not work. if i comment out the embedFonts the css works fine but the text is very aliased. but as3 does not support the embed font property within css.
View 5 Replies
Nov 18, 2010
I heard that ArrayCollection on Flex, so how can I use ArrayCollection like feature in ActionScript 3.0 and Flash IDE.
View 2 Replies
Dec 30, 2011
Does anyone know of an online demo of the new flash AEC feature ?
View 1 Replies
Dec 13, 2005
just wondering if there is a way of setting out a text input box and a go button and using an EXCEL Sheet FULL of data (uk postal codes) to create a search application???
View 1 Replies
Mar 18, 2008
How can I add a zoom to selection feature to this?
I just want a basic marquee zoom. Like draw a rectangle on the map and zoom into the rectangle.. just like on this map
View 4 Replies
Jun 16, 2009
I'm working on building a personal portfolio site right now. I wanted to add a scroll feature to one the pages. I wasn't sure how to build it, so I down loaded one off here [URL] and just plugged my own graphics into it. It scrolls up and down just fine, but when I try to put a mask over it, it doesn't work. In the content the author wrote for his movie he says "Note: If you want to have a mask over the content: copy MC:frame and make it a mask for MC:Page. If you do so, notice that "non-anti-alias text" is not possible anymore. This is a common thing in a Flash Movie. I keep trying that and it just blocks everything out all together. So what am I doing wrong?
View 1 Replies
Jan 20, 2010
After I make changes and publish file, the fullscreen feature does not work in any browser.
Full file can be found here. link
I am using CS4 to edit.
View 9 Replies
Jul 23, 2009
I have recently received a copy of the Adobe eLearning suite, in particular I hope to use Flash for the majority of my elearning projects.I have been having trouble using the learning interactions that come ready to use with Flash. For example,I placed the drag and drop interaction onto the stage area, but when pressing F12 to preview and use this feature it would not work (could not drag the movie objects), the same goes for all the other features I can select radio buttons etc but when pressing the 'cheack answer' button nothing happens.Even though these interactions come with instructions which i have followed, it still does not seem to work. I do not wish for them to be scored, I just want the user to receive correct or incorrect feedback.
View 1 Replies
Jun 2, 2010
I'm designing a flash website and I want a feature whereby the user can upload an image and it gets sent to an email at the press of a button. What is the easiest way for this to be done?
View 5 Replies
Jul 10, 2010
does Adobe have a plug-in for Flash CS4 or what would you recommend?
View 6 Replies
Mar 31, 2011
how to output the error messages I'm seeing in my output screen in the IDE to a text area, so I can see if such errors are occurring in production What I found is that the forum search feature is not working at all. I received no results for the words "error", "movie", "flash" and "text", items which are obviously ones which should return SOME results.I couldn't find any way to contact Adobe about this, so I am hoping someone who works for Adobe and watches the forums will pass this along.
View 2 Replies
Apr 4, 2011
My wish for future versions of Flash is that it should have this option to print entered ActionScript code in the colors. The purpose it that if I would like to analyse the code e.g. on a plane, anyway away from my pc, then I would have it pretty colored on paper, unlike if I would print it black/white via copy/paste into some text editor in order to print.
View 1 Replies
Jan 16, 2012
I started an animation in flash recently and the autosave feature was turned on. I had a good animation, but decided to play around with it a bit. After a little while, I decided to call it a night and exited the program making sure NOT to save my work. Upon opening that file the next time, I come to find out that Flash has autosaved my file while I was playing around. Now I have a worthless animation, and have to start from scratch. Is there any way to revert to a previous save, or autosave at this point, or am I about to do a lot of work again?
View 3 Replies
Sep 25, 2010
I have a Flash application with one scene, three frames and a bunch of ActionScript code to provide a number of ExternalInterface hooks. The three frames contain a single Input Text box which, as the <embed> tag is resized using JavaScript, grows and shrinks (not scales) to fit. I now want to add the ability to zoom in/out of this application, for enlarging small text on screen without increasing the text point size. I thought this would be easy using the Javascript Zoom(percent) method of the Flash object, but this doesn't work because my ActionScript code contains:
[Code]...
I suspect I need to take the entire movie as I have it now, and put it inside a movie clip, add a zoom ExternalInterface call which somehow scales the movieClip, and move the External Inteterface methods I have now from the new Movie Clip outside to the stage... but this sounds like a near complete rewrite? Will this method even work? Is there a better way?
View 1 Replies
Feb 9, 2011
Having the following code:[code]Doesn't work if the line marked with (1) is there, however if I comment out this line, its able to load one single file, before it stops working.Using ActionScript 3.0 under CS5.[code]
View 1 Replies