flash

package-level function is not working..

After I saw the methods in flash.utils package, I decided to make a try: // inside file Test.as package com.tests { internal function packageFunction() { } } But I got: A file found in a source-path 'Test' must have the same name as the class definition inside the file 'packageFunction'. packageFunction is a functio...

Can a standalone WPF application create an interface that looks like a Flash interface?

It seems like WPF was created as the application answer to Adobe's Flash. Silverlight is used for creating web pages. But, can that same functionality be pulled into a standalone WPF application. Scaleform allows Flash to be used within unmanaged C++ games. Can WPF be used to create the same type of interfaces? What I've read seems to m...

FLV PLAYBACK: changing dynamically flashvars.streamName after initial load

I have simple playback set up: <script type="text/javascript"> var flashvars = {}; flashvars.skinName = "Clear_Skin_1"; flashvars.streamName = "movies/FLV768KB.flv"; var params = {}; var attributes = {}; swfobject.embedSWF( "FLVPlayer_Progressive.swf", ...

Using SWF Address deep linking while adding dynamic meta content

I have a flash site which reads deep links from the URL, then using c# asp.net we read the url and write the appropriate meta tags for the page being requested. e.g. GET www.domain.com/en-gb/scene4/subscene2 and outputs appropriate meta tags to page Then we redirect to the swfaddress friendly page containing the '#' www.doma...

What is possible with XSS with Flashvars? How to prevent it?

Recently a client was concerned that their SWF was "insecure" because the XML path was coming from Flashvars. This seems to me to be something that isn't really a concern as the SWF is only displaying images / text and a few button links. I can understand how someone could path to the swf and add a remote XML path in to add javascript to...

Need Help with animation gallery in AS3

Hi Everyone, I been trying to create a gallery in Flash with different movie clips. Timeline -back button -next button -stop button -play button -Main Movie (these are inside Main Movie) --Animation 1 --Animation 2 --Animation 3 I have the animations set up in Main Movie with instance name and frame names like "Animation 1". ...

[Flex/Flash Builder] Switch design mode theme from Spark to Halo in Flash Builder 4

Title says it all. When you set a project theme to Halo under the project's settings, executing in the browser renders as Halo. But viewing the same project in Design view still incorrectly shows Spark themed components which have different sizes and so on, making design view relatively useless. How is this resolved? Edit: So, there is ...

wierd sandbox violation

I receive the following message when i start writing something inside a textField: *** Security Sandbox Violation *** SecurityDomain 'http :// localhost/crossdomain.xml' tried to access incompatible context 'file:///C|/.../Login.swf' I don't see a reason for that message, but it seems that this message is thrown when i do Key.isDown (...

Open Source Photo Editor like pixlr.com

Hi, I'm looking for an open-source alternative to http://pixlr.com/ . For now we've implemented pixlr (both simple and advanced) for our open-source CMS but for pixlr it's necessary that the CMS is public reachable, so it's not possible to use it in closed usergroups like intranet applications. Thanks in advance! ...

Flash rotating banner won't start playing in Firefox

This issue has been boggling me a few days, I would appreciate any input. On this site, the rotating flash banner at the top works fine in IE and Chrome, but when opened in Firefox, it doesn't load the picture or advance automatically. If you click on one of the other buttons to advance to another item, it works fine, but on page load, ...

gotoandplay detect the end of and begin playing another section of the timeline

I have a series of sections in the timeline and I'd like to use gotoandplay. How do I begin playback of another section of the timeline. Is there a way to detect the end of gotoandplay? for example: 3 objects and 6 frames. each object has a animate in frame and an opposity animate out frame. At each frame the user can pick any of the ...

Flex List auto height

Is it possible for a Flex List to adjust its height automatically for the number of rows it's displaying? The problem I'm having is that the List renders taller than the number rows. The number of rows is dynamic so I'd like the List to automatically adjust its height based on its content. I've tried setting height="100%" which doesn't h...

Flash as3 trigger click

So I am working on a project in which I need to trigger a click event. However, its a little more complicated then just that. I know how to dispatch an event by doing btn.dispatchEvent(), but the problem is I dont know which button it will be. Basically I am creating a wheel that spins. I need to trigger the click event of the element th...

Why I cant set the position in this code (AS3)?

Hi guys, First of all, I am new to AS3. What I am trying to do is to make the ball, rotate in circular form. This is my current code: this is the Circular.as public class Circular extends Sprite { private var ball:Ball; private var centerX:Number = stage.stageWidth / 2; private var centerY:Number = stage.stageHeight / 2; ...

ActionScript compiler

Hello, are there any compilers for ActionScript 3 under *nix like systems or appropriate toolkit to work with Flash? ...

How to read and search a specific word in pdf file using PHP? Is it possible in PHP?

Please check the URL: http://cde.cerosmedia.com/1T4c3744326abcd119.cde I client want some thing like this. User will search a word and application searches that word in a opened page and highlight it. This is a Flash application and uses php at back-end to generate XML. Can anyone help me out in this? ...

Flash, using Event.ENTER_FRAME or movieclip?

I want to create an endless loop, 8 items moving in a circular shape. When you roll over of each item, it will stop the moving, and you should be able to click it. I dont know what should I use, should I use Event.ENTER_FRAME or the circular shape should be in movie clip, so that when there is a mouse over event, it will stop moving? I ...

loading flash preloader before the game content loads

hi there, as i am new to javascript with flash. i have a small requirement. like i am currently working on a games website in which whenever i open the game a flash preloader needs to open first and hide the game file while the flash preloader loads. once the flash preloader completes its loading then immediately the game content need t...

Are remote flash files vulnerable?

Currently I'm allowed users to add application/x-shockwave-flash objects to their profiles in my website. I've only filtered the URL and the content-type is set to "application/x-shockwave-flash" Is there any vulnerabilities in allowing my users to link to remote flash/video files? ...

preview image before uploading

I'm looking for some flash based plug-in which allows me to display an image as soon as the user selects it in the file dialog. I looked at swfupload but couldn't find any way to display the image selected.. no handle on file path or contents as far as I could find. Anyone knows how to do this? Or some other plug-in which does this? ...