ActionScript 2.0 :: TextFormat.size Maximum?
Jun 8, 2008It seem that the textFormat.size property has a maximum - attempting to set it to something like 160 doesn't work correctly..
View 2 RepliesIt seem that the textFormat.size property has a maximum - attempting to set it to something like 160 doesn't work correctly..
View 2 RepliesIn my movie, I have a dynamic textfield on the timeline starting the first frame and going to the end. At various points during the movie, I change the text in the textfield (and that works just fine), but I also want to change the font-size when I do that. I've tried using setTextFormat to a different TextFormat object, but that doesn't seem to work. Maybe someone has a better idea?
[Code]....
According to the ActionScript 3.0 documentation, the TextFormat classes size property is an Object. Why is this? Clearly this is a number! When I check its type (using typeOf()), it returns Number. So whats the deal?
View 3 RepliesIs there a way to set a (large) maximum size for SharedObject on my domain so that I can ask the user to allocate a size greater than 100k one time and not need to ask again, even if data is added?
View 1 RepliesAnyone here know the maximum size of a Flex canvas or UIComponent? I know the old MovieClip class was limited to 2800x2800px.
View 1 RepliesProject: Simple Click Counter of two separate buttons.
Problem: Font size of clicks needs to be changed/increased.
link to .fla
Not sure where to place this code in the script below.(inserting it causes font to initially to be correct size of 20 but changes back to default when a mouse click is issued)[code]...
I'm making an action game and I'd like to know what should be the maximum size of the stage (mine is 660 x 500).Also I'd like to know how big a game-sprite should be. Currently my biggest sprites have a size of 128 x 128 and I read somewhere on the internet that you should not make it bigger because of performance issues.
If you want to make e.g. big explosions with shockwaves even 128 x 128 does not look very big. What's the maximum size I can definitely use for sprites?
I'm making an action game and I'd like to know what should be the maximum size of the stage (mine is 660 x 500). Also I'd like to know how big a game-sprite should be. Currently my biggest sprites have a size of 128 x 128 and I read somewhere on the internet that you should not make it bigger because of performance issues. If you want to make e.g. big explosions with shockwaves even 128 x 128 does not look very big. What's the maximum size I can definitely use for sprites?
View 4 Replieswhat is the maximum size of SharedObject file?
View 2 RepliesIs there an upper bound to the size of a sprite in as3 / flash 10?
View 6 RepliesI want to know the size limit of data which can be fetched in case of HTTP/Webservice/RO.
View 2 RepliesIs there any way to make a stage larger than 2880x2880??? Normally it is not that much useful but there are times when I want to create a presentation that spans onto multiple monitors. I probably know the answer, but I thought that I'd ask anyways.
View 8 RepliesI'm building a photographer's gallery website and I need it to resize to fit in browser window. So far so easy...What I would really like to achieve is a maximum and minimum size that the gallery will go to.
So, if the images I am using are 1400x1000 (for example) when this size is reached by the user expanding the browser window i don't want the gallery to expand any more, just sit in the middle of the page.
Similarly I don't want the gallery to go below say 800x600... how to set a max/min?
I'm making an action game and I'd like to know what should be the maximum size of the stage (mine is 660 x 500).Also I'd like to know how big a game-sprite should be. Currently my biggest sprites have a size of 128 x 128 and I read somewhere on the internet that you should not make it bigger because of performance issues. If you want to make e.g. big explosions with shockwaves even 128 x 128 does not look very big. What's the maximum size I can definitely use for sprites?
View 3 RepliesIs there a maximum size limit for files being uploaded in Adobe Flex?I am testing it on localhost and can't upload a file of roughly 300MB.Even though I receive the complete event, after I upload the file....I was able to upload a file of roughly 10MB.
View 1 Replieshow to fetch the maximum size that the SharedObject class can utilize?
Something like
SharedObject.getLimit()?
I am aware, that by default, its 100kb. In the event that the user has modified their settings, and increased the SharedObject quota, then I have no idea of how to fetch the info.Is there a way to find out in AS3? Or should I just stick to the possibility that 99% of users will NOT change their settings.
what is the total maximum file size that the flash cs4 library can hold?? because im experiencing error, right now, i have too many objects in the library.is it because of the too many items in the library?
View 5 Replies[Code]....
I've been trying to add a resize function to this so that it can be viewed in different size browsers. Exactly like the opening page of this site [URL] So the whole page is always in view and scales until it reaches a set maximum size.
I'm currently working on a website design. The idea is a big chromakeyed interactive video in Flash. The size of the video is 1080 (width) x 1500 (height) pixels.I've exported the video in After Effects with the standard settings for flash (File>Export>Adobe Flash Player(SWF)). Now when I import the video in Flash and preview the file, the video plays in a slower speed and it's not playing smooth at all...Is the video too big? Is there a maximum video-size to keep the video running correct in Flash? Is it something else that causes this problem..?
View 5 RepliesI am loading images of different size and then images are scaled and border is drawn for each image as shown in below link,[URL]... I want that border of images to be of the same width and height and for that I need to find out the max width and height size image before loading all the images. Is there any way that I can know the width and height of an image before loading it completely?
View 1 RepliesI am working on a large project that displays a fair amount of text.how to best handle the formatting of the text globally? what is the best way to handle the text formatting on a global level ? Through the TextFormat class, through style sheets, a combination of these two depending on the specific situation ?
Is it a best practice for large projects to use style sheets for all of the texts ? Implying that all texts must be written with tags.Using only style sheets seems like the best approach at this time to me but before going into coding this approach on a large scale in my project,
my code is correct, but anyhow, anyway my textformat does not work, examine follow codeDidnt see what i did wrong.
//SCROLLING SPEED
var scrolling_speed:int = 2;
//TEXT TO SCROLL
[code]......
Im new to As3 and theres an issue thats driving me crazy. I need to know the name (or reference) of a TextFormat and I cant seem to do it.
Heres some of the code
ActionScript Code:
var f:TextFormat=tf.getTextFormat();
trace ("f.size"+f.size)
trace("****** "+f as String);
Basically I need to find the name of the textformat, which when I created i named like this:
ActionScript Code:
// for example "menuTextSmall"...
var nombreFormato:String = formatosXML.estilo[i].@nombre;
global.formatos[nombreFormato]=new TextFormat();
I have my formats in an xml file with name, attributes, etc. I can get the properties of the TextFormat but I dont know which TextFormat it actually is!!
I'm setting the style of a textfield selection like [code]...
I tried searching, but Google ignores brackets, so I can't search the output shown
I have an text field set as HTML and Im pulling in some text from XML and I can't figure out how to use textformat HTML tag with tabstops, here is XML:
ActionScript Code:
<![CDATA[<textformat>Name Surname Nickname</textformat>]]>
I want all to be separated like so(100px between Name & Surname and 150px between Surname & Nickname):
Name 100px Surname 150px Nickname.
How to do this? I guess I would have to do something like:
ActionScript Code:
<![CDATA[<textformat tabstops="100,150">Name Surname Nickname</textformat>]]>
I've created a price updater project to retreive the foreign exchange rate and reload for every 2sec. However, the exported swf only working under firefox and Chrome, but not IE. I had also tried to embedded teh font inside, but still not be able to work out
[Code]...
Forgive me if this is an obvious one but it has me a bit confused. I have the following sample:
Code:
import flash.display.Sprite;
import flash.text.TextField;
[code].....
This is a bit of code that lets the user click somewhere and type in some text. Everything in my code works except I can't seem to set the text format. It defaults to Times New Roman. Do I need to embed the fonts or something?
Code:
i = 0;
mcDraw.onPress = function() {
i++
[Code].....
...when i set the textField with new text eg:
var tf = new TextField();
var myFormat = new TextFormat();
//set textField format
[code].....
I have created a new textFormat for some dynamic text that is loaded into a textfield. Is there a way to change the style of the text when hovering over it?
View 2 Replies