Flash :: Flex - Vunerable To XSS Attacks?

Oct 7, 2010

The reason why I ask is that I'm telling a vendor of ours they have to use the MS AntiXSS library with the ASP.NET UI components they make, but they also work with Flex to build Flash based UIs - and I was wondering if there's an equivalent for Flash (assuming it's vunerable).

View 2 Replies


Similar Posts:


Java :: Preventing Flooding/DOS Attacks In AMF App?

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

ActionScript 2.0 :: Add Random Damage Is Delt When The Enemy Attacks ?

Apr 6, 2012

Im trying to add a random damage is delt when the Enemy attacks here is the code i have

Code:
onClipEvent (load)
{[code]....

As you can see _root.content.window.hp.health-- is only dealing -1 per hit the enemy makes Lets say i want the damage to be random and between 5-10 how would i do this?

View 2 Replies

ActionScript 3.0 :: Scripting Platformer Game - When Hit "A", The Player Attacks And If Its Close, The Enemy Dies?

Nov 19, 2009

I have my player, I have my enemy, and I want to make it so that when I hit "A", the player attacks and if its close enough to the enemy, the enemy dies.I've found how to do this in AS2, but not AS3.

View 4 Replies

Flash :: Flex - Access A Stage Instance Name From A SWF Embedded With The Flex Compiler?

Sep 10, 2009

I've embedded a MovieClip symbol with the [Embed] syntax into my AS3 project, which I'm compiling with the Flex 3 SDK. That MovieClip has instances of other clips within it that are placed on stage with instance names. I can't just access them by instance name like I would if I were compiling with the Flash IDE. How can I reference them?

View 1 Replies

Flex :: Flex: Swfloader - Flash File Overlaps It's Configured Size?

Dec 7, 2009

i'm using swfloader to load swf file in the middle of the screen using the following command:

<mx:SWFLoader id="game_swf" source="crazy_counting.swf" x="198" y="0" width="721" maxWidth="721" height="531" maxHeight="531" />

now stage of the flash file takes the exact size that i stated by the flash file itself is overlapping the stage with some graphics

View 3 Replies

Flex :: Working With Data In Flex By James Ward / EmpWeb Example In Flash Builder 4.0 Beta

Jul 31, 2009

From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]

View 1 Replies

Flash :: Flex - Live Preview On A Flex (compc) Generated SWC

Jul 20, 2009

Does anyone know what criterea Flash uses for discovering the Live Preview class for a Component? Background We are attempting to automate the creation of a SWC that contains a component to be used from Flash. We are able to make it visible to flash by modifying the manifest.xml and wiring up the component definitions. However, the component cannot be dragged onto the stage (or library), presumably because it has no form of LivePreview. To give better clarification of where we are coming from, we've noticed the following in SWCs exported from Flash (using swfdump):

fl.livepreview.LivePreviewParent contains the same mod attribute as the visual component in the manifest.xml file fl.livepreview.LivePreviewParent is exported as a symbol The short-named component (ie. no package, referenced in the components definition in the manifest.xml) is exported as a symbol However, I can see no other differences between that and the SWC from Flex. We can obviously use JSFL to perform the task, but we'd rather not install Flash on the build server.

View 1 Replies

Javascript :: Flex Datagrids - Alternatives In Non-flex/flash Environment?

Jul 29, 2009

I did some work that used Flex datagrids previously. It was smooth for the users and developers alike.

In my current project, I have to implement the same grids but not using Flex / Flash.

I have taken a look at extJS and YUI but they don't seem to measure up.

Are there other packages I should be looking at ?

View 3 Replies

Flex :: Amazon - Upload From Flex/flash Player In The Browser To S3?

Dec 9, 2009

I want to upload directly to an S3 bucket.I know this can be done in AIR,whether it is actually possible in flex in the browser, or will I have to use some code server side to get this going?

View 1 Replies

Flex :: Flash - Wrapping Or Embedding And MP3 In A SWF Using Flex's Mxmlc Compiler?

May 13, 2010

Our Flash web-based applications play lots of audio for narration and sound-effects. Some of our customers have firewall rules that block downloading of MP3 and other audio files. So, we need to wrap those MP3 files in SWFs. In the past, I've written JSFL scripts that automate the Flash IDE and walk through a complicated, fragile set of steps to embed MP3 files into FLAs and then publish those to SWFs. Now, Flex SDK provides the mxmlc compiler. I've mixed ANT into our workflow, and command-line and automated builds have been a joy. So, I want to make transcoding or wrapping of MP3s part of our build process. I've found Embedding Asset at Compile time in Pure AS3, but this will require that I write a script to generate a wrapper class AS file. Is there a cleaner way to wrap or transcode MP3 files into SWFs?

View 1 Replies

Can Flash Load A Flex Mx:module Created In Flex Builder 4

Feb 16, 2011

I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.

ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();

[code].....

View 1 Replies

Flex :: Possible To Clear A Flex Flash.utils.Dictionary?

Mar 10, 2010

Is it possible to clear a Flex flash.utils.Dictionary? I have a Dictionary that I want to clear (remove all elements).

View 3 Replies

Flex :: Use Adobe Flash Or Flex For Action Scripting?

Jun 1, 2010

I am using flex. But i find it hard.Should i use Adobe flash so that i can insert the components by drag and drop

View 1 Replies

Flex :: Flex - Pass FileReference Between Two Flash Movies?

Jun 19, 2010

I have an html page with a flash object that provides video chat using stratus.I want to enable file sharing from a different UI on the same html page.I want to use the same stratus connection to send the file.Is it possible to create a small flash object that will present a browse button and let the user choose a file and then pass the FileReference or file details to the stratus object to send it?

View 1 Replies

Flex :: Game Development: Flex Or Flash IDE?

Jan 6, 2010

Which would be more comprehensive for game development?

View 6 Replies

Flex :: Using Flash Components Into Flex Application?

Sep 14, 2010

What is the right way for integrating a Flash component into a Flex application? I heard that there are different ways of integration between Flash and Flex: using SWF, using SWC (something else?). What are theirs pros and cons? What are the points of communication between them Flash and Flex? `I'm using Flash Builder 4 for developing Flex. And Flash Professional CS 5 for developing Flash.

View 1 Replies

Flash :: Flex 4.5: Tree - Make A Flex Tree Component Display The Children Of A Sprite In A Hierarchical Way

Nov 19, 2011

I'm trying to make a Flex Tree Component display the children of a sprite in a hierarchical way. Moreover, dragging the items on the FlexTree would resort and reparent the items. I have special Elements set as Folders. This would allow other elements to be added there as a children by dragging an element on the tree and dropping it there. I have a failed attempt which works, but breaks when I try to add folders. Basically, it fails at reparenting the items by dragging and resorting folders and that Does anyone know of a component or something which can do this, has anyone have created any of this or could anyone give me a clue?

View 1 Replies

Flash CS4 :: Made A Small Rectangle In The Flash With The Tweening Effect And Export In To The FLEX?

May 21, 2009

I have made a small rectangle in the flash with the tweening effect and export in to the FLEX. When i publish in the FLEX i could see the rectangle with out tweening effects.How can i see the tweening effects.

View 1 Replies

Iframe - Make A Flash/Flex Drop Down Extend Outside The Flash Object Boundaries?

Jan 22, 2010

We are developing our app in flash/flex builder for the front end hitting .NET backend webservices. There is one section of the old app that will not be initially converted, so we need have it appear in an iFrame.

So far all that works fine.We shrink the size of the SWF in the host page to just be the menu/nav area. And underneat that I have an iframe control that loads in this page from the old site.Now the problem. in the SWF is a drop down list to enable picking a client. Since the SWF has been shrunk to about 100px high, the drop-down will only occupy within that 100px area which it's opened. This is NOT good as you can imagine. How can I make the drop-down list descend over-top of the IFRAME control and thus extend outside the SWF dimensions? Is this possible?

I tried to make the internal stage transparent and leave the SWF a little larger, about 400 px high, but the IFRAME still appears behind the SWF.

View 2 Replies

Flex :: Seek To An Exact Point In A Flash Video Without A Flash Media Server?

Aug 20, 2010

Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in a video?It seems to always 'snap' to keyframes (which is understandable). I'm just wondering if there are any mechanisms in the video classes for seeking to exact frames, ie it should do the translation from keyframe to specific frame in the background rather than having to actually play the video forward to the desired frame.This is not a streaming file and has nothing to do with buffering. The player is just downloading a movie file from the web and playing it from memory.

View 1 Replies

Flex :: Manually Connecting Flash Player (debug) To Flash Builder?

Sep 22, 2009

Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger.

View 3 Replies

Flex :: Flash Builder 4 - Flash Player Failed To Connect To Debugger

Jan 7, 2011

I just finished my installation of Adobe Flash Builder 4. I've definitely installed the most recent flash player from Adobe's website onto my computer. Also, in the run configurations of flash builder 4, I changed the source path from the .html file to the .swf file that is generated. I don't need to test it in a web browser, I just want to run the swf in flash player.

I only have 1 .as file in my actionscript project and there is no code written in it other than the package, class and main function statements. When I run the .html file, it runs fine, and debugs fine. However, when I switch the source path to the .swf file, it runs fine but doesn't debug!

When I debug it, the progress gets stuck at 57% and it says "Waiting for Adobe Flash Player to connect to debugger..." in the "Progress" tab. After a few minutes a window pops up that says:

"Failed to connect. The session has timed out. Ensure that you have run the application with debugging on and that I have the debugger version of flash player."

What can I do to fix this? I am on an intel Mac running OS 10.6.5.

View 2 Replies

Flex :: Flash Builder 4 Design View Vs Flash Runtime Appearance W/SDK 4.1?

Jan 22, 2011

Flash Builder's design view is worse than 3's (which at least was usable if you ignore some quirks), so WHAT do Flex UI designers (those who don't have paid design teams...) do to design a complex UI? Because Design View (also based on what a lot of people say about it..) gets more useless with every release.See image for some differences in design view vs.Flash. WHAT is causing this? css also posted..("Duration", "hr", "min" are mx Labels, the image size text is an mx Text comp.Project is an "mx only" SDK 4.1 project.) I don't even care that the spinners look different, I just need it to show me correctly sized stuff so I can position things via Canvas, or properly size containers.

mx|Label {
font-weight:bold;
font-size:12;[code].....

View 1 Replies

Flex :: Importing Existing Flash .xfl And .as Files Into Flash Builder 4?

Nov 6, 2010

I got a XFL file, its library files and AS files in a directory.I would like to use Flash Builder 4(FB) for editing AS files, running the compiled SWF and profiling.When I created a New->ActionScript project in FB, I could edit the AS files but didn't know how to link the XFL file and run them.When I created a New->Flash Professional Project, I was prompted for a XFL file, and although the chosen XFL file and the AS files are in a same directory, the AS files are not automatically included in the project. I couldn't find a way to add exiting files in the project either.

View 1 Replies

ActionScript 3.0 :: Cairngorm In Flash CS3 - Use Flex's Data Binding In Flash?

Apr 25, 2007

I've been reading up on the Cairngorm architecture that Adobe recommends as best practice for devevloping RIA's in Flex.http:[url].....I recently purchased Flash CS3 and want to find a way to implement Cairngorm in my upcomming RIAs that will be built in Flash instead of Flex. I've created my own version of Cairngorm that uses almost all of the features and classes described in the Cairngorm architecture.

The biggest challenge for developing a Cairngorm architecture in Flash is that the architecturerelies heavily on Flex data binding to update the view when there are changes in the model. As far as I can find, there are no such capabilities built into AS3. This leaves me with a few not-so-desirable options.I could write my own data binding classes, or try to migrate the data binding classes from Flex.

each view class that can respond to changes in the model implements an "IBinded" interface that contains one function called modelUpdated. These classes register with a 'bind list' when they are instantiated, and any command that causes a change in the model also calls a function cycles through each registered view class, calling the 'modelUpdated' function to signify that the model has updated.This is a reasonable solution for a very simple application with very little model data, but as the application increases in complexity, it does not scale, because there is no way for a view class that is binded to an object in the model to know whether or not that object has changed - instead, EVERY view class that responds to changes in the model must check the current value of whatever objects they bind to and see if there has been an update.

View 1 Replies

Flex :: Convert Flex Builder 3 Project To Flash Builder 4

Oct 6, 2009

I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?

View 2 Replies

C# :: What Is .Net Analog For Flash/Flex Flash.utils.ByteArray

May 26, 2010

What is the C# .Net analog for Flash/Flex flash.utils.ByteArray?

View 1 Replies

Flex :: Using Flash-based UI Components In Flash Builder 4?

Jun 10, 2011

I am trialling Flash Builder 4 Premium.I'd like to know if it is possible to use components designed for Flash (e.g.URL... amongst many others) in Flash Builder 4? How can I import them? By import, I also mean they are first class citizens like the out-of-the-box Flash Builder 4 components.

View 1 Replies

Flex - Flash Builder 4.6 Not Compiling For Flash Player 10.2

Jan 12, 2012

I am new to creating Flex applications and trying to target Flash Player 10.2 with my first. I have created it using Flash Builder 4.6 and compiled using the 4.5a SDK. I've also set the option to target 10.2.0 in the the Adobe Flash Player options. When I create the release build, there are no error and the resulting HTML file contains the following:For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.var swfVersionStr = "10.2.0";However, if I try to visit the application in a browser with v10.2 of the plug-in it says 11.1 is needed. I also have the same problem with a simple Flash CS5 animation that only uses stop() and getURL(). The animation works but doesn't stop.URL..

View 1 Replies







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