ActionScript 3.0 :: Scripting Language In Flash?
Dec 2, 2009
I'm using Flash CS3 with Actionscript 3, and I need to have a scripting language that the user can use. If they could type in their own actionscript and have it evaluated, that would be perfect. Another scripting language such as Lua would be fine too. I looked into lua alchemy, but it seems poorly supported so I'd rather not use that. The Eval command from actionscript 2 isn't available in as3, and some of the things I've heard indicate that it's functionality is pretty limited, although I've never used it before.
View 1 Replies
Similar Posts:
Dec 10, 2009
Currently I have a flash based application (game) which I need to put on facebook, the users could save their scores and resume their game. For the task I was wondering which scripting language would be appropriate. And are there any API's available which could in the process. Or does one has to make all of it from scratch.
View 1 Replies
Nov 16, 2010
I would like to be able to access all the components of say a Flash image gallery on someone else's site. I want to be able to find the images, image coordinates, action script code, audio files, video, etc. I do not want to manipulate these elements, I just want to view them and their related information.
View 2 Replies
Jul 1, 2010
I'm looking to start learning a scripting language for web audio and sound development. It needs to be able to handle simultaneous audio events, eg; to trigger a sound when another is playing (I'm not sure if and how this is possible, but have witnessed this kind of presentation: [URL] (can this kind of thing be done with JavaScipt?, this looks like AS / Flash)).
From what I can tell the choice appears to be between JavaScript (JS) and ActionScript (JS), with details as follows: - If going the JS route (look into JS and HTML(5) audio capability) Learn about the basics of HTML and CSS, and then start to look into JavaScript, Ajax, and JQurey (library / framework for JavaScript). If going the AS route Will not need to know as much about HTML and CSS. AS is the language behind Flash. Not supported on the i-phone(?) I know Java to around an intermmediate level.
[Code]...
View 3 Replies
Jul 28, 2007
I'm going to have a bunch of questions as I progress through the tutorial.http:[url]....At the bottom of the page, sen writes this:Finally the function to make it all happen.This will base camera movement off of the arrow keys and use
clip._x += Math.cos(angle)*radius;
clip._y += Math.sin(angle)*radius;However in his code he writes this:cameraView.x += Math.sin(cameraView.rotation)*movement;
cameraView.z += Math.cos(cameraView.rotation)*movement;what happens is he switches the sin and cos methods from what he said. However, for displaying all the "figures" those far and including this example, cos was used for "x" and sin was used for "y" like so:
var x = Math.cos(angle)*this.radius;
var z = Math.sin(angle)*this.radius;
View 2 Replies
Aug 11, 2010
Is there a way to not to use flash as a platform for mic recording based script?
View 1 Replies
Aug 13, 2010
I have a movie with a document class (Main.as) wich load 2 SWF:
private var mainContainer:Sprite = new Sprite();
addChild(mainContainer);
var loaderx:Loader = new Loader();[code]....
Now I need to access some var/objects in PhotoLoader from PhotoViewer but anytime I compile PhotoViewer the compiler complains:
trace(root.loaderx.dbFields);
1119: Access of possibly undefined property loaderx through a reference with
static type flash.display:DisplayObject.
Notice I need communication between the 2 loaded SWFs, not from the movie that loaded them
View 1 Replies
Jun 27, 2009
I'm pretty new to flash and I'm trying to create a website in Flash CS3 using AS3. I've googled some tutorials and came up with a website that auto sizes to fit the browser screen. A full-browser website. I will add my sourcefiles as well as my code.
[Code]...
View 1 Replies
Feb 4, 2010
I'm am super new at this, and this is my first time ever using Adobe. I get the "joy" of doing a project in my school using The CS4 Suite. I was playing around and using this book to help me get a button to start an action. I have tried many different codings, but this one gets me the least amount of errors. This is what I have so far:
[Code]...
View 1 Replies
Nov 24, 2010
I have this flash header in my website. On older computers the flash file askes a lot of recourses and that is not considered user friendly. Can this effect be achieved in a other way of scripting for example with ajax or Jquery?
View 4 Replies
Sep 2, 2011
I'd like to simply display the users name and photo inside a flash app. I hope to do this only in the client without using any backend scripting. The ActionScript 3 SDK for Facebook Platform is under construction for the next few weeks to comply with new facebook requirements so I don't trust the current build to be useful.
We have searched and built tests for a week with no luck. I have a feeling the answer is either very simple or not possible.
View 1 Replies
Mar 28, 2012
I don't know how to ask this, but the thing is that i was thinking that how does youtube or videofy.me like video blogs send the video path & all info to a flash video player i mean when e click on any video link how does it sets up everything and displays the chosen video, because actually i've created one but in that i had to set up the whole page via flash so that it can manipulate the information like path & name of the video, and cannot use html links, php and all.. so can u people tell me how do i start up & how this process is done & what i need to do & other important things on this.. i mean sending any info to a flash player via any scripting or server side language.
View 1 Replies
Sep 12, 2002
I have a flash movie which has got 5 scenes and from scene 2 onwards i am using sound. In scene 1 I have made a prelaoder. My problem is that it starts loading sounding in scene 1 frame 1. Is there any way by which the sound starts prelaoding in frame 2.
Problem 2.I am using same sound in different scenes timeline. How can we by flash scripting call the sound from the library at the timeline.I am using F 5.
View 3 Replies
Dec 19, 2010
it doesn't display the necessary language, English only. after the encoding has been changed, it also doesn't work.probably the font should be changed into a standard one, but i don't know where to do it
View 1 Replies
Feb 6, 2012
What method or process do I use to set an iOS app to only one language?I recently had an iPad app written in Flash CS5.5 approved at the iTunes app store. I noticed at the iTunes store, it indicates that my app is localized in 14 different languages. I never set this up; it seems that there is a process that automatically adds several default language localizations to the ipa binary when the file is published. I tried the strings panel, used a var to set the localID, went into the SDK for flex and flash builder and deleted the locales (could not find anything similar for Flash itself), but none of this seems to prevent Flash from adding the language defaults. I have found many examples on how to localize my app for several languages, but nothing on how to set it to only one.
View 3 Replies
Feb 13, 2012
I have created a actionscript with Capabilities function It works good, but I want to ad a If else statement on the capabilities for language.I'm running in English so the capabilities shows " EN ", but I want the if else statement to change " EN " to = English, and if we are running in different language it would say " Other language"
This is what i have at the moment.
var versionString = Capabilities.language;
var label2:TextField = createCustomTextField(0, 60, 200, 20);
label2.text = "language: " + Capabilities.language;
how to use the if and else statement ?
View 1 Replies
Feb 3, 2009
this is the URL of the language reference website I have been using for Flash/AIR: [URL]Is this URL the correct one I should be using when I need to look up a class or method or property or something like that? Because it does not match up with what actually shows up in the Flash IDE when I type an import statement. Most of the packages match up but not all.
For instance, the reference URL has a fl.events package, and so do I locally, but my package seems to be missing lots of classes from it that the reference URL shows. This leads me to believe I don't have the latest SDK's or SWC's or whatever I need installed, whether they be Flash, Flex, Air, etc.Also, I have a few packages locally that don't show up in the reference URL. Things like "flash.debugger" and "flash.trace", they are not my custom classes, not sure where they came from.
Lastly, there are certain AIR classes missing, and I'm sure this is because I don't have the latest AIR SDK installed. I did find it and download it, just not sure how to download it.
1) Is the above URL the one I should be using? If not, is there a better definitive location for Flash/AIR language reference that is updated and always has the latest and greatest info?
2) I have the latest AIR sdk on my desktop, how do I install it? (I'm using Flash CS5 on Mac OSX 10.6)
3) How can I make sure that what I see in that reference URL is what shows up in my code hinting when I type import statements in the Actions Panel? Basically I just want to make sure I am all up to date so everything is showing and working the way it should be. For instance, I am missing a ton of fl classes (containers, controls, core, data, etc.) I want to get these in place so my local copies are synchronized as close as possible with the reference. Documentation doesn't help much when you don't have the tools it tells you to use...
4) Take the fl.ik package for instance. Locally, I have available all the classes in the reference URL that I should, plus a bunch more that aren't there.
View 1 Replies
Oct 1, 2009
I have one issue that i have one game in Russian language, and I want to change it in English so anyone can give me the easiest and informative solution to convert it in English.... or Can we use language interpreter in Flash?
View 0 Replies
Jun 2, 2011
I have a website with a flex application. The flex application has no user input - except for clicks for navigation. The website also uses no scripting language - i.e. no php, asp, jsp or cfm.
The website just consists of one page which contains the flash file for the flex application. The source code of this page is here: [URL]
I have been advised (by a software program used by my client) that this website is vulnerable to a reflective type XSS attack and have been advised to 'sanitize' all user input.
respect to XSS and would respectfully like to ask that AFAIK there is no user input. What should I sanitize and how?
View 1 Replies
Dec 8, 2008
How do I get to the documentation for Flash 9? Adobe onlyseems to have reference to documentation for Flash 10 from theAdobe Flash Support Center.
View 2 Replies
Apr 24, 2009
I am aware of the built-in 'Strings' panel within the Flash IDE, however is this the best way to go about creating a multi-lingual AS3 site/application nowadays?Are there any recommended 3rd party APIs/frameworks available? Ideally I'd like to be able to change language on the fly and support as many character sets as possible, I will also be dealing with both static and dynamic text content.
View 6 Replies
Nov 30, 2011
I need a good multi language flash chart for my company's portal, can you recommend one? Already have tried fusion-charts, amCharts, and also OpenChart - But they are not supporting right-to-left, and the API is not simple (they require a complex XML).
Requirements:
good looking
easy to implement (simple api)
customizable
well documented
not expensive
View 1 Replies
Oct 24, 2011
I need flash to show English or French depending on what language/country you're from. I know you can do it with javascript to do a browser detect.
View 3 Replies
Apr 28, 2007
I'm creating an XML driven language selector which places the current language's flag (depending on the user's locale which is passed through a Flash Var parameter) at the top of the list. I've got all this working so far BUT i'm having trouble with the results. I want to be able to add onRollOver and onRelease functions to the newly created movieclips but it just ain't happening! The onRollOver function would be a bit of movement for each flag and the onRelease would call getURL using the url for that language which is contained in the XML file.
Code:
sideFeather.swapDepths(10000);
var x = new XML();
[code]....
View 1 Replies
Aug 7, 2008
I am currently working on creating a multimedia presentation in URDU language. When I try to copy and paste the urdu text from word document into flash the sentence flow is not the same as in word ie from right to left.
View 1 Replies
Aug 24, 2010
How can I create a flash video using Java.. (Java and JavaScript have nothing to do with each other, in my world Java Script is a useless technology). Does Flash Professional have a Java API and if so how do I get the JavaDocs and an example to see the complexity of that API. Does the Adobe Media Encoder have a Java API that I can use.. if so, JavaDocs and an example?
Picture having two million directories, each directory has 30 photos and a sound clip. From this I want to produce two million flash movies each movie has 30 photos and the sound clip. Each movie has panning of the photos (Ken Burns, Civil War on PBS). What does Adobe have that I can call from within my Java code or Perl perhaps. I need to do this every two weeks, at least. Using a standard user interface is not going to work, even if I hired half of the planet.. I have been on the phone with Adobe for two days and have gotten nowhere.. surly Adobe has something which allows me to automate the creation of Flash movies. right?
View 1 Replies
Nov 25, 2011
My flash is in dutch, but most tutorials. So i would like to change the language of the program to English aswell.
View 1 Replies
May 7, 2010
I have a SWF with text embedded from an external .txt file. Is there a way I can have a different file used as the text source through the embedcode (swfObject) depending on the language?
Here is my current actionscript:
myData = new LoadVars();
myData.onLoad = function() {
text_clips.project_title.text = this.projecttitle1;
[Code]....
There are four languages needed so far, but this will grow so it needs to be flexible enough to let the developers add languages without getting a new SWF each time.
View 1 Replies
Jun 11, 2011
I want to convert text into American sign language (ASL). I am thinking of creating a set of videos first and then map to some words.
But is it possible to generate a sign language video through direct text by using a 3D model and making it to animate?
View 3 Replies
Oct 1, 2010
I have embedded fonts "Frutiger 45 Light" inside my Flash library and hence into swf. This works correctly. Now I am loading texts from an XML file where there could be Russian language of texts. Flash loads it perfectly no problem. BUT when I try to assign text to a field.text property, it does not show me correct texts. It shows only some texts and most of other texts is disappeared. Here goes the code.
[Code]...
View 3 Replies