ActionScript 2.0 :: Delve Into The World Of Flash/XML?
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
Similar Posts:
Feb 26, 2012
Have anybody found or seen real world example of using FXG files in real world applications?
View 1 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
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
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
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
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
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
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
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
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
Jan 14, 2011
I have installed FMS 4 on a remote host - Windows 2008. When I install it, I would prefer to install the Apache server and so I did. When I open the initial web page (file:///C: [url]...), the flash content loads and the panel says it is streaming from rtmp. Seems good. But when I try to conect to this from another Flash Media Live encoder, rtmp://ip address/live, where ip address is the address of my host, it won't connect (Failur to connect to pimary server).
When I try to connect to my server with a browser - http://ip address, it loads a web page but clearly it is loading from from IIS.So port 80 is being used by IIS even though I chose to install Apache. Web servers aren't a strong suit but I've found Apache usually fairly easy.Now, I had installed FMS on my notebook and I found I could connect without trouble to rtmp://localhost/live with Flash Media Live Encoder. I figured by installing it on the remote host and then replacing localhost with the ip address, I'd be ok.
I'm willing to use IIS if that is the best thing to do. Maybe that has nothing to do with it. Getting started with these things is usually the hardest part. I've used FMS in the past but haven't had to deal with installing it.
View 2 Replies
Feb 17, 2009
A little explanation: Im making a random arranging number Array. So instead of using a loop and assigning 0 to first array element, 1 to second, etc.I need to make it totally random but without repeating any numbers. To do that I made a second Array that will have the same number of children to serve as a reference.Each of them will be an Object with a property "num" , wich will be its actual number, and a property "called" wich defaults to false.Like this:
ActionScript Code:
for(var i:int=0;i<vQuantity;i++){
ranArray.push( new Object() );
[code].......
View 8 Replies
Jun 8, 2010
I'm working through Dreamweaver fairly well, and I'm now wanted to import Flash buttons I've created myself into Dreamweaver for a website I'm currently building, and it's here that I'm finding the problem. I have been to the 'get URL Function', but it says something about needing to link to a web page? But my problem is how can I link Flash Buttons to a web page, when my site is still being developed and not published? Do I have to publish first?
View 3 Replies
Sep 2, 2009
:confused:Does anybody know is Flash mx 2004 compatible with flash CS3 and flash 8?? I can not open flash cs3 on my laptop with flash mx2004 also can actionscript 3.0 be used with flash mx2004 and flash 8 because when I save my flash cs3 document as a flash 8 document it does not work? I am awful confused with all this. If you created a flash website in flash 8 or Flash mx2004 you can not open in in flash cs3 it dosent make sence?
View 3 Replies
Jan 16, 2012
Are there any programs or features in flash that can simplify flash vector art?
I just realized that one of the reasons why my program might be running so slow is that I made the images out of lots and lots of circles. When things didn't look right I often just put larger circles over smaller ones. I didn't think that flash might still be drawing the invisible circles underneath-
View 1 Replies
Sep 17, 2011
When I call a .php file from flash and then echo a value back to flash from said .php file flash does not read it. My code is like this:
[Code]....
Note that there is a successful connection to a database using xampp as a server.
View 4 Replies
Dec 4, 2007
We've got a green screened video playing in a flash movie over top of our html content.when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).this works and you can interact with the html content after the flash movie in all browsers except firefox.anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
View 1 Replies