flash

Forward MouseEvent in transparent bitmap to underlying MovieClip

China☆狼群 提交于 2020-01-06 16:51:56
问题 So I'm Bitmaping some heavy stuff to try bring down the [pre-render] and [render] which is quite high according to FlashBuilder's profiling. I thought this was going well until I realised that as soon as you change a MovieClip to a Bitmap, you lose the pixel based accuracy of the mouse move events (Over, Out, Move...), all your left with is the entire bounding box of the Bitmap, something which is less than desirable. I've got a game where many Bitmapped assets would be on top of each other

Box2D: How to get the position of a sensor?

我怕爱的太早我们不能终老 提交于 2020-01-06 16:50:50
问题 Edit I've updated this question here: Box2D: How to get the position of a static body? I'm using sensors in a Box2D project. On a collision with a sensor, I'd like to know the sensor's position in the world. I'm detecting the collision with a contact listener, but the sensor's position is always 0 0. From my code: (edit, added the whole class) public class MyContactListener extends b2ContactListener { public var onSensorEvent:Function; override public function BeginContact(contact:b2Contact)

Is there a way to get https requests to work when calling from a localhost for testing

不羁的心 提交于 2020-01-06 15:44:06
问题 I'm getting the errors when testing my application locally since I switched to https: Warning: Domain www.example.com does not specify a meta-policy. Applying default meta-policy 'master-only'. This configuration is deprecated. See http://www.adobe.com/go/strict_policy_files to fix this problem. Error: Request for resource at https://www.example.com/?json=user/get_logged_in_user by requestor from http://localhost:8888/Test-debug/Test.swf is denied due to lack of policy file permissions. I

Flash Player Cache problem

左心房为你撑大大i 提交于 2020-01-06 15:17:09
问题 I made a flash video jukebox, so it reads a dynamic playlist of F4V files for hours. Everything works well but after about 45 min the sound stops and after 2 hours the flash player plug in crashes. It seems like the cache is not accepting more F4V videos and then crashes. If I auto-refresh the browser every 2 hours it works but I would like to avoid having to refresh the browser and just clear the flash player cache if that's where the F4V go? I can't find any info about where the F4V files

Flash Player Cache problem

我的未来我决定 提交于 2020-01-06 15:15:26
问题 I made a flash video jukebox, so it reads a dynamic playlist of F4V files for hours. Everything works well but after about 45 min the sound stops and after 2 hours the flash player plug in crashes. It seems like the cache is not accepting more F4V videos and then crashes. If I auto-refresh the browser every 2 hours it works but I would like to avoid having to refresh the browser and just clear the flash player cache if that's where the F4V go? I can't find any info about where the F4V files

AS3 can not load a Bitmap by using loadByte in Thread?

点点圈 提交于 2020-01-06 14:48:09
问题 Flash Player supported Thread in 11.5+. I want to load an image by using Loader.loadBytes() in Worker Thread. Which the Image ByteArray are generated in Main Thread. But I can NOT do it. I got a SecurityError like this: SecurityError: Error #2123: Security sandbox violation: Loader.content: file:///E:/work/ASWorkSpace/test/bin-debug/test.swf cannot access file:///E:/work/ASWorkSpace/test/bin-debug/test.swf/[[DYNAMIC]]/1. No policy files granted access. I init my worker thread like: worker =

What technology is required for sites like www.trump.com and www.hyundaiusa.com?

怎甘沉沦 提交于 2020-01-06 13:55:32
问题 I want to learn how to develop sites like www.hyundaiusa.com and www.trump.com. Which technologies do I need to learn?, or is there a web software or studio needed for such flashy sites? Thanks for any suggestion. 回答1: trump.com is made with flash, very poorly done as i found 5 bugs in it the whole 2 minutes i had a browse. the software you are wanting to get familiar with is adobe flash, the code language is actionScript. there are several flavours to go about achieving animation online.Flex

string from php script to flash

北城余情 提交于 2020-01-06 13:28:29
问题 I'm using facebook php sdk to get friend list of an user. But I'm strugling to get that list to flash. The idea is that the list is always new, depending from the user loading the application. So what I need is one .html file which is loaded with php script to proccess friend list and embedded flash .swf to which php would pass information. How can I achieve this? thanks 回答1: There are two ways to do it: Set the flashvars to the data you want to pass to the Flash file. Since the friend list

string from php script to flash

馋奶兔 提交于 2020-01-06 13:27:50
问题 I'm using facebook php sdk to get friend list of an user. But I'm strugling to get that list to flash. The idea is that the list is always new, depending from the user loading the application. So what I need is one .html file which is loaded with php script to proccess friend list and embedded flash .swf to which php would pass information. How can I achieve this? thanks 回答1: There are two ways to do it: Set the flashvars to the data you want to pass to the Flash file. Since the friend list

Merge flash site into one executable

夙愿已清 提交于 2020-01-06 12:50:41
问题 I need somehow to merge flash site into one executable. Site consists of: index.html images sounds pdfs etc. After clicking on a merged file, index.html is needed to be opened. Is this possible? ===================================== Adobe AIR might be useful for this, but I can only create setup executable, maybe it is possible to create just executable? 回答1: You can pack any number of files into AIR app (although export time may rise substantially). You can't create 'just' executable,