Symbols Like % + & From Text File?
is there a definitive list for encoding symbols like "%" and "¼" in a text file, loading them into flash?
FlashKit > Flash Help > Flash MX
Posted on: 10-24-2002, 10:20 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Moving Symbols And Animation From File To File
I know its possible, but how do you move a selection of symbols and layers from one document to another, keeping the animation and the seperate layers? When I have tried, it puts it all on one layer and there are problems with the animation.
Symbols And FIle Sizes
I know that using symbols improve file sizes, because the file only has to store the information once....
But what I want to know is if I make a drawing,
resize it so it's really small,
make it a symbol,
and then use that symbol and resize it to how big I want it...
Will it improve the file size??
File Size Of Images/ Symbols
hi,
I've been importing some jpegs into flash and tracing them using the trace bitmap facility. The thing is I want to know what the file size of the traced image is so that I can make sure that it is in fact smaller than the original.
How do I do this?
How To Load Library Symbols From .as File?
Hi there, I want to load symbols from the library in Flash using a .as file. I have a custom class that should trigger this to happen but I am not sure of the syntax to do it.
I have checked a tutorial:
http://www.bit-101.com/blog/?p=853
Which explains what to do but this does not seem to work when using flash alone.
Currently I have objects in my library names 'star', 'square' and 'circle. Here is my .as file:
ActionScript Code:
package{ import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; public class App extends Sprite { [Embed(source="library.swf", symbol="star")] private var Star:Class; [Embed(source="library.swf", symbol="square")] private var Square:Class; [Embed(source="library.swf", symbol="circle")] private var Circle:Class; public function App() { init(); } private function init():void { stage.scaleMode = StageScaleMode.NO_SCALE; stage.align=StageAlign.TOP_LEFT; var star:Sprite = new Star(); addChild(star); star.x = 100; star.y = 100; var square:Sprite = new Square(); addChild(square); square.x = 200; square.y = 100; var circle:Sprite = new Circle(); addChild(circle); circle.x = 300; circle.y = 100; } }}
This runs but I can't see my symbols,if someone could let me know the syntax to do this I would be very grateful
Thanks in advance
Schm
Dynamic Text: Detecting If Variables Match In Two Text Symbols?
Here's the problem:
I want to play a sound (or play an animation, whatever) if the first variable in one dynamic text is displayed at the same time as that in another dynamic text.
It works so that, when I press a button, one text field randomly displays one of "pizza" or "ham" and the second text displays randomly one of "is good", "is bad" or "yuck". Now I want it to play a sound when the random display comes up with "pizza is good".
I tried an educated guess with:
code:
if (_root.tiptext.variable == _root.tiptext2.variable) { play-sound }
but that doesn't work.
Any help?!?! (see attachment also)
P.S. don't ask why such a stupid program, it's just a test ^^'
(CS3 AS2) Deleting Symbols From Library & File Size Help
Hello,
I've got a fairly large and complex file going on (it's about 123 MB). There are 2 movie clips within it that I need help with. I want to send the file to a friend to look over those movie clips, but since it's so large I want to send something much smaller.
I saved another version of the file and deleted everything from the movie that doesn't involve the two problematic movie clips. First I dragged unrelated layers into the trash, and then in my library I picked "Select Unused Items" and dragged those into the trash.
However, the file's size only decreased by a few hundred KB. I probably deleted a good 85% of the information from the file, and there are no obtrusively large symbols left in the library that could account for such a large size.
How can I get my file size to accurately show how much is going on in the file? The only thing I can think to compare this to is putting files in the trash and not being able to figure out how to empty the trash... I'm clearly missing some important step, probably something glaringly obvious, too. Thanks!
Library Symbols Are Making My File HUGE
Hey everyone,
Im struggling in my conversion to AS 3.0 from 2.0. Ive been thrown into a project built by someone else and done in 3.0. The file is HUGE because they have included all of their custom built components in the library. They have built classes for the functionality of each component such as the videoplayer, audioplayer, etc. contained within external .as files.
My question is....is this the best way of setting up a project in 3.0. The reason I am asking is because Im trying to decrease the size of the main interface file and back in my 2.0 projects I would simply load any elements from external .swfs that I wished to appear on the stage when needed. The symbols I left in the library would be attached with attachMovie and were usually part of the look and feel or navigation.
Any suggestions to how best set up this project in a way that will keep the file size small and not embed so many of its components?
P.S. I have optimized to the best of my ability the symbols in the library already.
AS2 Symbol - Nested Symbols Invisible Outside Class File Constructor
Hi there.
I never got round to classes in AS2 so I'm having a go now.
I have a symbol, let's call it outer_mc. This clip has a class file associated with it, which works fine - the constructor is called when I attach it to the stage. All hunky dory.
Inside the outer_mc symbol is a symbol called inner_mc. If I trace(inner_mc) from the class file constructor I get "_level0.inner_mc" or whatever. If I trace(inner_mc) from anywhere else I get undefined!
To summarize: Why are nested symbols invisible outside the constructor function of its parent's class file?
Or am I doing something wrong? << more likely
ActionScript Code:
class outer_mc extends MovieClip{
var inner_mc:MovieClip;
function outer_mc(){
trace(inner_mc); // works fine
}
function someOtherFunction(){
trace(inner_mc); // undefined!
}
}
Many, many thanks in advance.
James
Editing Graphic Symbols By Copying And Pasting To Make Slightly Dif Symbols
Hi!
I am using flash to create moving people symbols. I created a "singular person" symbol and saved it, I then copyed a few to make a "bunch of people" symbol, when I go to edit these copyed and pasted symbols each saved symbol changes. Also I am saving them as graphic symbols at the moment.
thanks,
Helen
TEXT Vs Symbols
Hi,
I'm trying to create an interactive presentation where there is a list of 8 topics (each saved as a symbol). When you roll over or click on a topic, a list of related items appears next to it.
That part is simple enough i guess. But I'm new to scrolling. Complete scrolling virgin, I am. I've read a bunch of tutorials on scrolling. However, what I don't understand is whether text should be left as text or converted to a symbol? I was always taught that text in Flash was a bad thing.
Of course it would be easier as text. There are 8 "topics", each of which has a unique list of about 10 different things. (that would be eigthy different symbols!)
This isnt for the web, by the way. It's going on a cd. Could I somehow keep the scrolling items as txt and embed the font on the cd?
thanks for taking any time to help me out. I'm supposed to have this done by tuesday.....
cheers!
Jenny
[F8] Text Symbols Help
I have an issue where a text symbol is showing up as a square box when viewed. I had copied the text with the symbol and then pasted it into the flash file in a scrolling text box. Has anyone else had this issue and if so, how do I resolve it? My client is not very happy about it and I need to get it fixed. Here's a link...www.hairfree.bz
Thanks!
Text In Symbols
Hi, I'm very new to flash and I've got a problem.
I'm creating a drag and drop acticivity for a course where they drag a word into the correct place in a sentence. I've made the word a symbol so that I can drag it. But I want to be able to drag an instance of the symbol to the stage and then change the actual text to a different word. Everytime I click on the symbol to change the text it changes the symbol competely for all instances. How can I change just this instance of the text?
Thanks
Wheelz
Text Symbols Within A Mc
I was wondering if any of you guys have come across this problem.
Basically I have a button which loads a movie clip and navigates to a label.
My problem is that when the label is loaded the text symbol contained within the frames appears to have lost all its carriage returns.
When I drag the text symbol on to the stage there are no problems and the text displays correctly with all the carriage returns.
Any ideas??
Help With Text Symbols
Hi! I've done a movie in Flash MX and I have dotted borders around all of my text that I've converted into Symbols. I can't seem to get rid of it! There is no dotted line around the picture I have in the movie...just the texts. Can anyone help me?
Text Symbols Within A Mc
I was wondering if any of you guys have come across this problem.
Basically I have a button which loads a movie clip and navigates to a label.
My problem is that when the label is loaded the text symbol contained within the frames appears to have lost all its carriage returns.
When I drag the text symbol on to the stage there are no problems and the text displays correctly with all the carriage returns.
Any ideas??
Overlapping Symbols Inside Symbols With An Alpha Tween
Hello,
In the attached example, Is it possible to prevent the purple overlap area from showing and just be red since red's on top? I have characters that use symbols for arms, legs, etc. and I want to fade them in and out sometimes. The problem is, the areas where the limbs overlap look weird so I have to resort to converting them to shapes on one keyframe. This seems limiting and annoying. I was wondering if there's a command, extension, or property to fix this. Thanks in advance.
Is It Not Possible To Assign Instance Names To Symbols Within Symbols In Flash CS3?
Detail question on nha khoa Adobe group
OK, so I have a player object. I created a symbol that is linked to the player. Inside the symbol I have 2 symbols. 1 is the sprite that displays the player, the other is a rectangle box that is used for collision detection.
I tried giving the collision box an instance name in the property editor so I could reference the collision box from code. The Player symbol is linked to a Player class I wrote earlier so it creates an instance of the Player class. The error I get is this:
ReferenceError: Error #1056: Cannot create property myCollBox on Player.
myCollBox was the instance name I gave that collision box symbol. I thought maybe I had to make the collision box also linked to a class to be exported for action script, but that didn't seem to help.
Insert Symbols In Text Box
HI all,
I want to know whether we can insert "symbols" like "alpha", "gamma" im a text field.
Regards
Deepak Lohumi
Symbols In Dynamic Text
im dynamicaly loading text onto my flash pages... why is it that some symbols do not show up like %, +, n with ~ on top, and others... how do i make them ppear on the page...
thanks...
Mathematical Symbols In Text.
hi all
I have a problem.
I need to display mathematical symbols
such as squareroot , integral etc in text.
Is there any way I can do this without
having it as an image.
Thanks in advance
deepflash
Mathematical Symbols In Text
I need to display mathematical symbols such as squareroot , integral etc in text. Is there any way I can do this without having it as an image.
How Do I Rotate Text Symbols W/actionscript?
Hi all,
I'm trying to rotate a duplicated movieclip instance that contains some dynamic text. This is for use in a custom text effect (like rotating the characters as fly in or something.)
I'm using the setProperty("text1", _rotation, 45); etc, but it just makes the mc disappear.
I couldn't find anything on this... Does anyone have any useful insight on this?
Thanks!
=-Arlo
How Can I Get Flash To Reconize Text Symbols?
I have a scrolling text field that is loading a .txt file but it will not reconize the degree symbol, ® symbol, or the % symbol. I'm working on a Mac and build a flash projector that will be used on Macs and PC's. Can anyone help?
Thanks
Mike C.
Restrict Symbols In Dynamic Text Box
How would I restrict symbols and uppercase letters in a dynamic text box. (ie: password, username)
Do I have to setSelection() and list only the text I want? or is their an easier way
Aligning Text In Symbols? Impossible?
I cannot find this answer anywhere. Im using flash mx, not 2004. I have multiple buttons on a canvas, its like an interactive game. There invisible buttons, and they cover the canvas so when you hover over text appears at the bottom. This works fine, but how can I align the text so each hover appears correctly? there kinda wayward.
Inserting Symbols From Text Files.
I am loading in a flash movie a text file, the text is set to allow html coding, i want to know if it`s possbile to load symbols like the euro sign, TM in flash from the text file ? At least inserting a subscript text from a text file , the <sub> text </sub> dose not work, any fast help please? Tnks !
Blurry Text Inside Symbols
I had this problem and I couldn’t find any solutions to it in any forum. After a while I figured out what the problem was. So I am posting it here for future reference.
Problem:
Aliased text appear blurry when inside a symbol with more elements on it
Cause:
Flash simulates the Aliased text using vectors. To do that Flash uses the top left corner of the symbol for doing the calculations. This top left corner is not necessarily the 0,0 coordinate. If the top left corner of another object in the symbol is sitting in a not whole x or y then Flash will calculate the Aliased text from there. Hence making the text looks blurry.
Solution
Make sure that the top left corner of the symbol is in an integer x and y coordinate. Inside the symbol place and object with the top left corner also in an integer x and y. A good way is to create an empty graphic and place it on 0,0. So it works as a registration point.
Dynamic Text Box And Font Symbols
I have dynamic text boxes and static text boxes both set to a font symbol that I created in the library.
The static text portion is displaying correctly on all browsers/platforms but the dynamic text boxes are not as reliable. On Macs or PCs without the font already on the machine they display in a default font.
Why is the static text box displaying fine and the dynamic not?
Is there some special procedure for connecting dynamic text boxes with font symbols?
Effects On Text And Symbols In Flash
Hi all, Newbie question here:
Should I do all my effects in Photoshop & then import images & text layers, or is there a way to add effects in Flash? Also, what's the best format to import? and can photographic images be imported w/out too much loss of clarity?
thanks
ag
Symbols Like % Not Showing In Text Variable
Hi
I'm pulling text from an PHP file which is displayed in a dynamic textfield. The text has the % symbol in it which won't display once it's rendered.
The PHP text looks like "40% Chance of Rain"
The Flash text box displays "40Chance of Rain"
The flash file reads the text, but does not display the % sign. It has the same issue with other special characters also.
How do I get it to display the % as part of the text?
Text From Db Query Needs To Have " And ' Symbols
I'm getting dynamic text from a db via coldfusion. the text is:
Quote:
8'6"
i need to maintain the feet and inch symbols (', ") in my flash dyn text box.
currently I'm getting
Quote:
86
HELP! any way around this?
project is in actionscript 1.0 (flash mx) and will not easily port to 2.0
Dynamic Text Problem W/symbols
i recently downloaded, kirupa's tutorial on scrollable loading dynamic text.
it works very well, but when it comes to symbols like (& and +) these appear to make all the text after them dissapear, when the text loads from an outside file.
HELP please!!!
Bitmap Text And Font Symbols?
When working with pixel fonts I'm using the 'Bitmap Text (no anti-alias)' rendering method, but this doesn't allow you to embed fonts.
Is it therfore not necessary to embed fonts when using Bitmap Text or should I create a new font symbol in the library and link the text to that?
Adding Symbols To Dynamic Text
I'm modifying an existing Flash site and running into some complications that I hope someone here can help me out with. The current site has a few pages with a restricted text area, but the copy exceeds the size of that text area. Due to time and budget constraints, the easiest way to solve it was to create the text field as dynamic and allow it to scroll. The only problem is that a few pages where this is done, the client wants to include hyperlinks, which doesn't seem possible with dynamic text. My question is, can I drop in a symbol within the dynamic text field that will be able to be hyperlinked, but still scroll with the rest of the text?
Graphic Symbols And Movie Clip Symbols
what is the difference between creating a graphic symbol from an image with it's own timeline animation and creating a movie clip symbol from the same image that can be animated in the main timeline?
Or do I totally misunderstand the difference between the two?
Fonts Symbols, HTML And Dynamic Text ?
Hello.
I have this 2 fonts symbols (NORMAL and BOLD) that i like to use in a this dynamic text box. The problem is if a assign the text box to the NORMAL font symbol, and then create a variable holding the following string;
text = "<font face="BOLD"> TITLE </font><br> INSERT TEXT HERE"
Only the "Insert text here" appears not the title (using the other font symbol - BOLD). Am i doing something wrong?
Thanks in advance.
T.
Fonts Symbols, HTML And Dynamic Text ?
Hello.
I have this 2 fonts symbols (NORMAL and BOLD) that i like to use in a this dynamic text box. The problem is if a assign the text box to the NORMAL font symbol, and then create a variable holding the following string;
text = "<font face="bold"> TITLE </font><br> INSERT TEXT HERE"
Only the "Insert text here" appears not the title (using the other font symbol - BOLD). Am i doing something wrong?
Thanks in advance.
T.
[Edited by anarchitecton on 07-11-2002 at 12:20 PM]
How To Insert Strange Symbols In Dynamical Text?
I tried to insert strange symbols as "ë, ï, &" in my dynamical textfiels. I put them in the .txt, but that doesn't work. It can't read it in.
I tried also the html-equivalents (ë in the .txt, en have chosen 'render als html', but that doesn't work either.
Does anyone know a resolution?
bye!
Alices
Showing Symbols In Dynamic Text Feild
I need to add a copyright and registration trademark symbol in the dynamic text field that i have creted.....as these are symbols its difficult for me to incorporate in the dynamic text field. i tried downloading a font whch has these symbols and used html tags to show up...it did work well....the only issue being the font needs to be installed on the individuals users machine....and if the user odes not have it.....will not be able to c it.....
Is therea away i can resolve this issue....?? can i laod images in dynamic text feild ?
I need this problem to be resolved on urgent basis.....can anyone please help em out with this !!!!
Cheers!
Convert Text Symbols To Api Drawing Coordinates
Basically I want to know how I can export text that I place on the stage in the font and size I select into a vector-based table or list that I can then incorporate into an array of lineTo and curveTo coordinates to draw from actionscript to a clip. I want to draw large headings with actionscript without having to download the required fonts.
thanks
Accessing Dynamic Text Fields In Symbols
Hi am just starting to learn Action Script three and have started to create a AS3 Flash project. I am creating a movie clip symbol (which will be used as a button) with a text field that I want to be able to change dynamically as I load in formation in from mySQL. Can some one show me or send me a link that will provide an example on how to access the text field in the symbol? I keep getting a "Access of possibly undefined property error."
Thanks
Russell E. Colwell
Math Symbols Not Showing In Dynamic Text
hi,
I have a dynamic text field in flash that gets it's content from a txt file, saved in UTF-8. All my special characters like ç or ã are showing, but + and % aren't...
any ideas? tks in advanced
Movie Symbols Vs Graphic Symbols
to movie or to graphics?
I remmember in flash 5 movie symbols compiled smaller than gaphic symbols. is that still the case in Flash MX?
|