I have a little foreign character issue while loading an external xml file that contains characters like accents:.and so on.I embeded the font (with all latin characters) in the dynamic text field that the xml is loaded.Everything works fine but when I have a foreign character like the ones mentioned above, it ignores that character.i.e:when the xml has the word: teraputico my dynamic text field displays: terapico tracing the variable that contains the text, the output window displays: terapico:I tried rendering the text field as html and it didn't work either.
I have this little issue with one specific character (only one so far) while loading an external xml file into flash.My issue is with the apostrophe character: Even though in the xml file the text in one of the tags it's let's say....kirupa's forums..flash displays it as kirupa's forums so substituting the apostrophe with the url encoding
I am currently working on a platformer using accelerometer to move the character and xml to load levels as so.. [as] level.x += (e.accelerationX*40); if (e.accelerationX > 5) { e.accelerationX = 5; } if (e.accelerationX * 40 < 3 && e.accelerationX * 40 > -3) { player.gotoAndStop(1); [Code] ..... And it is all added into one movieclip called level. My problem is when the character hits under a platform it will go up it which I don't want it too, I don't know how to fix it heres the gravity code.
I have a 9 frames image of a character.In other language generally i used to make character animation by looping the array consisting of different frames and drawing each frame when pressing key.What i want to do is when i press left or right key, i want to draw each frame that makes character movement and update x coordinates of frames, and it will appear as character is moving.
i was wondering if any of you out there could tell me how it is possible to make a movieclip of a character and when the character is dragged about the screen by the curser, how do you make the characters arms and legs swing about in a realistic fashion.
I would like my character to move as if he was drunk I am unsure how to do that I am using the keyboard for his movement. I also have a character that moves at random I would like the drunk moving character to be able to catch this character and play a scene from within the drunk characters movie clip but I want this character to try and escape the idea is the drunk character gets points for how long he is able to hang on to this character
Is it possible to make something like the "Bone tool" does in older Flash CS3?I mean make all limbs for a character and connect them together in the joints, so if I drag the hand, the rest of the arm follows in a natural way. So I can easly make motion tween animations.
I need to appendText to some text field but instead of appending it after the last character on the text field...I need it to be Before whatever text is already inside the textfield...Code:txtTest.text = "I must be after the appended..."txtTest.appendText("This text must be BEFORE the declared above, using this method or something similar that could achieve this!");Note: the appended text is coming from a database After "I must be after the appended..." text is inserted on the text field...
I am trying to locate the letter at a certain number of characters after a word.For instance, in this sentence:"Hello, I really like dogs"I want to find the character of position 7 after the word "really", which in the above sentence would be the letter "d"
I have some German content which contains an umlaut (ü). This content is being built into an XML file. I then have a flash file which uses the xml to build a coverflow. My problem is that the 'ü' character is not being displayed in the coverflow. I've made sure the xml is encoded correctly, as you can see from the snippet below:
As you can see, the umlaut is in the albumName element, but when that text displays it simply misses out the 'ü'. I've added a bunch of encoding groups to the text element in the coverflow file, as well as specifically adding the 'ü' in the 'Include these characters' element. I'm stuck for how to get this to display.
know this._name would grab the instance name, but what about when you have something called mc_1 or mc_2 and so on, if I wanted to grab this last character (1,2,etc) as an integer to put in another variable?
I am having a problem with a jump code. The problem I am having is when space bar isDown the jump code works but when space bar is release my object is left up in the air. How can I get the object to come back down.
ActionScript Code: var gravity:Number = 10; var jumpPower:Number = 0;
well i have a flash that read external TXT and work fine BUT if i put this caracter & dont appear. and if i put a text+&+more text since the caracter & at right dont dont load.
I've got an XML document that contains text.The text is read in and put into a HTML format text box.I want my text to have new line characters.I've tried using <br> hoping this would work in the HTML text, but this doesn't work.Is there a special character code I can use?
Ok I know this._name would grab the instance name, but what about when you have something called mc_1 or mc_2 and so on, if I wanted to grab this last character (1,2,etc) as an integer to put in another variable?
On the stage:Textfield called "inputTXT".And a button called "Go". All I am trying to accomplish here is to have the input characters validated to be ONLY numbers and max 5. However, I don't want to use:"inputTXT.restrict = "0123456789".
Instead I would like to check if the characters entered after pressing the "go" btn, are within the defined parameters above (numbers and max5). If yes, then I need to pass a URL, if not then I need to display an error message.
Right now I have all the animations for each direction in a movieclip within one movieclip.However, when I use the arrow keys to move the walking animations don't playWhen I stop, the appropriate animations play, however. Here is my code:
I'm making a game that is birds eye view like the old grand theft autos. anyway im currently stuck at this... I can have my character fire and have the bullet follow my mouse but I cant seem to figure out how to just make the bullet go straight off the screen in the direction my character is facing.
is there any way of searching a string from right to left and trying to find the first occurrence of like a letter or a fullstop or something like that? also is there any way of finding the index of were its located and then deleting all characters from left to right starting at what ever index value was returned?
I am making a sniping game in Flash CS3 (Actionscript 2.0).In the current level I'm making I want a stickman to walk to a dumpster, throw away some trash, and then walk back to his original destination. While he's walking though, I want to be able to click him and have him play the animation of him dying right on the spot. The problem I have is, he walks and throws away the trash just fine, but when I click him he doesn't fall where I killed him, he falls where the animation inside him ends.I'm going to give out all of the ActionScript I used and where I put each animation.Okay so starting on the Main Timeline is the stickman.I double-click to go inside him. When that is done it shows a short animation of him dying. The first frame has the ActionScript:
stop();
And the last frame has the ActionScipt:
stop(); _root.gotoAndStop(255);
(After he dies I want it to go to a "You Win!" page, this part works just fine.)Go inside him a second time and you get the animation of him walking to the dumpster, throwing away the trash,etc.No ActionScript here but his head is a button (obviously)so it is clickable.
So long story short: I want him to be able to move freely, but when you click him it plays the death animation right in the area I clicked him in, as apposed to the spot he dies in at the end of the animation inside him.