Flash5 :: High-lite Part Of Text?
Aug 28, 2011I would like to high-lite part of my text, but i don't find where to do it, other features like under line, etc.
View 1 RepliesI would like to high-lite part of my text, but i don't find where to do it, other features like under line, etc.
View 1 RepliesThere is this one scene in this movie I am making which is CPU extensive.. what is the actionscript to make it automatically low quality and then when it is over go back to full quality?
View 3 RepliesI am retired and I am trying to study Flash, and I am practicing with the tutorial about Morphing text, every thing is ok, but it is too fast I can't read what it says.
View 2 RepliesI try to display xml content in a text box with flash5, can display firstchild nodevalue, but firstchild.firstchild.nodevalue gives me always null. The xml file text is something like this:
Code:
[slideshow][slide]flower[/slide][/slideshow]
how can i make a high score table for a flash game where EVERYONE see's the same high scores?
eg.
Bill gets 1000 in USA
Ben gets 1002 in UK
they can see each others scores on a high score table.
I'm using flash 5 to develop a dynamic banner. It loads a txt file in an single line text field that moves from right to left, similar an electronic bank display. What I need is to check when the last character of the text loaded gets out of the stage (-x), so I can send the text field to its original position simulating a continuous loop animation. (I could do this using flashMX cause the text field scales according to the text size but I have to use flash5 ).
View 7 Repliesis it possible to use graphics (the numbers 0-9 in one png-file) instead of a Textfield to show the high score of a game to the player? With a TextField it is easy to "refresh" the score but what can I do, if I want to use my png-files for the score? Is there a simple way to do this? How are other flash game designer do it?
My current solution (not tested, just in my head) is, to create 10 bitmaps (numbers from 0-9) or 1 bitmap with all the numbers in it and then convert the current score into a string, split this string and for every digit show the matching bitmap. Update: or should i try to use filters on the textfield to create a "more beautiful" score?
make one word in a dynamic text field bold WITHOUT using the htmlText property? Everything I have read seems to indicate that you can only make the whole field bold.
View 3 RepliesI am having a problem getting Flash to work with PHP as I need Flash to read and write to a text file on a server to store simple name/score data for a games hi score table. I can read from the text file into Flash easily enough but also need to write to the file when a new high score is reached, so I need to use PHP to do that. I can send the data from flash to the php file via POST but so far it is not working. The PHP file is confirmed as working as I added an echo to the file which displayed a message so I could check that the server was running PHP - the files were also uploaded to a remote server so I could test them properly. Flash code is as follows:
//php filewriter
var myLV = new LoadVars();
function sendData() {
//sets up variable 'hsdata' to send to php
myLV.hsdata = myText;
myLV.send("hiscores.php");
}
I believe this sends the variable 'myText' to the php file as a variable called 'hsdata' which I want the php file to write into a text file. The mytext variable is just a long string that has all the scores and names in the hiscore. OK, XML would be better way of doing this but for speed I just want to get basic functionality working, so storing a simple text sting is adequate for now. The PHP code that reads the Flash 'hsdata' variable and writes it to the text file 'scores.txt' follows:
[Code]...
I want to create a simple high score list of 10 high scores of a game. From reading the forums I seem to get the idea that flash cannot create a simple text file. I don't have php or asp but do have cgi capability. Does anyone know where I can find a simple cgi-script that will allow me to write the text the cgi receives to a simple text file: game.sco I want to be able to write a single long string to it so that I create a string of values and can load it back in using flash loadvariables. I can create the string in flash... but how do I write it to a text file using a cgi script? the text file would include this string...I already know how to read it and split it to parse it into arrays:
[Code]...
I wish to allow content input in some Flex app I'm developing, using a markup language - Wiki markup / bbcode / similar.I'm looking for some library to render in high quality such markup.
View 1 RepliesI've been getting this on and off... the last letter of some text gets chopped verticallyTake a look at the last letter of "PORTFOLIO" and "ABOUTUS" here.
View 3 RepliesI would like to use a simple if statement.
if(filenametext!=".jpg"){
}
else{ bla bla bla}
[code]......
TheProfileRoot.EngineeringText.text = "Level " + PlayerEngineerLevel + " Engineer - level up in " + PlayerReqEngineer + " xp"; I want the "Level " + PlayerEngineerLevel to be bold. And the rest to be plain.
View 2 RepliesI am having this weird problem when I load an XML document.The last part of the text doesn't 'wrap', if that is the proper english expression; the lines don't go to the next line they just get lost. You can see what I mean in this link, by clicking on the Kaiser Chiefs item/photo/text, and then scroll down in the article. However, when you go back to home and do it again, the text looks allright! But that is too late of course.
link
[AS]
function makeArtikel(txt, a, b, c) {
[code].....
I have an html text being brought in from XML to a dynamic text field. The html text has a <br> in it. I need an If statement that can detect if the text has the "<br>" in it or now. How do I do that?
View 8 RepliesI am trying to make the 3d photo panels but am having some trouble.Firstly how do you install the Tween lite.2nd problem is I have copied the code exactly and it keeps coming up with errors.I have pasted the action code below and under all the codes I will paste the problems does anyone know how to fix it?[code]
View 1 RepliesDoes anyone know if it is possible to update a piece of text in an textbox where html is enabled?
For example if the text inside an html textfield is:
Line 1 Lorem ipsem, <b>Lorem</b> ipsem,
Line 2 Lorem ipsem, Lorem ipsem,Line 3 Lorem ipsem, Lorem ipsem.
And if i replace the text on line 2 and make it bold without effecting line 1.
in a flash template i found several buttons with almost the same action script code. on pressing the button a window popup with different text (for each button a unique text). the following code is in the code section of the buttons, only the two last codelines are different for each button.
[Code]...
so i think that the input of the unique text for each button is handled in the last line "_root.READ = 22". i also found in the bibliothek the belonging text parts. my problem now is that i dont know where the connection is set between the text part and the array/variable READ. in this case the connection is 22, but i dont found any property in the text part or in the property of the button where the connection is set to 22. i use flash cs4.
I've created a 3 state button, then imported it to a movie clip. I want to use a set of 6 of the identical buttons as navigation controls, so I've created 6 instances all named uniquely. My problem seems terribly simple, but I can't find an answer anywhere and I've spent hours going in circles.
No matter how I put a text label on the button (right now it is built into the button as dynamic text), when running the final file when the user's mouse is on the text the button cannot be clicked - it disables the button. So I have 6 buttons that cannot be clicked unless the user clicks right on the edge of the button (not on any part of the text). Is there not a simple way to overcome this? How do I make the text part of the button so it is clickable as well?
I'm working on an auto complete Input Text field. The user starts to type the state name "Pennsylvania" and when they reach 4 letters the box auto completes. My code is as follows and works:
[Code]...
Instead of auto completing I want the "sylvania" of Pennsylvania to be added to the text box but highlighted. So if the user keeps typing the "sylvania" part will be deleted or if they press the right arrow key the "sylvania" part will be added. Similar to how Google's auto complete works.
can i use microphone detection action script for mobile devices using flash lite ? if yes how can i do it ?
View 1 RepliesHow to use FSCommand2 in flash lite 4 use AS3.0
View 1 RepliesMay I ask whether iphone can support .swf file or not? This is because I have developed a mini game using Adobe Flash Lite by using action script 2.0 and save as .fla file and export as .swf file. If can, can give me some guidances on how to import .swf to iphone.
View 2 RepliesI have a dynamic text field(DTF) consisting of many lines and DTF has vertical auto-scroll, here we say I have these three lines:
L1.....
L2.....
L3.....
Then I have three separate movie clips( originally images, say img1, img2, and img3).these images are added by as3 on the scrren, above my DTF.
Such this:
L1.......img1
L2.......img2
L3.......img3
How I can croll down my DTF such taht these images move accordingly with their corresponding text lines?For example while scrolling down my DTF then img1 should follow the same y-position as L1, and so on.
I am using actionsript 3 and flex 3.5. Is there any way to change the font color of a part of text in TextArea control without using "htmlText" property?
For example I have a string "dog, cat, fish". I want to change the color of "cat" word to red.
How do you make some parts of spark.components.RichText bold?[code]...
View 4 RepliesTake a look at this demo, how do they accomplish the Inline Changes feature? To me it looks like they are floating a movieclip over the textarea. What I can't figure out is how they anchored the movieclip to stay in the correct position. If you type something before the movieclip it moves position along with the text, the movieclips even move to the next line when the text word wraps. Does anyone have an idea?
View 1 Repliesam working on developing and programming for games, having 2+ years experience. Now I want to learn more about Flash Lite and 3D Graohics Programming. me some of the best sites I can check and especially some offline resources/trainings
View 1 RepliesWorking on a project with a mobile device running windows mobile 5.0 and Flash Lite 2.1
I need to connect to a web service from within my application, or at least call the methods in the web service to get it to send xml back to my flash lite 2.1 application.
Tried XMLconnector, WebServiceConnector and the WebService class. Cant get it to work. Maybe a special api for mobile devices?