ActionScript 3.0 :: XML And FLASH, Basic Info?

Nov 7, 2008

I would like to have a third party exchange english language text in a swf file with translation-text in other languages. They would like to do it via XML. Is there a place where I can look up some basic info on how to write XML code (beginner), or find a script that lets me exchange text/content via XML?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Apply Basic Text Formatting To TextField / XML Loaded Info?

Mar 8, 2010

I'm workin' on a cool project for school. I'm loading up some text from an external XML doc, and bringing it in to a flash textField.

It's working great, but I want to do a little formatting, first off, apply a bold tag or a bold font to some headings.

Here's the .text field as I have it now:

Actionscript Code:
motorcycleInfo.text = "Make: " + bikeMaker[evt.target.selectedIndex] + "
" + "MSRP: " + bikeCost[evt.target.selectedIndex] + "
" + "Ride Category: " + bikeCategory[evt.target.selectedIndex] + "
" + "Engine Size:

[Code]....

(ps I finally figured out how to wire up my mp3's so they play, and pause, I just haven't loaded that swf up to my server... so if you press the music buttons and they don't play, that's the reason.)

View 5 Replies

ActionScript 2.0 :: ScrollBar Dragger To Be Positioned In Relation To The Info._y As The User Scrolls Info?

Jun 24, 2010

I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...

Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........

also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.

View 1 Replies

ActionScript 2.0 :: Get Basic Xml Into Flash?

Nov 18, 2009

I know how to get basic xml into flash, but I'm having a problem with a particular set up of xml. The sample below, I can get into flash but am having trouble manipulating it and getting the various bits of data into a format I can manipulate.

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<Contacts>
<Contact id="1" name="name1">
<ContactDetail id="1" type="email" detail="sample@sample.com"/>

[code]....

View 7 Replies

ActionScript 3.0 :: Basic Flash/PHP Mailer?

Sep 22, 2010

I'm creating my first Flash website using AS3, and it's really basic. I would like to put in a contact form, which I have made. I've converted the 3 fields (name_field, email_field and message_field) to a symbol (movie) called 'form'. I've also got a send button, which is called send_btn.

I've set up the Action Script so that when the button is clicked, the user is taken to a confirmation-style page. All I want to do is called a php script (I'm comfortable with the code for that) called 'mailer.php' and send the three variables from the form to it before then loading the confirmation page.

[Code]...

View 13 Replies

Basic Flash Website Structure?

Aug 31, 2009

What is a good structure for a complete Flash website. ex.

1) Index.swf ( which is just a container and loader for the actual SWF site content)

2) Main.swf (the main content of the site that gets loaded in by Index.swf)

Should the index.swf load in several SWF's , like navigation file , news reel file , etc....Also , if anyone know of a web site that has this information or knows of a book that covers this material ,

View 1 Replies

ActionScript 2.0 :: Basic Filehandling With Flash?

Jul 9, 2005

Id like to make a graphical editor with flash that has some basic features like copying and moving files, and editing text-files.The editor is to be used exclusively offline.I know that AS doesnt provide such functionality, but perhaps its possible with some backend script that doesnt require any installs (like php does)?Javascript, perhaps? Does it have the power to edit files etc?

View 1 Replies

ActionScript 2.0 :: Most Basic XML - Flash Integration?

Feb 22, 2007

Everything I read about xml & flash gets all complicated - arrays, galleries, mp3 players etc. Does anyone have an example of the most basic xml - flash integration? I just want to import a text title, a jpg image & a text description that can be changed remotely once a month - nothing tricky...

View 4 Replies

IDE :: Switching From Visual Basic To Flash?

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

Basic Flash CMS Samples To Change Pic And Text

Jan 23, 2009

I want to start basic. Are there any tutorials or samples where I can make a simple flash website with 1 pic and 1 text content in there and be able to change it like in a CMS system using whatever methods are best php, xml, asp. Maybe using PHP or whatever is the standard for Flash CMS at the moment. How to make a simple content management Flash site starting from there. Where an admin logs in and then change the content for the pic and the text.

View 3 Replies

ActionScript 2.0 :: Create A Basic Interaction Between Flash And ASP.net V1.1?

Sep 17, 2007

I'm trying to create a basic interaction between flash and ASP.net v1.1.In flash code I'm using the LoadVars function and on asp.net page I'm using "Response.write" to return the value to flash.I have a flash button which send the load to the asp.net.(meaning the first time I click the button , the asp.net page is called and return the value , but the second time nothing happens!)

Here is my code:

FLASH:
---------------

