ActionScript 3.0 :: Controlling Devices In The Outside World?
Mar 4, 2010
What I need to know is if Flash can control objects outside of the computer itself. Example would be if you had a light hooked up or something like that, could you use ActionScript code to illuminate said light when a button is pressed. Somehow control the output of power to a source outside the PC when Flash is told to do so.
View 4 Replies
Similar Posts:
Feb 26, 2012
Have anybody found or seen real world example of using FXG files in real world applications?
View 1 Replies
Aug 11, 2010
Im making a game, and im very new to this, so please explain as good as you can. I have started with making the background which is a simple world map. I put in script so you can scroll around the map with the arrow keys. Now this will be a wargame, so i need some kinda grid over the map, like buttons of 50x50 placed all over the map, like the board game Risk for an example, so people can fight for territory. I tried doing this with buttons but made the game file very large, and it used to much ram.
View 13 Replies
Mar 23, 2007
I'm trying to delve into the world of Flash/XML and the horrible mess they make together for me
This is my XML:
Code:
<?xml version="1.0 envoding="IS0-8859-1"?>
<events>
<event>
[Code]...
I've added a dynamic text field on the stage with the same name as the elements. Then, I want to be able to call several instances of it...i.e. add another <events> code block and have that come up underneath the existing info. I've search high and low to try to do this myself and I've failed miserably.
View 2 Replies
Sep 16, 2003
I have a map and want to be able to show the date and time on a few individual parts of the map. The date and time will display when the users roll-over the area of the map. There are about 10 different areas. Can someone tell me if that's possible.
View 2 Replies
Aug 16, 2010
Right now I am creating a game kinda like the helicopter game. I have been trying to decide how make my world. I tryed drawing the entire thing and then just have it play through in a motion tween (classic tween) but that was way to time consuming. Also when you hit the objects in this world you die and its game over just like in the helicopter game.
View 4 Replies
Jul 14, 2010
I have some beautiful CATS drwan up for me. In typical avatar style you can change the colour, hat etc... of your avatar.What is the best set up for the assets.
1. Would I programatically import the HAT asset for example when chosen by the user
2. Would I have all the assets sitting inside on a layer inside the avatar - then it would be MASSIVE
Once the avatar is created it needs to walk around my virtual world etc... I don't want the MASSIVE avatar walking around with all the assets inside it.How would I only get what the user chose ie: A red cat with a black hat.Also, the colours would be best to programme them in otherwise I would have to have 10 different coloured copies. Is that right?
View 4 Replies
Mar 5, 2012
I'm getting "Application descriptor file cannot be parsed" before I've done anything -- see screencast at I've spent several hours trying various dialog boxes within Flash to change air/publish settings, editing XML file by hand, trying to launch things using AIR SDK outside of Flash, googling for something similar, but I can't seem to come up with anything that works.I'm curious if other people follow the steps I followed in the screencast if they get different results. I think they must, as I'm just following the first couple of steps from
View 3 Replies
Jan 7, 2010
Can I get something like this [URL] , which selects the continents when I hover on the languages? I have searched a lot for this kind of map but have not been able to find any.
View 2 Replies
Sep 29, 2010
I've been having problems modifying this code in order to make it show 5 different world clocks. Right now, the simpleClock code shows just one simple clock. making it show 5 clocks next to one another and each clock having the time of a specific city in the world.I know that I only need to change the hours for each clock based on the time in that city but I also need to have the clock change color to represent the time of day. This is the codes for the AnalogClockFace and SimpleClock.
package com.example.programmingas3.simpleclock
{
import flash.display.Shape;[code]....
View 1 Replies
Jul 23, 2010
I understand the menu, but something I'm trying to reverse-engineer is the rotating world. I don't believe it's a movie clip because I can drag and rotate at will which leads me to believe that it's dynamic. So did the design firm use a graphics engine to do this?I was thinking After Effects for the flares in the background, but the rotate-able Earth throws me off.
View 1 Replies
Feb 19, 2010
Has anyone created a custom map chart of the world using Flash 8? I read in few places that its possible with a component but cannot seem to find the right one.
I need to create a custom heat map (map chart) which is based on the global map, and shows the performance all of the world's unemployment rate. Some alike this interactive swine flu map
However this is a map software but I need a component so to integrate the map inside my own flash application, is there a Flash 8 component which made it easier to create such map?
View 1 Replies
Sep 3, 2009
I've just found out about View States in Flex (v3.0), but I am not really sure how widely this is used in real-world applications. Is it a good practice to use it? Are there any pitfalls such as maintainability for instance?
View 3 Replies
Feb 6, 2009
I have a display box on the stage and I am having trouble getting the x and y coordinates to sync on the createTextfield box. The width and height are correct when I test it. The textfield does not show up in mcDisplayBack. How do I get them to line up?
Script
var nWidth:Number = mcDisplayBack._width;
var nHeight:Number = mcDisplayBack._height;
[code].....
View 9 Replies
Mar 28, 2006
This site is so comlex:[URL].. would anyone direct me on how to begin to create something like this. I may have to do it for work. I know it involves xml, a database, and some advanced scripting, but I would like to have evry section in seperate clusters.
View 2 Replies
Oct 22, 2010
I need to build a website with a virtual 3D world. I found a few products that can do it but I want so advise on which ones are leading the pack with the brightest futures. So far TheoWorlds and OpenSpace show some promise.
View 1 Replies
Jan 18, 2010
I'm thinking of building a game along the lines of Farmville - items, events, time management system etc. Options I am thinking of:
1) Flash UI frontend that uses AMFPHP to get all data for the view from a PHP powered backend.
2) Actionscript to power the whole game
My concern with Actionscript is scaling, my concern with PHP is having to build an update system that would need a lot of back and forth xmlhttprequests which might get complicated.
View 5 Replies
May 22, 2010
For lack of a better description, I have a world of bitmaps, but some are outside the boundaries of the stage. How can I scale my world larger and smaller to effective zoom in and out?
View 7 Replies
Jun 28, 2010
I didn't make these, they are just examples...
[Code]....
How in the WORLD is the rival class being repositioned on the stage? It does NOT inherret any other class, yet it still uses the "x" and "y" variables, and it looks like they are used the same way the regular ones are used.
View 1 Replies
Jul 18, 2010
For the past two months I have been developing a new kind of Flash chat that allows you to fly around in a 2D virtual room with an animated graphical avatar. You can also upload your own picture for an avatar. The special thing about this chat is that it works with MySQL and PHP, so no fancy servers are needed. It can easily be customized in terms of design. Switch out the background image and the avatar icons and you have a completely new chat room. Flash AS3 Avatar Chat v0.94 BETA.
View 2 Replies
Nov 2, 2010
Are there any open source multiplayer socket servers that can be used for virtual world development? I've been looking at SmartFoxServer & Electroserver, but there very pricey.
View 2 Replies
Jun 5, 2006
URL...The game has a helicopter centered on the screen (the heli movieclip is in Scene 1, frame 1, Layer 2). Then I have a "World" movie clip on Layer 1. Inside the world movie clip are the enemies, weapons, and boundries of the map.The world movie clip is moved when the controls are used to make it look like the helicopter is moving (although it is actually stationary). When the space bar is pressed, the "bomb" movieclip inside of the "world" movie clip is duplicated, and the duplicate is placed at the correct coordinates in the "world" movieclip so that it seems like it is coming out of the helicopter. This is all working as intended.The problem comes when trying to hitTest the bombs with the boundries/enemies inside of the "world" movieclip. The "boundry" movieclip is also inside the "world" movieclip, and is part of the Boundry class. The hitTest is inside my "bomb" class. Heres the code:[code]But the hitTest just doens't work. I've tried every combination of legal hitTest statements between the two movieclips, and it wont work. As you can tell from the SWF...the bombs explode seemingly randomly. SO somewhere...somehow...the bomb is colliding with the boundry.
View 1 Replies
Jan 31, 2011
I need to create a video showing the world-wide population growth of company from 1830 until now. I have a spreadsheet with the dates of when each unit opened. I would like to have a spot on the right location on a map glow as each unit open up. Is there a way to do this in Flash or Flash Builder? Some similar videos I've seen are: [URL]
View 1 Replies
Dec 10, 2009
I want to test my new Air iOS and multiple devices (iPhone v3, v4, touch, etc.). There are excellent resources from Apple on how to do this for Xcode, but I can't seem to get any of them to work for Air iOS. I can create the new provisioning file and .ipa file, but fails to upload onto any other devices (but it does appear in iTunes, but the add box gets unchecked when I sync).The last resort is to build multiple .fla versions of the same app for testing each device (plus certs and provisionings), but that seems crazy.
View 4 Replies
Mar 2, 2008
can i use microphone detection action script for mobile devices using flash lite ? if yes how can i do it ?
View 1 Replies
May 19, 2011
We are on PC - CS5 Flash. We don't do very much at all in flash we try to use Java instead. But is there a way to get this to work? Can someone send instructions.
View 1 Replies
Jun 5, 2011
Correct me if I'm wrong, but it seems that apps created with Flash CS5.5 will not install on some iOS devices, including iPod Touch 2nd generation. For example, I see the error message stating that the app was not installed "because it is not compatible with this iPod". The same app was successfully installed when published with CS5.0
If this is true, by publishing such apps to the iTunes App store, a developer would invite negative comments from unhappy people who still use older devices. And since there's no way for the developer to respond, using CS5.5 sounds like a quick way to get negative reviews.
View 2 Replies
Mar 9, 2012
Is adobe AIR still not supporting UDP for mobile devices?
View 33 Replies
May 9, 2011
I wanted to display H.264 videos with air packaging for mobile and run into a problem.is StageVideo avaiable on mobile devices running IOS or android?I use air 2.6 sdk for packaging and it seems there is no StageVideo on ipad?I can use StageWebView but because of limitation of it ( it alwaysrendered on the top) this is not an option for me.Is any schedule when would StageVideo be available for mobile? maybeair 2.7 sdk?
View 3 Replies
Dec 25, 2011
I'm currently using this to detect if the visitors have flash installed or not and if not right away I'm assuming they are iPhone users but then now it seems it doesn't always work like I wish to because sometime they being redirect to the version of flash of my site and sometime the person who got flash installed also redirect to an iPhone version of my site.[code]the thing is how would I detect if they are iPhone/iPad/iPod/AppleTV something like that and redirect them to the flash=false URL and if they are non of the above will be redirect to flash=true?
View 3 Replies