Actionscript 2.0 :: Translate Flash Site With A .txt?
Jul 6, 2011
im using flash professional cs5.5 Here's my issue: I'm trying to translate my flash site with a .txt (loadvariable)
Here's my code so far:
It loads automatically the english at start so..
Code: Select allloadVariables("english.txt", "_level0");
and then, on button160 I have this
Code: Select allon (release)
{
loadVariables("french.txt", "_level0");
}
So I can only translate it one time... then I cannot revert back. How do I do it ?
I tried doing:
Code: Select allon (release)
{
if (var == "english.txt")
{
[Code].....
View 1 Replies
Similar Posts:
May 30, 2011
I'm used to using SoundMixer.computeSpectrum, but I need to get some data on-the-fly from the microphone (and I can't use the SoundMixer with the microphone).
I'm having trouble translating the FFT data (from this class) as shown in this excellent spectral analysis example to match the ByteArray output from computeSpectrum. My existing code is built to handle the data received from computeSpectrum (with FFT set to true).
View 1 Replies
Aug 21, 2011
So I have a Crosshair on the Stage and I have an Enemy with nested child limbs, when the below function is called I want to create a hit mark and attach it as a child to the Enemies Limb but how do I translate the X/Y position of the Crosshair to the Enemies Limb bearing in mind the Limb may also be rotated?
[Code]...
View 1 Replies
Mar 25, 2010
I need a very special component written in ActionScript 3. It is a rectangle filled with a bitmap. The bitmap is loaded from an external URL based on some programmed rules. The textured rectangle is then animated using Flash CS. Animation is performed using rotate/translate/scale/skew tools. How to create such a component and add it to Flash CS library?
View 1 Replies
Feb 25, 2012
i have made a site in flash. stage size 955x600 i have exported it as fullscreen with no scale. the problem is that if i browse the site with a resolution of 800x600 (760x420 if i'm not wrong), the browser dont' add scrolls and its impossible to see the complete site. How can i fix this without resizing the site. i want the users to see with the proportions that i have now.. ijust want a scroll on the browser.
View 2 Replies
Feb 8, 2009
Code: Select allthis["name"+n]._visible = false;where there are a number of instances called "name1","name2",etc.Is there an AS3 alternative?
View 1 Replies
May 5, 2009
I need to translate this AS2 code into AS3 ASAP! how to translate a few lines from AS2 to AS3 [URL]I was supposed to make a flash 9.0 cs3 menu with buttons that stay down until another button is clicked.I've found an example of this on the net, one that is perfect in every way for what I need to have done.However, as always, there's a catch. The code on that site is written in AS2, which doesn't work for me because I'm using some functions which are incompatible with it (I suppose they're AS3 supported only, e.g. loaderComplete)
View 2 Replies
May 20, 2009
I was wondering if its still necessary to build a html site aswell as a Flash Site? Or is there a definitive and failsafe way to incorporate html into my flash site? SEO is a very important factor for me. I read this article: url...by Geoff Sterns in 2006, resulting in the following[code]
View 4 Replies
Nov 16, 2010
I'm using LoadVars and in my one variable I basically have a link <a href="contact.html">Contact Us</a>.Is there anyway that I could make this into AS to do something like gotoAndPlay()?Is there a better way to do this? This is a dynamic text field so I guess I could use a movie clip and put an action on that but I'm not sure where it would end so I'd have to put in the movie clip dynamically and then if I do that I'm not sure how to put the action on it.
View 1 Replies
Aug 24, 2009
nevermind... translate old tween engine?
View 1 Replies
Dec 14, 2010
A client of mine has had 2 sites (both Flash sites) attacked over the last 12 months, so he's been asking: should he go for a static HTML site or stick with a Flash site? Is there ways to make a Flash site more secure?
View 1 Replies
Sep 18, 2011
translate this .fla file to English language... I would be very grateful to you (It is flash lite 2.0)
View 5 Replies
May 12, 2010
One thing asked for a lot with sIFR is hyphenation.The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in ActionScript 2.I found an AS2 to AS3 converter s3-converter-createtextfield-geturl-handling/ but the result examples.bezel.be/sIFR-as3.as is not working yet.
View 1 Replies
Feb 8, 2012
Is there a secret to getting AS3 objects to translate over into Java using LCDS/Blaze?I'm working on a legacy system and we are having issue communicating with the back end, specifically when we send certain custom AS3 objects over Blaze to our Java RO methods... sometimes they port over, but often they come across "the bridge" as nulls.
(Objects coming from Java to AS3 work just fine however, as do sending primitive values rather than objects.)I thought using the remote metatag [RemoteClass(alias="java.foo.bar.Snafu")] in our AS3 classes was enough for bidrirectional support, and indeed it works just fine when Java is sending AS3 Snafu objects... but when AS3 tries to send to Java it works for some classes (mostly the legacy ones) but fails for others (mostly our new classes).
The specific error we get is something like this: "Cannot convert type flex.messaging.io.amf.ASObject with remote type specified as 'null' to an instance of class com.foo.bar.model.ResultableResource".
The error to me looks like Blaze cannot find the ResultableResource java class, yet we've doublechecked that the classes that don't translate have equivalents on both sides, and indeed they look similar to the classes that are working.
Is there some external mapping or publishing trick we need to do in Java or AS3 to allow these objects to export correctly? Do they need to implement the java.Externalizable interface? Maybe they need to be added manually to some kind of manifest? Adobe docs are fuzzy on the matter and make it sound like things should just work, but they don't.
View 1 Replies
Jun 21, 2005
can anyone translate Senoculars onrightmousedown function into astionscript 2?
[Code]...
View 14 Replies
Jun 20, 2011
fast methood to turn an Embed Image into BitmapData.
View 2 Replies
Oct 28, 2011
I want to make a language translation app, like google translate. I want to know if there are any libraries I could use to translate from one language to another like: spanish to english. I need to translate between the languages: spanish, english, italian, french & portuguese. Please tell me if its possible to import and use dictionaries to translate like, for example a spanish-english dictionary, for the above languages.
View 4 Replies
May 18, 2009
Can anyone translate this AS2 code to AS3? I tried myself but I am having a problem with the setProperty method. Code is pasted and here's the link to the source files.
[Code]...
View 1 Replies
Jun 22, 2011
my problem is that if i scale, rotate or translate a display object using its transform.matrix i am not getting the value in the display object but the transform is happening like displayObject.scaleX or displayObject.scaleY etc. i get this new transform value using the dislayobject? as i am using a matrix transform manager which actually changing the transform matrix of the display object.
View 8 Replies
Mar 3, 2012
I have some people making a site that uses PHP and mysql. You will be logging in first to the PHP site, but the Flash based component of it requires to use the same log in and password. Do they have to log in twice??????
View 1 Replies
Jan 18, 2006
Im trying to translate a string from a textbox by shifting each letter (excluding vowels) up a character. For example, B changes to C, C changes to D, D changes to E, etc.[code].....
View 3 Replies
Nov 10, 2009
I needed to translate a SWF file, and used Sothink SWF Quicker to decompile the swf file.Now I want to re-compile it, with the changes made. How can I do that?When I try to "Publish" or "Export" the file with the same program, the new file is only with about 250 bytes, and the previous one had about 450 KB.
View 2 Replies
Nov 4, 2009
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
View 8 Replies
Jul 28, 2011
Forgive if I am not explaining this very well- here goes. I have one major site with three other gallery sites that are related. From one of the gallery sites I need to create a button that takes you back to a specific page on the major site.
[Code]...
View 7 Replies
Jul 14, 2004
Code:while (dayCount <= lastDay) // creates 30 text fieldsto a 'for' loop where I can increment the position of each duplicated text field by i * a specified width. the thing is that i can't figure out how to do that with my while loop. but i can do it with a 'for' loop. that's why i'm trying to change it. earlier in my code i use this 'for' loop to lay out the row above where i want to start..
Code:
for(var i:Number = 0; i < numCols; i++){
_root.createTextField("dayHeadings" + i, i, indColWidth*i, startSecRowYPos, indColWidth,
[code].....
View 2 Replies
Dec 18, 2009
Can somebody change this code from action script 1 to a action script 2 because it doesn't work on new flash 8
[Code]...
View 1 Replies
Aug 17, 2010
My problem is that the client I am making a homepage for wants the site to be done in Flash, but also wants to have the ability to make changes to the website on his own. Creating the website in Flash is not the problem rather what other program or method can I use, which is easy enough for someone who is not knowledgable in Flash or any other web design program, so that this client can make random changes to the menus and photos on this website?
View 1 Replies
May 13, 2003
I did the tutorial for "create a full flash site" under flash mx advance. I did everything right and it worked. Ok here is what i want to somebody to help me out.
The action: on (release) {
_root.contents.loadMovie("locations.swf");
}
because when i extracted the zip file it had only the different swf. files and the main file where they were going to be loaded. What i am saying is do all the swf. files have to have some connection to the main movie where i am loading the swf. files in order for it to work or it doesn't matter. so what am trying to say is i could have any swf. file and use that action to my main movie even if has nothing in come and it will play it.
View 2 Replies
Apr 26, 2009
I have developed an site in flash doesnt throw any error in Flash IDE debug mode, But when I launch this in web browser it throws error.
Disadvantage of showing error in browser window is that it wont show the line number of the error. Is there any otherway to get the line number of error, when running in the browser.
View 2 Replies
Nov 17, 2011
I am doing an overlay flash banner which sits on top of a flash site. Within the overlay banner I have a moveclip called 'imageHolder' which needs to call the same image thats in the flash site.
I have this code which allows me to directly control the movieclip in the flash site from within the flash banner. var img:MovieClip = takeoverContainer.getImage();
img._scaleX = 0.25; (for example) The problem here is I only want to copy the movieclip so I can see the same image in my banner as I do the Flash site, I do not want to manipulate the main flash site in anyway.
COuld anybody write me a piece of code that will duplicate/mirror the moveclip in the main flash site inside a movieclip within my flash banner so I can see the same image?
(From a creative perspective 'imageholder' is a smaller version of the image which is animated over the top of the main flash site) I am happy to pay for an hours work if somebody could help (via paypal if you like). I am in desperate need
View 6 Replies