Code:
function doCheck()
{
checkSessID = new LoadVars();
checkSessID.onLoad = function (serverIsOnline)

[code]....

The first time in click on the flash button the doCheck() function is called and the sendResponse function (which is in the "IMService.aspx") return the value to flash.Then , when clicking the second time on the button , nothing happens.

View 2 Replies

ActionScript 3.0 :: Flash Basic Timeline Navigation?

Jan 23, 2009

how to navigate through the Main timeline using the arrow keys!I know its probably been asked (and covered) a thousand times, so sorry in advance.And yes, of course i've googled it but every piece of code i try seems to error :C

So, just to re-cap, i'm trying to display whats on frame 2 when say, key 40 (right arrow key, i think) is pressed, then return to frame 1 on release, if that makes sense.

View 3 Replies

ActionScript 3.0 :: Creating Basic 3D Objects In Flash CS4

Aug 3, 2009

I've started using the 3D capabilities of Flash CS4 recently, particularly with respect to transforming the rotation and translation properties of movie clips with AS3. Which is fine for planar shapes, but I want to know how to create true 3D objects that I can similarly manipulate. The problem is, that although there are plenty of excellent tutorials covering simple changes in X, Y and Z properties, there seems to be a distinct lack of tutorials explaining in simple terms how to go about creating, say, a basic cube that can be displayed and transformed dynamically. Adobe's Flash CS4 files mention perspective projection and the Matrix3D object, but I don't find these section particularly clear. What I would like to do, for starters, is create a simple cube to which I can apply x, y and z axis transformations in the same way I can to movie clips.

View 2 Replies

ActionScript 3.0 :: Flash Basic Timeline Navigation

Jan 12, 2012

I'm new to the forums and fairly new to action-script also,Generally such basic things are a breeze, but i can't for the life of me figure out how to navigate through the Main timeline using the arrow keys;And yes, of course i've googled it but every piece of code i try seems to error.So, just to re-cap, i'm trying to display whats on frame 2 when say, key 40 (right arrow key, i think) is pressed, then return to frame 1 on release, if that makes sense.

View 2 Replies

ActionScript 2.0 :: Getting Flash To Talk To A Visual Basic Or C++ App

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

ActionScript 3.0 :: Flash - Creating Preloaders For A Basic Page

Jan 14, 2010

I've had no problem creating preloaders for a basic page. I have a gallery with a preloader on the main page. It works fine. You can click thumbnails to see large photos that are on separate swf files. Everything worked fine when there were no preloaders on the individual swfs. But later I added preloaders to each individual swf file and now they do not load - just a big fat "0% Loaded" screen.

I'm doing something wrong. Perhaps the preloader should be contained within the loader that is displaying the individual swf files? Maybe the individual swfs do not need their own preloaders? I'm over my head in AS 3.0

View 1 Replies

Professional :: How To Do Simple Or Basic ActionScript On Adobe Flash CS4

May 6, 2011

I am doing my simple portfolio on Adobe Flash CS4. However when I am already looking just for the basic action scripting from the tutorial I can't determine which is the most accurate for the buttons. Here's my sample below: The texts that were listed below are my buttons such as About, Profile, Print Ads, Magazine, Logo, Print, Illustration, and Design Concept.

I've already convert it into symbol as BUTTON and now I am ready to put a basic action script to function and transfer into another scene. Example I want to function the Illustration and Print button into Illustration and Print scene how would I do the action script about it?

Here's the example of next scenes that could be clicked from the homepage
This is the ILLUSTRATION scene
This is the PRINT scene
How to do the action scripting by using the gotoAndPlay or anything else to function my portfolio.

View 12 Replies

Flash - AS3 Basic Parsing Multiple JSON Arrays

Nov 6, 2009

I'm having a problem parsing a JSON file in AS3. Im trying to parse multiple JSON arrays, but don't really know how to get to the next after accessing the first one. My JSON file looks like:

{ "term": [ {
"id": 4211,
"place": "NEW YORK CITY"
},
{"id": 2675,
"place": "WASHINGTON (DC)"
[Code] .....

I can get the data from the first array, but how would I structure my code so that I could iterate through 2 or more "term" arrays?

View 2 Replies

Asp.net :: Html - Inserting A .swf Or Flash Files In Visual Basic?

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

Flash Video Basic Tutorial / Actionscript Version?

Feb 6, 2009

So I've been following URL... lovely "Flash Video Basics" tutorial and have encountered some issues which have eventually brought me to a brick wall.After seeing this error regularly:"1061: Call to a possibly undefined method attachVideo through a reference with static type flash. media: Video."I followed someone's advice to use attachNetStream() instead of attachVideo, which worked for a bit..Then I encountered an problem in which the audio would play, but no video. This led me to another forum which suggested that all the script I was trying to use (taken from the tutorial) was actually Actionscript 2.Changing my export to use Actionscript 2 instead of 3 fixed some problems but created others. I'm feeling like at this point I have to give up on the tutorial and just get friendly with a manual - but I'd love to be wrong about that. So I guess my question is: Does anyone know if these (very nicely done) tutorials were created with a version of Actionscript in mind?

View 4 Replies

Actionscript 3.0 :: Create A Basic Flash File With A Little Plane

Jul 5, 2009

I want to create a basic flash file with a little plane that is constantly flying. It never stops just keeps on moving. Now it would be fairly simple to do that but i want to be able to rotate the plane using the arrow keys. Once the plan is rotated I want the plane to fly in the direction of the rotation.

I could easily keep increasing the planes x value but that will make it fly only to the right I want to be able to make the plane fly freely.

[Code]....

View 2 Replies

ActionScript 2.0 :: Flash Video - NetStream And Basic Fade In

Apr 17, 2007

Im a beginner at flash video, and have been using the built in FLV component which I can apply actionscript fades to easily. However I don't seem to be able to use them when I use the better method... NetStream. Here is an example fade:

[Code]...

View 1 Replies

ActionScript 3.0 :: Flash Very Basic TileBased Collision Detection

Sep 4, 2010

So I've never dealt with collision detection since I mostly have just made simple web-designs, apps, and things that just don't make use of physics or anything like that. But today I decided to fiddle with it a little and was pretty excited when I started out just using a square to move around with keys and so I made some walls to figure out some collision stuff.

And basically, I can't move out of the wall once I collide. I know I could make it so when I collide the sprite backs off a few pixels, but it causes that jittery effect. So I was wondering is it possible to check for a collision before the block is animated?

[Code]...

View 1 Replies

ActionScript 2.0 :: Connect The Flash Commands With Visual Basic?

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

ActionScript 3.0 :: Make A Basic True/false Quiz In Flash?

Apr 28, 2011

I'm trying to make a basic true/false quiz in Flash.It involves a question with two radio buttons with instance names t1 and f1 (true and false).When the user presses check answers a movieclip with instance name yn1 moves to frame 2 or 3 which displays a tick or cross.

This is all working fully, the problem arises if the user presses check answers again.This for some reason turns the ticks to crosses and the crosses to ticks and I have no idea why!?My code is as follows:

import flash.events.MouseEvent;
stop();
checkAns.addEventListener(MouseEvent.CLICK, checkAnswers);
function checkAnswers (Event:MouseEvent):void

[code]....

View 3 Replies

ActionScript 3.0 :: Create A Basic Username And Password 'menu' In Flash

May 6, 2011

I kind of understand how to create a basic username and password 'menu' in flash.[code]But I would like to create a menu where a user can create a new username with then will be added to an exteral file ( data base I guess).From there on anything the user does is remembered on that name. And if that user exits the program and loads it again the user's stats are loaded.

View 4 Replies

ActionScript 3.0 :: Make A Basic Escape The Room Game In Flash?

Feb 9, 2012

I'm currently trying to make a basic escape the room game in Flash, and for some reason the last couples of entries I have made for the code aren't working. Right before adding these lines, everything worked and I already know that each object has been converted into a movie clip or button and has the correct instance name.

[Code]...

View 1 Replies

Flash :: Physics Required To Make A Basic Weighing Scale?

Dec 15, 2010

Okay so I need to make a basic activity (working Flash/as3) that simulates very basic weighing scales. All the objects that go on to the scales are the same weight.

If you imagine the classic weighing scales [URL]..we are dragging/dropping stuff on to the sides and animating accordingly.

I don't want anything fancy, just the maths required to affect the scales according to how many objects are on each side.

What I'm looking for is probably the angle of rotation of the horizontal arm. Any pointers?

View 3 Replies

ActionScript 3.0 :: Create A Basic Flash Drawing Tool For An ELearning Project?

Jan 19, 2009

i'm a newbie using Flash CS4 and AS3. A retired social worker, I need to create a basic Flash drawing tool for an eLearning project to teach students how to draw their family tree.

The drawing tool would allow the students to add multiple circles and squares to symbolize their family members, plus text labels for names, ages, and they would need to be able to draw connecting lines between the circle and square symbols. Finally, in order to continue work on the drawing, over time, they would need to be able to save their drawings to be re-opened and edited (add new symbols, erase incorrect ones, etc.). Once the drawing is completed, they would need to be able to print a copy.

Being a newbie (but I have done some related scripting: JavaScripting-ECMA-262, HTML, CSS), I am not sure if this can be done in AS3, Flash CS4. But, if it is possible, I would like to learn how to create this.

View 0 Replies

ActionScript 3.0 :: Make A Basic Flash Calculator Except It Only Has To Be Able To Square The Number Provided By The User?

Dec 14, 2009

I'm trying to make a basic flash calculator except it only has to be able to square the number provided by the user, I have followed many tutorials but I keep getting the NaN as the output. Here is the actionscript:

import flash.events.MouseEvent;
square_btn.addEventListener(MouseEvent.CLICK,
squareClick);

[code]...

I also need to have Input box and Error Messages & Highlighted Input Box.

View 1 Replies







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