Javascript :: NetConnect Fails Silently In Flash When Called From SilverLight?

Apr 30, 2009

I'm trying to write a Silverlight control that hosts a Flash camera and microphone (since Silverlight doesn't support these things natively, worse luck). I've written a short little Flex application ("WLocalWebCam.swf") which handles the camera, and exposes two external methods: connect(uri:String, streamName:String), and disconnect(). I can call these successfully through JavaScript as follows (simplified to remove error handling, etc.):

function connectWebCam(webCamID, rtmpUri, streamName) {
var flashCam = getWebCam(webCamID);
flashCam.Connect(rtmpUri, streamName);[code].....

View 1 Replies


Similar Posts:


ActionScript 3 :: Flash - AMF Zend Fails Silently

Jun 1, 2011

I'm trying to connect to a Zend-PHP service within a pure ActionScript program. I've managed to use the service successfully using Flex. (But Flex mobile apps are bloated, and typically 10x bigger than pure ActionScript apps - which is why I'm trying to write it in Pure Actionscript). I'm trying to access the PHP/Zend service that I downloaded, and used in the following tutorial:- [URL] The PHP code that I'm connecting to is available as a download from this site - as well as instructions about how to use it in Flex. And this is what I've written in ActionScript:-

[Code]...

View 2 Replies

Actionscript :: My Compiler Fails Silently

May 1, 2009

I have a large FLA (about 13 MB) which used to compile fine.

Recently, when I try to publish it, the AS 3.0 files are not getting compiled (Generated size report says 10 bytes for AS3 code) and the swf just keeps blinking (due to the unavailability of the class code for the components). When I tweak around a bit with the class path (and finally restoring it to where it was), sometimes it works

Is there any reason, why the compiler would silently fail. Does flash have any cyclic dependency problems (like in old include statements in C). I somehow see this as a compiler crash. I know there might something wrong with my code but it doesnt show any error.

View 2 Replies

ActionScript 1/2 :: GetURL Fails Silently In Browser?

Nov 28, 2006

I have a very simple Flash app that is basically just a set of links for a company home page. I've used getURL to direct the users to a number of web sites (e.g. Google, a train timetable website, a telephone directory website - and so on). It works fine when I run the swf directly on my test PC. However, when I run the html file (produced by the Flash Publish function), rather than the swf file, the app works but nothing happens wjhen I click on the links. It is as if getURL was being ignored.

I have tried this using swf files saved in Flash 8 or Flash 7 versions, and in IE 6 and 7 browsers. The purpose of the app is to provide the users with links, but as none of the links work it is pretty useless.

View 5 Replies

Actionscript 3 :: Document Class Silently Fails

Jul 21, 2010

I have this weird issue while compiling my .fla file : it won't use the Document class. Here is the document class. (note that the parent class EditorPlugin extends Sprite).[code]...

View 1 Replies

Javascript :: Cross-domain Browsing Javascript, Silverlight Flash?

Oct 2, 2011

I'm trying to write a web application that searches google and then downloads the result sites and parses them.The search has to be done on the client side. Without implementing a server side proxy.Can this be done using javascript/sliverlight/flash?

View 1 Replies

Javascript 3 :: Can A JavaScript Function Detect Which Flash DOM Object Called It

May 20, 2011

Here's the challenge: I have a Flash movie which will be embedded in a page using an unknown DOM ID that I want to be able to identify/store for callback in a JS function. My ideal user flow would be: User clicks button in Flash. Flash pauses any animations / video / sounds / etc. Flash calls an injected JS function to display a page-covering overlay experience. When user closes overlay experience, a callback method on the Flash object is called. Flash resumes playback.

The problem is, when AS3 uses the ExternalInterface.call("functionName", args...) method, there doesn't seem to be a DOM event triggered, and thus it is impossible to tell which object called a JS function, so having a "registerMe()" function doesn't seem to work. Basically, the injected JS function has no way to determine which DOM object to call, because the ID of the Flash object is unknown.

[Code]...

View 3 Replies

Flash :: Paste An Image Into Silverlight / JavaScript?

Mar 1, 2010

Is it possible to allow users to paste image data into a Website? That is, they have an image in the clipboard and can paste it into an HTML Site? (I would then somehow grab the bytes and store them - persistence isn't the problem here) It needs to be Cross-Browser IE8, FF3.5 and Chrome 4, but I can use browser plugins like Silverlight, Flash or bare JavaScript if possible (I might even use Browser Plugins, although that would be painful to manage and IE would need ActiveX is guess...). Also since it's an internal site, I can add the site to the Local Intranet Zone in IE (not sure if that changes stuff for Firefox and Chrome).

View 2 Replies

Javascript :: Silverlight And Flash Bridge Compatibility?

Dec 23, 2010

I'm developing a Silverlight4 drop-in replacement for an existing Flash client. I would like to maintain compatibility with the existing Flash HTML bridge javascript functions, but I can't figure out how to expose the javascript interface directly on the Silverlight client object instead of a contained object.

In Flash, it is possible to call Bar() directly on the client object, as in:

var flashClient = document.GetElementById(_currentFlashId);
flashClient.Bar();

But in Silverlight, I haven't found a means to call an interface directly on the Silverlight object. Instead, it appears interfaces can only be exposed on contained objects, as in:

[Code]...

View 2 Replies

Javascript :: Webcams In HTML5 Without Flash Or Silverlight

Dec 10, 2011

So now Adobe has pulled the plug on Mobile Flash and are pushing more for HTML5, and Silverlight has pulled the plug too, what's next for interactive video content. So if they die out (as they are currently trying to do) how do we access web cams (or even phone cams) on websites. The HTML5 Media Capture looks like it doesn't support streams only Files, so that could be out, is there any alternatives at the moment, or in the near future?

View 1 Replies

Web Development :: Can JavaScript Be A Viable Alternative To Flash And Silverlight

Apr 15, 2012

I think JavaScript is very close to have everything that RIAs can offer. What's missing from or for JavaScript to make it a viable RIA development alternative?

View 8 Replies

Javascript :: Any Recent Performance Comparison Among Silverlight And Flash

Sep 25, 2010

I googled it and found some old results like bubblemark.com, link text and link text. But is there any recent benchmarks as all the platforms have been updated. I like to measure the speed of silverlight 4 against the modern and faster javascript engines.

View 1 Replies

Javascript :: Clicks On A Flash / Silverlight Object Under A HTML Overlay?

Apr 22, 2010

is it possible to let clicks on a HTML element that's overlaying a Flash or Silverlight object bubble through to the Flash / Silverlight object? I've been experimenting with this, but i can't figure out if it is even possible because of possible security restrictions to prevent clickjacking.I don't have access to the source code to the FL / SL object, so i can't implement an ExternalInterface or something like that.

View 2 Replies

Javascript :: Put Silverlight Application Inside Flash File(swf - Browser Independet Which Run With Flash Player)

Sep 30, 2010

i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need of browser) or any other way that i can embed my Silverlight application inside Flash.

View 1 Replies

Silverlight :: Flash Vs Silverlight On Localhost /local File Permission To Access Remote Webservice?

Mar 30, 2011

In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.

View 1 Replies

Silverlight :: Play Mp4 Within Webpage Via Silverlight Or Flash For A URL Hosted On Amazon S3?

Feb 7, 2011

i need a webpage (host on my website) that can play the following mp4 file either via silverlight 4 or flash[URL]..i tried various solution like flowplayer and silverlight but none of them work with the URL above. I can play the file fine using Windows media player or VLC.

For silverlight, i always get AG_E_NETWORK_ERROR exception within MediaFailed event. For flash, via flowplayer, IE page is just blank

Can someone tell me what am i missing? i am very frustrated as I have finished encoding, upload, cataloging my videos and now I am stuck at the last step.

View 1 Replies

Flash :: Silverlight - Resources For Cool Silverlight Image Animations?

Sep 5, 2011

I found Vectorlight which is quite good, but are there any tutorials or books about doing cool effects with silverlight. I'm after for resources focused more for a designing and presentation. Mostly the books about Silverlight is focused on doing boring business applications like making grids and forms.

View 1 Replies

Flex :: Loading A Module Fails The First Time Load() Is Called, But Succeeds After?

Jul 19, 2011

I have a Button that when clicked loads a Flex module in my AIR application. However,occasionally the Module fails to load the first time the button is clicked, but it works the second time it's clicked. When I debug it in the debugger the READY event is not fired so the remaining logic is never called.

var moduleInfo:IModuleInfo = ModuleManager.getModule(managedModule.url);
moduleInfo.addEventListener(ModuleEvent.READY, function(event:ModuleEvent):void {
trace("ModuleEvent.READY called.");

[code]....

View 2 Replies

Silverlight :: Comparing Flash, HTML, Silverlight, X3D And Unity 3d?

Mar 5, 2011

I have to prepare a comparison between the following technologies to present it to my Project Manager, but I fell that I'm lost I want to compare between them in the following areas:the support of online video streaming the budget of using each one Learning Time will be needed to learn the technology Which one is the standard and will target a lot of users The support if I found any problem Bugs and security issues connection to DB, SOA and web services supporting of multi player

View 7 Replies

Silverlight :: Does Windows Phone 7.3 OS Supports Flash And Silverlight

Dec 26, 2011

I am currently working on a windows phone project where i have test the compatibility and I do not know flash and Silverlight is supported or not on windows phone 7.3.

View 1 Replies

Silverlight :: Hire A Flash Or Silverlight Developer?

Feb 14, 2011

Is there a website where you can go to find developers?

View 1 Replies

Javascript - Web Standards Alternatives To Flex/Silverlight?

May 19, 2010

Is there a set of open standards technologies that I can use to achieve the same way of development as in Flex and Sivlerlight? I am talking about componentization, separation of concerns, rich graphics, states and effects . Please point out some tutorials and other resources if possible.

P.S. I KNOW that this is technically possible, so please do not respond by sending google search results or general JQuery tutorials. I've seen those already. I need to know how a Flex / Silverlight developer could design and implement an application in roughly the same way (imagine a rich HTML tag set, much like XAML/MXML, behind which stands JavaScript responsible for handling events and business logic.

View 3 Replies

Actionscript :: Flex Netconnect ( Property OnTest Not Found On Flash.net.NetConnection And There Is No Default Value )?

Mar 20, 2012

Having this code: nc.call("test", new Responder(onCallSuccess,onCallFailed), "user1");

and

public function onTest(id:String):void {
Alert.show("test called from server");
}

Results in: ReferenceError: Error #1069: Property onTest not found on flash.net.NetConnection and there is no default value`.data is send from server application correctly but flex cannot "eat it"

View 2 Replies

Flash :: Generate A SWF From Source Automatically To Be Called From JavaScript

Oct 4, 2009

I have some data-crunching code implemented in ActionScript, and I'd like to call it from JavaScript. The related question [URL] mentions the blog post [URL] which tells me how to do this. All I need now is generating the SWF file from the .as file completely automatically, with a comand-line tool on Linux. How is this possible?

View 4 Replies

Flash :: Playing One Sound At A Time In Called From Javascript?

Jul 15, 2010

I'm working on a site, for kids, which has a small avatar in the corner that talks.The avatar is a flash file and the plan is to determine what it says through a mix of javascript and ajax.

Unfortunately when I make the flash file play an Mp3 file through JavaScript, I can't seem to stop the sound.. so when I keep clicking on a link which causes it to talk, I hear the sound repeated x times.

The odd thing is, when I attach the very same code to a button in flash, there seems to be no such limitation. It seems as if it won't store anything in global variables when calling from JavaScript.

View 2 Replies

Identify Which 3rd Party Flash Object Called A Javascript Function?

Jul 21, 2011

I have a page with multiple flash objects which are written by a third party and thus can't be changed. They call a JS function but don't seem to pass any identifying parameters. Is there any way to determine inside the function which flash object called it?

View 2 Replies

Silverlight :: RIA Using Flash Or Silverlight Vs JS Framework

Sep 14, 2010

In creating a RIA, what are the advantages and disadvantages of each approach?

View 1 Replies

Actionscript 3.0 :: Calling Function In Content.swf From JavaScript Fails?

Dec 22, 2009

ARCITECHTURE:the way I've set up this Flash doesn't work properly.in my html I load a preloader.swf.this preloader.swf is build with ActionScript in the first frame.this preloader.swf loads a content.swf this content.swf is build with ActionScript in a Document Class...

everything works properly this far.MY PROBLEM:my problem comes when I - using JavaScript - try calling a function in my content.swf the function I try to call is this:

public function playThisMovie(theMovieToPlay:String):void {
var newM:String = theMovieToPlay;
ExternalInterface.call("alert", "the new movie is = "+newM);
}

when calling this function nothing happens, even though I know the function exists..can it be, that I cannot call my function because it is inside my content.swf..and if yes, is there a workaround I can use?

View 6 Replies

ActionScript 2.0 :: Get The Url Loads Silently In The Flash?

Sep 20, 2007

i've made a flash page and I want when a user view my flash a url loads in the flash silently i've tryed getURL method but when the URL loads in the flash the page changes but I don't want the page change .think I want to log user IP by loading a php or sth like that.

- I don't want to use iframe outside of the flash like getURL("http://myurl","htmlframe");

- I don't want to to solve it in html codes (OUT of the flash).

I just want the url loads silently in the flash.

View 8 Replies

Silverlight :: Silverlight - 3D Object Viewer In Web Browsers?

Aug 3, 2011

I am looking for a 3D object viewer for my website.

Requirements:

Files: .stl,.wrl, *.3ds *.vrml, *.obj, *.ply, *.skp

display: models in color and non color

Unit of Measure: Meters, Centimeter, Millimeters, Inch

Volume: 3D object viewer has to calculate the orginal size of the model

Rotation&zoom: user can rotate/zoom with mouse and rotate/zoom by clicking buttons

Browser: IE& Firefox

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved