flash

Adobe flash : Playing Speex Audio from a file

泪湿孤枕 提交于 2019-12-22 14:08:31
问题 I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code - var connect_nc:NetConnection = new NetConnection(); connect_nc.connect(null); var stream_ns:NetStream = new NetStream(connect_nc); stream_ns.play("RE-Sample.m4a"); avaible at - http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player _03.html I tested the above code with .flv videos and AAC encoded audio files and it works just fine. But when I try stream_ns

Adobe flash : Playing Speex Audio from a file

故事扮演 提交于 2019-12-22 14:07:02
问题 I have tried really hard to find an example showing how to play speex encoded audio in flash. I tried the following code - var connect_nc:NetConnection = new NetConnection(); connect_nc.connect(null); var stream_ns:NetStream = new NetStream(connect_nc); stream_ns.play("RE-Sample.m4a"); avaible at - http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player _03.html I tested the above code with .flv videos and AAC encoded audio files and it works just fine. But when I try stream_ns

Copy to clipboard not working on FireFox

不想你离开。 提交于 2019-12-22 14:03:13
问题 I had implemented copy to clipboard functionality. It is working fine with all version on IE but not working in FireFox. Please help me solve out this problem. Detail are <script src="../../Scripts/JQPlugins/jquery.clipboard.js" type="text/javascript"></script> <script src="../../Scripts/JQPlugins/jquery.clipboard.pack.js" type="text/javascript"></script> <script type="text/javascript"> $.clipboardReady(function() { $("input#buttonid").bind('click', function() { var text = $("#url").attr(

How to get around Flash error 2176

夙愿已清 提交于 2019-12-22 13:11:07
问题 In my Flex application, users need to be able to upload and download content. However, this content is access restricted, and I need to do a permissions check before allowing the upload/download. The user clicks a link, and then selects a file using the FileReference class. The FileReference class doesn't attach cookie information, so I can't use a session. I want to implement a 2 step process where the client first pings the server to get a one-time-use token, and then does the upload or

Is there a way to read local files in ActionScript 3 “silently”'?

ぃ、小莉子 提交于 2019-12-22 12:41:47
问题 I'm developing an application and because of certain design restrictions I have to do it in Flash. This application communicates with another one done in c++, but just because I need a couple strings, so I thought it would be easy to write them to a .txt file and parse it. But the only way I've found so far is adding a browse event handler and select the file manually. That's no good for me, I need the file to be read automatically given a path, something like: var data:ByteArray = fileRef['C

is there any other way to view youtube video on delphi?

我是研究僧i 提交于 2019-12-22 12:28:00
问题 i see the http://www.delphiflash.com/demo-youtube-video on how to load flash video on delphi but its not for free. is there any other way? like html then TWebBroeser? sampleVideo.html //this will not work on TwebBrowser is there any other way? <html> <head> </style> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body> <object width="640" height="390"> <param name="movie" value="http://www.youtube.com/v/L7NWdxFAHdY

How to get response header using ActionScript? (Flash)

守給你的承諾、 提交于 2019-12-22 12:23:47
问题 So... I have a URL like www.example.com/stream/ I need to make any request to this url and get Http Rewspons header (like this one: HTTP/1.0 200 OK Content-type: video/x-flv Cache-Control: no-cache I do not need reponse body at all. After I get header need to emmidiatly close connection to that url (so stop to obtain data from it) How to do such thing (I use Flash builder) 回答1: Aparently, that's possible in AIR (I've never tried it): http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3

Swiffy on Android browser

你。 提交于 2019-12-22 11:45:30
问题 I would like to use Swiffy to convert Flash animations to HTML5. The converted HTML5 output run on modern browsers and iOS device, but doesn't work on Android(below 4). You can test http://www.google.com/doubleclick/studio/swiffy/gallery.html on Android. Android browsers supports Canvas and SVG. Then, does anybody know what lacks in Android browser to show the Swiffy output? If I know it, I will try to change Swiffy JavaScript. Thanks 回答1: Yes the older android browsers supports SVG, but not

tutorial on using flash or java servlet to upload microphone data from browser to server? [closed]

无人久伴 提交于 2019-12-22 11:17:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . There was a question on how to get data from a microphone on a client to a server via an HTTP browser, and the answer was "use flash or maybe a java servlet applet". Fine, but how? Is there any sample code or tutorial out there? Can it be done with a vanilla server or do I need adobe media server? 回答1: I believe

Stage resizing and getting the right variable

家住魔仙堡 提交于 2019-12-22 10:39:55
问题 In my Flash Application (AS3), I want to get the stage size and use that so my objects (which the user controls) can't go outside of the screen. However, when I use: stage.stageWidth; stage.stageHeight; The values I get aren't actually what I want. They give me the stage size, but if I resize the window, the numbers change as well. Now, in a html page, I don't think that will matter, because the user can't resize it... however, I'd like for it to be more solid than relying on the window size.