Actionscript 3 :: AIR App Be Programmed To Handle A URL Protocol?
Mar 16, 2010
I'm writing what is essentially a browser in Adobe AIR (ActionScript, not AJAX). A great bit of functionality to implement would be protocol handling. iTunes, for instance, handles itms protocols; when your friend sends you a link beginning with "itms://", it's going to launch iTunes as long as it's installed. Is there a way to write an AIR app (requiring AIR 2 would be fine) that can be the "handler" for a protocol in this way?
View 3 Replies
Similar Posts:
Feb 6, 2010
I'm creating a scrollbar gallery from a tutorial on this site. Though I've completed the tutorial, and customised the gallery to my own needs, however I'm trying to make a very small change to it - and no matter what I do, keep running into problems. I'm trying to replace the rectangular handle with my own customised handle - a (20 x 20) 'circular' png image that I've imported into Flash, made a graphic and stored in the library (though I understand it can be imported using actionscript, like the other images in the gallery).
[Code]....
View 7 Replies
Jun 30, 2009
I have been working on a Flash projector. At one point, there are two Flash buttons. However, when they are clicked, they don't do what I programmed them to do. (I know because I inserted a trace() statement inside the on (release) function, and the trace text was never outputted.) Instead, the buttons send the timeline to the same frame when I click either of them. The buttons don't do what they should, and do what they shouldn't.on (release) {gotoAndPlay("inst");trace("btn inst event: clickrelease");}"btn inst event: clickrelease" never appears in the output window. Instead of sending the timeline to "inst," it sends the timeline to frame 10.
View 1 Replies
Mar 15, 2012
I was looking for examples of Javascript games and I came across this. It looks like Flash. I tried looking at the source code, and all I see are a bunch of div tags, but not really any Javascript. I couldn't find the code that actually runs the game.
View 3 Replies
Jun 30, 2009
I have been working on a Flash projector. At one point, there are two Flash buttons.However, when they are clicked, they don't do what I programmed them to do. (I know because I inserted a trace() statement inside the on (release) function, and the trace text was never outputted.) Instead, the buttons send the timeline to the same frame when I click either of them. The buttons don't do what they should, and do what they shouldn't.with this? Here is the code of one of the buttons:
ActionScript Code:
on (release) {
gotoAndPlay("inst");
[code]........
View 4 Replies
Oct 3, 2010
I wanted to do a simplae programmed animation of moving a movieclip on its Y axis across the screen, all I do is decrease its y value by 2. But its not working properly, I just get to see the starting and end point, can't see the movieclip travelling across the stage smoothly as I get to see if I create a simple Classic Tween.
View 1 Replies
Mar 5, 2009
I am using Flash CS3 targeting flashplayer 9. I have created a menu that has 5 simple buttons in it. I use
a actionscript tween to move the menu from off the stage into view and back again. For some reason when the menu comes on the stage the hittable area of the buttons seems to be getting affected. I am dropping the menu onto the stage so I am only tweening the y property like so
var menuTween:Tween;
menuTween = new Tween(toc_mc, "y", toc_mc.y, 78, 1, true);
When the menu comes into view it is like the hittable area of the button gets squashed vertically down.Even though the text still appears perfectly fine and the background of the button looks right the cursor will only click on a small sliver at the very bottom of each button. Has anyone else seen this?
View 1 Replies
Aug 27, 2009
I have a dummy clip in my Flash application where I want to load the final content to.Now everything seemd to work. When I do a addChild() on the complete event, the addedToStage event is triggerd, I can do a gotoAndStop but it isn't visible. Just when I do a tage.addChild() or a root.addChild() I can see it. Even "root.myClip_mc.addChild()" doesn't work. The clip where I want to add it is at position 0,0.
View 2 Replies
Feb 23, 2010
I have the crossdomain.xml set and I've also tried setting the local playback to network only and still no luck. What I'm trying to do is have the user upload an image, then I pass that value over through PHP and a directory is created. After that hits it returns with the path and I try to load the image as a thumbnail and thats when i get the security error.
[Code]....
View 1 Replies
Sep 6, 2005
I'm working on a site where I have a flash animated logo in the header of all pages that links to the home page of the site. Sometimes that logo shows up on SSL pages. But when you link back to the home page, it needs to be non-SSL. But we don't want to always use an absolute URL because that makes testing in our local environment tricky.
View 6 Replies
Sep 16, 2010
I want to program a Flash file in ActionScript 3 so that the user of the SWF file can make changes to the program and these changes will be automatically applied to the original FLA file without any human intervention. A new SWF file will be activated containing the changes and this is all done without human intervention. The objective is to allow the user to make changes to a SWF file and have these changes made automatically. Is this possible to do in Flash?
View 1 Replies
Oct 20, 2010
I've changed the protocol for my flex app from https to http and flashplayer still wants to download the crossdomain.xml using https though with the port for http. [URL]..
View 3 Replies
May 24, 2011
I am working private network.This alread developped product which implemented using TCP(client server technology). Existing product is as follows
-There is a UI which is developed using flex, where user can see video or snapshot
-There is a server which is developed using c++,which redirects request from UI to gateway.
-There is gateway which is connected with the Camera,which stream video to UI through server.
Now we wanted to add p2p technology to existing client server.So it will support TCP as Well As UDP.Presently we are exploring flex and XMPP to implement the p2p.as newer version flex of flex support p2p using RTMFP, but thats the propriety protocol of adobe.if we use RTMFP we need to change all the existing code that we dont want.I wanted to implemented to p2p using flex client(UI) which will use XMPP to communicate with Gateway and Server. Is it possible to use XMPP from flex code.Will XMPP support UDP p2p or not.
View 1 Replies
Sep 12, 2005
Anyone ever received this message after using the "on (release)" and "getURL" scripts for a button hyperlink? You would think I had a typo somewhere, but I don't see one. Every button hyperlink produces this message then goes to the intended page after clicking "OK".
View 11 Replies
May 23, 2011
In our company we upgraded to fms 4 and installed the apache that comes bundle up with the installation. We had it configure and now we can play videos in html 5 by using the http protocol. The question I have is, can we use https protocol instead of rtmps? I've been doing a lot of research and I found documentation that says to put a minus sign in front of port 443 (-443) in the fms.ini file in the ADAPTOR.HOSTPORT line but it also says that with this configuration port 443 will only receive rtmps connections. My next step is to put the minus sign in front of the port number and restart the server and just try to establish connection using https to see if i works.
View 1 Replies
Jan 27, 2012
Anyone know about progress bar in rtmp i m making player using rtmp protocol because it allow to seek in any position even if the video data is not cache but i did not solve this issue how to display progress bar data is loaded i can do this in http protocol using Netstream.bytesLoaded and Netstream.bytesTotal i know rtmp is streaming video but i just want to know the when we pause in youtube u can see bufferlength in light gray which indicate this much of video cache i want to does they rtmp protocol or something else.
View 3 Replies
Jan 15, 2010
I have a Flex frontend connecting via RemoteObject to Zend Framework's Zend Amf. This is my only means to transport data between client layer (Flex) and the application and persistence layers (LAMP with Zend Framework).Some ways I can address security are as follows:
I can address TLS by using mx.messaging.channels.SecureAMFChannel in my services-config.xml file and ensuring Flash player is loaded into a HTTPS wrapper and is in fact using HTTPS since the AMF protocol is layered on top of HTTP RemoteObject has a setCredentials method with which I can pass AMF authentication headers to protect user related data. Assuming TLS was actually secure I can expose methods on the endpoint after authenticating the User.I can protect against cross-site scripting and other FLASH vulnerabilities with a properly set up crossdomain.xml how to I protect my endpoint against another AMF consumer? For instance, if there were another AMF consumer (not Flash so not bound by crossdomain.xml and Flash sandbox security) other than my Flex client that knew my endpoint, what would stop it from using methods that the endpoint exposes?
As far as I know I essentially need a way to authenticate my Flex application against my Zend Amf endpoint. After AMF consumer authentication, I have some of the security mechanisms I mentioned above to protect certain pieces of data (like User authentication). I can not embed some sort of authentication mechanism into my Flex swf because the swf is vulnerable to decompilation (the swf can not be trusted). While sensitive data is protected via User authentication the unprotected data is hardly public but as far as I can tell is totally open for public consumption.
View 2 Replies
Mar 9, 2011
Can anyone confirm that ExternalInterface works on the file: protocol, or point to some docs that say that it will not?
View 3 Replies
Jan 31, 2012
Is it possible to stream a radio channel in my website if I have the mml url mms:// ? I was checking out XML Flash Players but they do not seem to support that protocol. I am also ok if I need to code something but I would like to be guided in the right direction as I cannot find a lot of information about this issue.Is there something ready made? Would it be easier if I get my client to get me a different type of stream?
View 1 Replies
Jan 10, 2010
I'm trying to create a simple flash app that runs on the CD. I need to let user save some files from the CD to their local.
This script works:
ActionScript Code:
import flash.net.FileReference;
var listener:Object = new Object();
listener.onComplete = function(file:FileReference) {
[Code]...
View 0 Replies
Aug 5, 2011
video media player that supports rtmp protocol and has no branding? Maybe an open source general license? Simply to play flv files on a web page.
View 1 Replies
Jun 30, 2010
I am publishing my live stream with rtmpt protocol on port 80,to overcome network proxy.
But after 10 to 15 minutes (telecast) video get stuck and connection get lost.But i don't
have this problem when i use rtmp protocol with port 1935.
View 1 Replies
Dec 16, 2009
I build a project using Flash and Delphi. In Flash i need communication with delphi. Current i use ExternalInterface and FSCommand. Now i need Flash communication with Delphi via HTTP but it need open a custom port on Delphi and it can prevent by user's firewall. I see a product called F-IN-BOX it can implement HTTP link like [URL]
View 3 Replies
Jan 27, 2010
Flash can use the RTMP protocol to exchange data between a server and a client. How do you typically access this functionality in AS2 or AS3/Flex? For example to use sockets you use the XMLSocket (AS2) or Socket (AS3) classes. Does the server-side RTMP software use Sockets under the covers? or is it HTTP with tunneling?
The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash and a server. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and F4V formats compatible with Adobe Flash Player.
View 1 Replies
Dec 6, 2010
Where can I find a specification for the Flash/ActionScript debugging protocol? I would imagine that the protocol is public, as there are plenty of open source debuggers; If you're curious, I'm implementing an ActionScript Bytecode (ABC) to CIL compiler, and I'd like to make the resulting assemblies debuggable via standard flash debuggers.
View 1 Replies
Sep 27, 2011
system infoflash player version: 10_1_102_65OS: linux debian, 6.0.2web browser: Mozilla Iceweasel 3.5.16problem descriptionI have a flash file that uses parameters to show output on the screen. unfortunately i don't have sources and can't modify/review it.shows correct flash in the browser.but when i try to load flash from fileflash can't read passed parameter and shows invalid outputit's really strange. because when i downgraded flash plugin (from 10_1_102_65 to 9) both protocols works! That is something occurred in the flash player above 9.unfortunately i can't use Flash Player 9 in my production environment so i should resolve the issue with Flash Player 10.
View 2 Replies
Nov 26, 2010
I'm developing an online meeting system with audio/video sharing, using Adobe Flex 4 and Flash Media Server 4. I'm using the RTMFP protocol to make the transmission of audio/video which increases considerably the performance. The trouble now is that i must record the audio/video transmitted, but i figured out that when using the RTMFP protocol the FMS doesn't operate in the channels. So, how could i make FMS record this channels?
View 1 Replies
Mar 26, 2012
I want to use customised encoder to publish live steams to a FMS4.5 server?Is it possible to connect encoder and FMS4.5 server on HTTP protocol?i read in other articles FMLE can connect to FMS on RTMP protocol.
View 4 Replies
Feb 8, 2012
what's the best and shortest way to get this information?
i've read about BrowserInvokeEvent which contains a boolean of the sort - [URL]
yet i havn't been able to implement it.
View 1 Replies
Dec 30, 2006
Is it possible to detect whether an SWF file is launched locally or through a HTTP protocol?
View 4 Replies