flash

Flash is not showing Errors/Stacktraces in debug player (firefox/chrome/whatnot)

一个人想着一个人 提交于 2019-12-24 02:44:26
问题 I am trying to debug application which fails on me silently online. I am a 100% certain that I am running the flash debug player. To even make sure I am not losing it, i throw an Error ON PURPOSE. But flash shows not a single stracktrace in the browsers. I am kind of close of losing it. Any clues ? I am trying this on chrome, and firefox. WTH? Compiling with FDT, debug mode, even set the compiler argument debug=true. This is normally not the case. I think my computer is going nuts or

five3d local3dtoglobal

我怕爱的太早我们不能终老 提交于 2019-12-24 02:42:40
问题 I am trying to use the Five3d package to draw a sprite in 3d and animate it then create a shape on the root of the app and overlay it over the sprite in 3d as it moves. I have tried everything to get it to work but can't seem to get it to line up properly. It looks like the perspective is out. I had it working after inspecting the relationship between the 3d x,y and global x,y which lead me to write the method 'local3dToGlobalXY' shown below but this only worked when the stage was 1024 / 768,

Free audio players for website streaming

两盒软妹~` 提交于 2019-12-24 02:09:29
问题 Are there any free audio players that I can use in my website? Are they customizable? I've heard of Soundmanager 2. It's a flash based player with a javascript front-end. Are there any other free players like that? 回答1: If you'd like something that doesn't require loading a Flash plugin, try jPlayer. It uses HTML 5 when the browser supports it. 回答2: I like this one. Simple to use and nice looking. 来源: https://stackoverflow.com/questions/2790252/free-audio-players-for-website-streaming

How can pause / play embed sound in AS3 flash

北慕城南 提交于 2019-12-24 01:58:19
问题 I have a sound with a length of 1:30 min. I embedded it into my swf and set it to sync with the frame. I need is to be able to pause and play this sound via ActionScript. Does anyone have any idea how to do this? 回答1: //number that is redefined when the pause button is hit var pausePoint:Number = 0.00; //a true or false value that is used to check whether the sound is currently playing var isPlaying:Boolean; //think of the soundchannel as a speaker system and the sound as an mp3 player var

how to make thumbnail from a .swf in php?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 01:56:18
问题 I have to make thumbnails from banners in swf file format (flash 9). I want to use php, but if that's not possible anything which work in a linux command line is fine by me. I tried to open them with ffmpeg-php, but it says: Can't open movie file /where/the/file/is The file is there and is readable by the user. Any ideas? 来源: https://stackoverflow.com/questions/4531247/how-to-make-thumbnail-from-a-swf-in-php

Flash AS3 Crossdomain bypass issue

回眸只為那壹抹淺笑 提交于 2019-12-24 01:56:10
问题 I'm currently hosting a flash game on my website which is https: . I've added a crossdomain file that specifies I only allow access from this website that my flash application is hosted on. If I download the swf file and try to run it from my local computer, it wont let me (which is what I wanted), however, if i go to flash -> global settings -> Advanced -> trusted location settings , and add the file that I've downloaded to the trusted locations, It will ignore the crossdomain and let me

Download/Save/Write a file on the client's hard disk using flash/flex

自古美人都是妖i 提交于 2019-12-24 01:44:07
问题 I wonder how can I download/save/write a file from my server to a client's computer using flash or flex. An example of what I'm looking for is avilable on http://www.flexdownloads.com Sign up Sign in Click on the ("FREE") button placed on the right of the page. (the orange button) Choose any product (won't cost you anything) Press "BUY NOW" then you'll see a confirmation popup for the download, then you choose where do you want to save the file, and the flash movie saves the file! 回答1: Use

actionscript 3 stretching and rotating a movieclip arrow with drag

﹥>﹥吖頭↗ 提交于 2019-12-24 01:17:07
问题 I am quite new to actionscript, and a bit stuck now. I am trying to make an arrow that is fixed at one end, but the pointy end should be draggable with mouse drag, thus streching and rotating the arrow. It would be also great if I could keep the triangle tip of the arrow from changing size while dragging it. I thought about making a movieclip composed of the tip and of the line separately, the line doing all the "stretching" while the tip simply follows around. I am just not sure how. Most of

Flash MP3 player with javascript controls

拥有回忆 提交于 2019-12-24 01:08:22
问题 While the question may seem fairly basic I seem to be at a loss to actually find anything that fits my needs, which are: Skinnable (although not 100% required) Controllable through javascript (start, stop, change track) Event triggers for custom functions (on track finish mainly) Actual documentation - rather that 'it can do this, but we wont tell you how' I've tried many of the free and quite a few demo's of the pay for ones. Wimpy Wasp seemed to be the closest to what I need but there is an

SoundCloud + Soundmanager2 + EQData

大城市里の小女人 提交于 2019-12-24 01:01:48
问题 This is essentially the same as this question but with more detail: Soundcloud + SoundManager bug: reading a stream's eqData So I have a visualizer using canvas / svg / what have you which looks GREAT when it is receiving EQData from SoundCloud / SoundManager2 but there are some very strange events that are happening which cause it to not be as cool. 1.) When you use SMSound.pause() or any variation (SoundManager.togglePause, etc) and then resume all EQData / WaveformData stops coming to