ActionScript 2.0 :: DC Motor Control Using Flash/ VB / PHP
Nov 14, 2004
I have one SWF housed within a PHP document, and I'm passing variables from PHP to Flash. Then I'd like a set of variables to be passed from "SWF1", which is housed in the PHP file, to "SWF2" which is housed in a Visual Basic .EXE file and used to control a set of DC motors. I'm assuming that I need two SWF's for this, but if anyone has a way to do it with one please let me know.My concern is with how to pass variables from these two seperate SWF files that aren't housed within a host SWF or even the same host.I suppose it can be done with text files?
View 1 Replies
Similar Posts:
Jan 11, 2011
I used motor in my game and if i keep open the swf for some time ( almost 10 min), it shows unusual behaviour.. ( 4 leaf motor get stop rotating.. single leaf motor like a pedal, gets move apart from the original point..)..
View 10 Replies
Nov 4, 2009
Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).
View 1 Replies
Mar 21, 2010
I have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
View 2 Replies
Oct 12, 2009
I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......
View 2 Replies
Mar 21, 2011
im trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:
[Code]...
View 2 Replies
Jan 2, 2012
1) Passing a control itself as parameter into a function 2) Passing an id ( managed manually) of the control as a parameter into a function . Say for an array of controls I have ctrl_Array = [ my_btn, my_mc, my_dtg ] and corresponding id_Array[0,1,2] PS: If my question is difficult to understand, i just wanna know, if it is a good programming practice to pass control references among the classes as function parameters ?
View 1 Replies
Nov 28, 2008
Is it possible for flash to access the windows xp system volume controls?I assume flash can't by it's self, but can flash be used to trigger a function in another language that can access and alter the system volume? At least detect if the audio is muted on the system and give the option to turn it on.The flash movie would be embedded in a browser. The content of the movie has audio that is required. We want the user to be able to control the system volume from within the flash movie.
View 0 Replies
Aug 1, 2007
I have been racking my brain trying to come up with the best way to make a flash movie that can interact with html links on a page. Basically there is a list of products (about 20) that are currently just html links. On the home page, the client has asked for a flash movie. When you roll over product items, the flash movie should jump to an animation relating to that product. These animations could all be built on the timeline of one flash movie, or could be multiple .swfs.
So far the best idea I can come up with is to have multiple swfs. I could potentially position each one absolutely so that they stack on top of each other. Then use CSS or javascript to change the stacking order when you rollover the links.
- I have used javascript to make disjointed image rollovers, is it possible to mouseover a link and then swap a swf file?
- if you mouseover the link, can javascript send a variable to flash, and then have actionscript detect that variable and send the movie to the appropriate keyframe?
- Is it possible to achieve the effect I am looking for if you click the links instead of rollover them?
I am using flash cs3, so i can use actionscript 2 or 3. What I am trying to avoid is creating the whole page in flash, as it would be inconsistent with the rest of the site.
View 2 Replies
Aug 25, 2009
I have 10 different buttons and I want to toggle their visibility with one command. How do I group them to achieve this?
View 3 Replies
Oct 14, 2010
i have a simple 2 frame movie on pc1, when it starts it goes to and stops at frame 1 , we need to be able to change to frame 2 when a user clicks a button on PC2 (can use php/VB etc). It's all on a closed lan so no security problems .
View 3 Replies
May 25, 2010
Does anyone know how to control a projector on a pc, from another projector on another pc, in the same LAN?
View 1 Replies
Sep 19, 2011
We are going to make a lot of small flash animations with different messages, and put them on a big screen. They will be saved as SWF files.
Is there a framework or anything that enable us to make a easy controller for this, so we can control both a loop, but also play a specific clip when we want?
View 1 Replies
May 25, 2005
Can Flash control the visibility of a html layer <div>? Example: I am building an eyeblaster style banner and would like flash to turn off the visibility of the div containing this banner, either when they click close or the movie reaches a specific frame on the timeline.
View 2 Replies
Jan 14, 2009
I have a music web site that has 20+ song titles per page. I have a small flash mp3 player for each song which works properly.I run into a problem though if you click to play a second song. The first one keeps playing, so they end up playing simultaneouslyI understand there is a way to control Flash using Javascript so that when you click on a new song, the other one will stop.
View 7 Replies
Feb 24, 2010
how to import 3d object.URL...click on the link above and then left menu choose 3DVR to see the what i'm asking for..i have a few questions about.. how to importing 3d object into flash? which file format they use?..... which software they use to create 3d object for website?
View 1 Replies
Apr 7, 2011
I'm newbie with AS3, I have a case which I spent a lot of time and did more research on Google but still not figure out how to solve it. I'm really stuck in the mud ! I use AS3 to load a SWF file, in the SWF file have 2 MCs for example. I expected that I can control (stop or play)those MCs from the SWF. I write a function test() in the testSWF.swf, testSWF.wsf is file which will be loaded.
[Code]...
View 3 Replies
Nov 19, 2008
how to control flash with wireless presenter or a PDA Phone? I have problem with this, i see many presenter are using wireless presenter to control powerpoint slides instead of standing near the pc/laptop to press next button with finger, i'm wondering whether the wireless presenter works with flash too? and i own a pda phone, i can treat it as a powerpoint remote presenter, but it can't work with flash.
View 2 Replies
Oct 29, 2009
I got a code for a flash player but it only has a start and stop button . I would like to know how to add a volume control and a pause button.
Here is the code;
var nc:NetConnection = null;
var nsPlay:NetStream = null;
var metaDataValues:Array = new Array();
[Code].....
View 2 Replies
Jan 29, 2010
I have a flv playback compotent and I created a control bar with play and pause button. I would like to hide the bar until the mouse rolls over it and then it would appear for a few seconds and then hide again. Much like the skin effect, but I'm not using the skins.
View 4 Replies
Nov 18, 2010
can you use another form of content to control a Flash object embedded within an HTML page? Was thinking of a CSS menu to start with but really dont see how its possible, but that led to the idea of another Flash object within the page. (have Googled this extensively but all I seem to get these days from Google is a billion pages wanting to install some shady plugin or offer me some download of a handy .exe file that will solve all my problems.. )The reason being is the layout of the site (img attached) I would like to have a nice menu in a seperate div above the one containing the flash object.
Have toyed with the idea of having a strip within the flash object that matches the style of the page at the top of the content part (indicated by rainbow strip in img) and attaching the menu to the top of that (thus seamlessly blending in.) I really am wondering though, whether one F object can be used to control another embedded within the same page?
View 2 Replies
May 4, 2009
I've done this a long time ago and for the life of me cannot remember how(even found my old post here, where I said fscommand did the trick, but I never wrote exactly how I did it).I have two text links in HTML on my webpage. I have a small flash movie on the same page.
I want to have the flash movie jump to a specific frame when one of these HTML text links is clicked. And to another frame when the other is clicked.I did it before with the fscommand, but I can't remember which project it was for so I can't look at my old code.
View 6 Replies
May 4, 2009
I need to turn off/on all the sound for a flash animation. The flash control contains a layer named sounds that has 5 sounds associated with it in keyframes at different time. How can I simply turn on/off everything using a symbol button.
View 2 Replies
Aug 18, 2010
I want to use a calender control in my flash project.. I cant see any calendar control in Flash CS4 .. How can I use a calendar control in CS4 ?
View 3 Replies
Nov 11, 2011
I have a need to control one flash movie with another. For example: I have a graphical interface created in Flash AS3 which is simulating the control of machines on the ocean floor. I have 3D animations that will animate what is happening on the ocean floor when a control element is activated on the graphical interface. At the moment I have this happening all in one Flash player window that has been made to look like two windows. One which is the interface...one that is made to look like a small screen showing what looks like video coming in from a camera on the ocean floor.
What I need to be able to do is have the Control Screen as one window, and the animations to appear in another. In this way we can set up two monitors, have the control screen on one (computer monitor), the animations playing on the other (a large plasma connected to the same computer). The animations need to play within a flash shell and the control screen would need to play in a separate shell. So in essence I need to be able to double click on an .exe....two screen will activate showing one screen with buttons that port animations into the second screen which I have positions to play on the larger screen.
View 6 Replies
Dec 6, 2011
I have created a video with a control bar in Flash 8. When I run the .swf file by itself (in Flash player or IE) the control bar is there but when I add it to my web page the control bar is missing.
[CODE]...
View 4 Replies
Sep 9, 2010
I'm using jquery to drag popup control around the page ,every things work fine but when the page has flash movie the popup doesn't appear over flash also when set z-index to 100 .
is there any work around this issue???
$('.modalPopup').ready(function() {
$('.modalPopup').draggable({ zIndex: 2700 });
});
View 1 Replies
Sep 28, 2010
The code below works great except the user has to right click the video and then left click "play". Is there a way to add the control bar via param?
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL]" width="360" height="270">
<param name="movie" value="File1.swf">
<param name="quality" value="high">
<param name="play" value="False">
<param name="enabled" value="True">
<embed src="File1.swf" quality="high"
pluginspage="[URL]" width="360" height="280"></embed></object>
View 1 Replies
Aug 15, 2011
How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play but I want it when you press play button, then play and pause, volume, next & back as well.
View 1 Replies
Sep 17, 2011
I am making flash player that suppose to be controlled from outside, from javascript.
I need those methods: Play/Pause and Volume level
I am stuck with volume level... I tried to add this code:
flashMovie.volume = 10;
Where flashMovie is flash instance... And it's show NO ERROR but it's NOT WORKING
[Code]...
View 3 Replies