ActionScript 3.0 :: Interprocess Communication Between Flash And Visual C++
Feb 26, 2009
I need to invoke a dll/exe upon selection of controls in flash like checkboxes,radio buttons etc.. By getting the status of the controls I need to perform the actions in my aplication which is developed in VC++ and accordingly I should give responses to flash.
View 1 Replies
Similar Posts:
Jan 26, 2010
Can I build up visual communication just based on two flash client points? I mean a live video connection from a client side to another client side, without FMS.
View 1 Replies
Sep 19, 2010
I create their basic Flash app with their Flash IDE for Visual Studio 2010 http:[url]....When launching the run button, it launch flash but with this error within Flash CS4: The following JavaScript error(s) occurred:
t line 6 of file "FlashApplication1.jsfl": Cannot find file file:///C:/temp/FlashApplication1/FlashApplication1/FlashApplication1.as.
View 1 Replies
Jun 26, 2009
how to build and compile flex 3 projects in visual studio? I prefer that environment to Flex Builder 3.
View 2 Replies
Jan 30, 2012
In my attempt to create a simple Pong-like game, I've encountered a very strange and at times severe visual bug.When I set the ball (A Flash CS 5.5 library MovieClip) in motion moving around the screen at a rather fast speed, I've noticed that sometimes the edges of the ball would be cut-off for a short moment in the direction it is moving.
When it happens, it almost seems like the position of the ball MovieClip is slightly ahead of its own border and thus the part that is outside the border fails to get drawn.
Here's a picture that illustrates how this looks - at least for me:
You can also view the .swf file online here: [URL]
Some technical data:
I've been unsuccessful in capturing the with a screenshot no matter how much I tried. Sometimes I would open the .swf and the bug would be almost non-existent while at other times it was very blatant. I'm using an EnterFrame event function to increment / decrement the x and y position of the MovieClip. I have never encountered any such problem in any Flash app, in this machine or others. Truncating / rounding the x and y values of the MovieClip didn't help. Neither did setting cacheAsBitmap to true.
View 1 Replies
Jan 8, 2009
i know how to program in vb.net, and have little problems switching to action script. the only problem im having is that i dont know where to type my code. in visual basic there were events that you would type into. does any one who knows Vb know what im talking about? i get the whole convert to symbol stuff just not where im supposed to type
View 3 Replies
Jan 13, 2010
Most of my applications are a combination of VB.NET and Adobe Flash, such that the VB application is displaying a Flash file inside the main form (using Adobe's COM object). The VB application is communicating with the Flash file via the ActionScript ExternalInterface and FSCommands (using XML strings). I'm having a hard time debugging the applications, since when an error occurs withing the Flash file (due to a bug in the ActionScript code) I'm getting a non-informative exception.
What I'd like to do is to debug both codes at once. At the very least I'd like to see the runtime error output as it is shown when I'm working with Adobe Flash. At the best scenario, I'd like to be able to hook my VB.NET code with the Actionscript code such that I can use breakpoints in both.
View 2 Replies
Jul 1, 2011
I'm trying to make a visual novel in flash, I have created the UI and the characters, but I don't know what could be the best approach as how to load the dialog and how to save them. I've been thinking about external files, but I don't know what could be the best type of files to do so. Also, when I load the game I want it to continue in the same scene and with the same variable values (obviously) is there a way where you can save all of them (like an image of the game).
View 2 Replies
Sep 1, 2009
Most of my applications are a combination of VB.NET and Adobe Flash, such that the VB application is displaying a Flash file inside the main form (using Adobe's COM object). The VB application is communicating with the Flash file via the ActionScript ExternalInterface and FSCommands (using XML strings).
I'm having a hard time debugging the applications, since when an error occurs withing the Flash file (due to a bug in the ActionScript code) I'm getting a non-informative exception.
What I'd like to do is to debug both codes at once. At the very least I'd like to see the runtime error output as it is shown when I'm working with Adobe Flash. At the best scenario, I'd like to be able to hook my VB.NET code with the Actionscript code such that I can use breakpoints in both.
Edit: Environment: I'm using Visual Studio 2008 and Adobe Flash CS4.
View 0 Replies
May 5, 2004
I was just wondering if anyone out there has had any luck trying to get a flash app to talk to either a visual basic or c++ application? I need to build a player [flash embeded into the vb or c++ application] that when the user say, pushes a button, calls a function or action from within the app. Any Idea How would I go about this?
View 1 Replies
Jan 31, 2010
inserting a .swf or flash files in visual basic asp.net give me coding sample or procedure or a link to inserting a flash files in my web form in vb asp.net
View 2 Replies
Apr 25, 2010
I have seen this image swirl effect on a visual thesaurus. Is there any open source code for this? I don't care about the algorithm to match similar objects. I only am wondering about the effects.
View 1 Replies
Aug 1, 2010
I've checked the document: [URL] But still don't find info on how to control the visual affect (like lightness, saturation and so on) of my pc camera. Is that kind of job possible with actionscript?
View 2 Replies
May 29, 2011
I'm trying to create a visual waveform for an MP3. The code I've included is called on successful load of the MP3. I intend to extract just a few important samples from the sound to create the waveform, rather than extract the entire sound into a bytearray. Even on a good machine, extracting an entire song can cause flash to freeze up for 3-5 seconds (or longer!). For my purposes, this isn't feasible.
Unfortunately, the code I've got below is failing to produce any numbers. If I extract the entire song it functions, but extraction of just the key points is giving me nothing. Does performing an extract make the remainder of the sound object invalid for future extracts? If so, is there some way around this that won't freeze flash for an extended period of time during the extract? Some important variables from the rest of the code:
[Code]...
View 2 Replies
Dec 27, 2011
I am trying to make a Flash player plugin using Visual C# 2008 language
View 1 Replies
Apr 20, 2005
How I can connect Flash commands at formes of visual basic 6?
example:
when I insert Flash Movie (.swf) to form1 in visual basic
this Movie contain 2 commands (a,b)
when you click command (a) then convert you to form 2 in visual basic
&
when you click command (b) then convert you to form 3 in visual basic
View 3 Replies
Jan 21, 2010
I want to use the checkbox component in my flash app, but it's really tiny. According to this article 1, the size and scale parameters only affect the invisible bounding box. Does anyone know of a quick solution on how to scale up (enlarge) the visual area of the checkbox component in flash CS3?
View 2 Replies
Jun 1, 2011
I need to run some code when a panel is destroyed. The code is simple, I have some Background tasks while it is opened, but need to stop them when closed.
I have a Close button for the panel, and I stop the BG Tasks when the user wants to close the panel, the problem is that they have access to a top menu bar too and can jump to another application module/part throught it, so, the user can exit the panel (when exiting, the panel is automatically destroyed) but the panel close event code is not executed because the close button was not pressed.
One solution could be to inherit from panel and add a post step method that is called when swapping modules, etc... So, if the user wants to move to another place through the menu bar, my system will first call sometihng like PreEnd() method on the panel and everything will be solved. But, is there any event that I could catch from the panel when it is destroyed to accomplish this? I have been checking the documentation but couldn't find anything useful to achieve what I explain.
View 1 Replies
Apr 9, 2012
I have a small program developed in Visual Basi 6 and would like other users to access it through my Flash Website. Is it possible to do so. It is a database program that retrieves data from MS Access database which is used as backend.
View 1 Replies
Mar 16, 2010
I have this code under a button in 'as2.swf'
[code]...
and this swf is being loaded into as3 container called 'main.swf', but when i press it nothing happens and the file does not unload itself.
View 1 Replies
Mar 7, 2011
I recently made a mp3 player in Flash. I have an aspx page that has the mp3 player in it as well as a .net button which is disabled on page load. The .net page tells the audio player waht file to play and the player plays. What is supposed to happen next is when the audio player reaches the end of the file the button on the aspx page is supposed to become enabled. I am not sure how to do this [have Flash tell the aspx page that it is done playing].
View 2 Replies
Nov 5, 2009
I am not any kind of network programming pro, but it happened that I have faced necessity to develop socket-server on php (no way for using Java) for flash multiplayer browser-game (standard features like locations, team battles, etc).
The main problem is that TCP is point-to-point protocol and it completely occupies given port.Of course it is possible to create some kind of queue, which will manage connections to the socket, but this solution doesn't seems to be the fittest one.
It seems to me that using interval of "fair" ports (from 2000 to 2200, for example) is more fitting solution, because one request may take a lot of time to execute and players won't be happy to wait in queue.
But how can I implement this "port inteval" strategy?The solutions that I see are:
launcing php-script per every port (he-he, 2 hundreds of launched scripts!);somehow forking the initial process to new processes (2 hundreds of processed? Not nice too), one for every port;additional while-loop, which listens all the ports (looks very bad);using threading or something like that (the problem is that php is single-threaded, as far as I know; pcntl?).But somehow I don't like any of them, or at least don't know how to implement them in the best possible way.
What is the best existing strategy to handle multiple requests from multiple users per time unit without delays, and how to implement this strategy in php? We have our own Debian-server, so it is possible to use any required php extensions.
For example, if we are trying to develop chat application, we need some sort of fixed (I mean persistent) connections for each user. For example, we have 80 users in chat, and then one of them posted a message, which server tries to handle and send to all other connected users, also putting an entry to the history file or something like that.
In this situation polling server for new messages every 10 seconds from each of 80 users is craziness, so the need in persistent connection gets obvious.But I don't know what is the best way to implement something like this, considering that not all requests are handled instanlty.
View 2 Replies
May 19, 2010
Is it possible to call my ejbs from Flash actionscript?Also if my ejbs are returning List how will flash come to know about this class?
View 2 Replies
Jun 28, 2010
How can I make something like this: [URL]One flash triggers the other one.
View 1 Replies
Apr 24, 2010
I'm trying to implement a basic WebView containing a SWF file inside. The SWF file plays and apparently works fine. However I'd like to know if there's some way to retrieve an ActionScript variable from my Cocoa application.
View 1 Replies
Jun 15, 2010
I'm communicating from a flash application using a command like the following: ExternalInterface.call("hello", "world") This is handled on the C# end by something like:
[Code]...
The axFlash_FlashCal is called fine, as long as there is a textbox on screen that's set to use TLF text. (any textbox will do, no specific ID). Without the textbox the even will not fire. (Even though ExternalInterface.Avaliable is set to true) I've tried using CS4 and CS5 to publish, using both Flash 10 and 9 as output.
View 1 Replies
Jul 21, 2010
I am having in issue with IE passing a string back into an swf using the EternalInterface class in Flash CS4.I have an swf with the following code: var externalString:String = ExternalInterface.call("IncomingJS")which is inside an event listener attached to an Event.ENTERFRAME and an if statement waiting for ExternalInterface.available. [code]I am able to successfully get the externalString variable and procceed with the rest of the AS3 script in Firefox, Safari and Chrome, but not in IE.If I add in an alert (stringFromHTML) before the return statement in the Javascript, I get the value of the stringFromHTML spammed, which looks like Flash is firing the function at the right rate[code]Unfortunately, the HTML code is actually working within a 3rd party HTML generator, and one of it's limitations is that I can only have a single line (with unlimited length) of html at a time.Are the other options (swfObject etc) able to run either with no line breaks in the code, or would I be asking for trouble with Javascript and the SWF to, instead of embedding the SWF directly, use something like an iFrame and refer to a 'proper' flash delpoyment html file?
View 3 Replies
May 24, 2011
I'm doing some experiments with Adobe Cirrus. I've managed to connect 2 clients to each other. But what I want now is the following:
I want client A to publish and clients B and C to play A's stream. I've tried to do this. A starts publishing, B and C create receiving NetStream based on A's nearID. Unfortunately only latest connected to A client can play A's stream.
View 1 Replies
Sep 26, 2011
I am trying to make connection between two datagrid in two separate windows.
Until now, I am able to create a datagrid in one FLEX browser window but got stuck furthur.
On some click event in one of 1st datagrid row-column field value, (i.e itemRenderer in form of button), I want to open a new window (using some LocalConnection or ExternalInterface.call) to open another window with the part of the original data grid.
Which method should I use - LocalConnection or ExternalInterface.call ?
View 1 Replies
Feb 29, 2012
How do I do this? Inside the parent swf myVar value is set by query string value loaded in by swfobject var myVar = _level0.part; // i have the value 123 here ..all good so far
[Code]...
Always childLog.text is undefined :( - so how to access the value of myvar from the child?
View 1 Replies