Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




XML Display Problem



In the below XML...

<![CDATA[<span style='font-size:40.0pt; font-family:Arial'>q text info </span><span style='font-size:8.5pt; font-family:Tahoma'><img width=65 height=15 src="Resources/image001.jpg"></span><span style='font-size:10.0pt;font-family:Arial'>*with images also</span><p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></p>]]>

How to set the textformat as above in a textfield with the same fontsize and font family as mentioned in the xml CDATA.
At present , i am using textfield.htmlText propert , but i am not able to get the fontfamily as mentioned in the xml CDATA. The text is also not getting displayed in the correct format. The image is not coming in between the 2 question strings and its getting displayed at the bottom of the question while the 2 question strings("q text info", "with images also") are displayed as a single string. How to reformat the xml so that the image comes in between.



ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 12-23-2008, 01:19 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Test If A Display Object Has Been Added To The Display List
Is there any way to test if a display object has been added to the display list?

Detect Flash / Display If Have / Display Image If Not.
Im using PHP so this is for "programmers" who use flash (or anyone who knows php enough to make a detection script).


I need to have a flash movie displayed on a page if it can determine whether or not the browser has the flash plugin. If it doesn't (ie can't tell what version, no plugin, etc) then I want it to display a GIF/jPg instead.

Using PHP and Flash 5

Help appreciated.

Diff Betn Display.and * Display.Sprite
Hello guys,

In many tutorials, I have seen that when the author want to use Sprite he imports flash.display.*

If he wants to use Sprite only then isn't it sensible to import Sprite only?

Whats the difference between importing everything with * and importing a particular class only?

Wont importing everything increase the movie size unnecessarily?

[F8] Display Inside MC A Bigger Image But Only Display Image Inside Size Of MC
Hey...

I have an easy question,

I want to display an image that is being loaded inside a Movie Clip which is working as a picholder...

This movie clip has borders and the size of the mc (the size that the borders create) is: 200 x 150

But the image that is being loaded inside the MC is bigger than the mc...how can i tell flash to only load just 200 x 150 of the picture ? AND/OR automatically resize the picture to fit the MC size

Any ideas?

Thanx for the reply!

Need To Display A
I'm having flash read from a text file - no problems there. But I need to know if there is a trick to getting a "&" to display. I have saved as Unicode so I can get other characters to display, but since the & is used to end one variable and set the next variable it won't display it. Can someone help? Thanks so much.

FPS Display?
Real quick, is there a way to display the frames per second on the screen during your movie?

-Tyler

Display Jpg In F5
An probably really old matter but I didn´t find any tuts on!

A client wants update a gallery of pics himself without nowing flash. In flash 5. Is there a way to display .jpgs in flash5.

greets

andylatte

.swf Will Not Display
i have not had this issue until today.
if i open an html document with an .swf embeded,
it just displays a broken Quicktime symbol. no flash.
what does this mean?

How To Do A Pop Up Display?
I am doing a small project. I have a narrator reading in the background, and I want to make a button that will show and hide what the narrator is saying without interrupting the sound file. Anyone know how I can do this?

I want to click on the show btn, and then maybe a screen moves in with the scrollable text.

Can someone point me to a tutorial?
Thanks!

Gif Display
I'm going a bit mad with this one.
I have been supplied with GIF images as I need a transparent background, they display fine in MX, but when I publish, they look gicky, almost corrupted.
Does anyone have either:
a) an alternative image format that we can try for transparency
or
b) a resolution to GIF display problems

Mc Won't Display
hi

/this creates 1 image on screen and it should create 2 since i copied the movieclip with draw
//why only 1 image and not 2?

var bmp1:BitmapData = BitmapData.loadBitmap("cave1");
var bmp2:BitmapData =new BitmapData(64,64);


this.createEmptyMovieClip("mc1", this.getNextHighestDepth());
//var loader= new MovieClipLoader();
//loader.loadClip("cave1.png",mc1);
this.createEmptyMovieClip("mc11", this.getNextHighestDepth());
var loader= new MovieClipLoader();
loader.loadClip("cave1.png",mc11);
mc11._x=200;

//bmp2.draw(bmp1);
this.createEmptyMovieClip("mc2", this.getNextHighestDepth());
bmp2.draw(mc1, new Matrix(), null,null, new Rectangle(0,0,32,32));
//bmp2.draw(bmp1);
mc2.attachBitmap(bmp2, mc2.getNextHighestDepth());


mc2._y=100;

2 Mc's No Display
I want to display 2 movie clips created dynamically in a function. This only displays 1 and I don't know where I have gone wrong. I need a little help.

var mLoad:MovieClipLoader = new MovieClipLoader();
var mLoad2:MovieClipLoader = new MovieClipLoader();

var i=0;

mc3.onPress = function () {
i+=1;

//_root.createEmptyMovieClip("mc2",this.getNextHighe stdepth());
this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=100;
this._parent["mcc"+i]._y=10;
mLoad.loadClip("93img2.jpg","mcc"+i);
i+=1;

this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=300;
this._parent["mcc"+i]._y=10;
mLoad2.loadClip("93img2.jpg","mcc"+i);
trace(i);
// holder["p"+ipic]._alpha = 0;

}

GSM Won't Display?
I'm trying to change my global security settings for testing purposes, but I can't get the SWF to load on this page...

http://www.macromedia.com/support/do...manager04.html

I'm fairly sure that it should. How can I change the settings in another way? I'm running CS3, Player 9, Ie6 or FF3.

Thanks,
davulf

Why Does This Not Display?
Here's my predicament. Basically, when I am at work I can never properly view my site ( http://www.wheelsonwheelscoveringkent.co.uk/ ). What happens is the first screen displays fine, but when the map thing appears, none of the text displays and most of the lines are gone. The rollover effect still works though. I noticed at work I am on Flash Player 7, but at home on Flash Player 8. 8 Works fine, and I tried making the file a Flash 7 file but it didn't solve my problem. Does anyone know why this happens - there are also filtering things on the work computers...

2 Mc's Won't Display
I want to display 2 movie clips created dynamically in a function. This only displays 1 and I don't know where I have gone wrong. I need a little help.

var mLoad:MovieClipLoader = new MovieClipLoader();
var mLoad2:MovieClipLoader = new MovieClipLoader();

var i=0;

mc3.onPress = function () {
i+=1;

//_root.createEmptyMovieClip("mc2",this.getNextHighe stdepth());
this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=100;
this._parent["mcc"+i]._y=10;
mLoad.loadClip("93img2.jpg","mcc"+i);
i+=1;

this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=300;
this._parent["mcc"+i]._y=10;
mLoad2.loadClip("93img2.jpg","mcc"+i);
trace(i);
// holder["p"+ipic]._alpha = 0;

}

£ Won't Display
I'm creating dynamic text fields and displaying text, most of which comes from XML served dynamically. The EURO and British Pound symbols don't display. The US dollar sign does. The actual XML generated text displays fine.

Among the text fields is one that displays a product's price. The relevant currency symbol ($, £, €) isn't in the XML. Instead, there's a node in the XML that states what the currency for the product is in three letter codes (EUR, USD, GBP.) I take what's in that node and run it through a method that returns the relevant symbol. Then, when it's time to populate the text field, I set its text property in something similar to the following pseudo-code:


ActionScript Code:
var currencySymbol:String = getCurrencySymbol("GBP");
var productPrice:String = productData.price;
myTextField.text  = "Price: " + currencySymbol + productPrice;

Tracing the results of the above returns the expected string, including the pound symbol. The Output Window's Show Objects command shows the TextField with the proper text string as its property, including the currency symbol.

But the TextField in the swf doesn't show the pound symbol, if that's the expected symbol. It doesn't even leave a space where the symbol would be. It DOES show the dollar sign, when that's the proper symbol. I haven't seen an example of what happens with the EURO, yet.

Any idea on this, anyone?

Display Bug
I have an unexpected problem: an interface I'm working with has next/previous buttons at the bottom of the interface and a movieclip with textfield that displays a company copyright. These assets display normally in IE 7, but in Firefox they are invisible. One thing I've realized is that they are the only items that are placed on the stage at author time - everything else is created programmatically. It doesn't exactly encourage me to use stage objects if they aren't going to display in Firefox. Has anyone else run into this problem?

Anyone Seeing This Display Bug?
In Flash 8, I'm finding that sometimes, when I open a menu, be it from the menu bar or a right click popup menu, that one of the listings that I rollover "sticks" when I'm done, so that it remains visible in rollover state on my display. It's not live, it's just the image. It usually happens as one of the first things I do when I open the program and I can't get rid of it until I reboot the machine.

FLV Does Not Display In IE
Hi all,
I am facing a problem with displaying the FLV file in IE. I used dreamweaver CS3 to embed the FLV in the webpage and used Flash CS3 to make the FLV file. It is perfectly working in Firefox. BTW, i converted progressive FLV using Flash CS3.

for reference you can visit This FLV location

I will appreciate your reply. Thanks.

Url Display Help
I have a website that navigates between about 50 scenes. The url in the address block does not change with each scene - how can I make this happen so that I can send people direct links to specific scenes?

2 Mc's No Display
I want to display 2 movie clips created dynamically in a function. This only displays 1 and I don't know where I have gone wrong. I need a little help.

var mLoad:MovieClipLoader = new MovieClipLoader();
var mLoad2:MovieClipLoader = new MovieClipLoader();

var i=0;

mc3.onPress = function () {
i+=1;

//_root.createEmptyMovieClip("mc2",this.getNextHighe stdepth());
this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=100;
this._parent["mcc"+i]._y=10;
mLoad.loadClip("93img2.jpg","mcc"+i);
i+=1;

this._parent.createEmptyMovieClip("mcc"+i,this.get NextHighestdepth());
this._parent["mcc"+i]._x=300;
this._parent["mcc"+i]._y=10;
mLoad2.loadClip("93img2.jpg","mcc"+i);
trace(i);
// holder["p"+ipic]._alpha = 0;

}

Cannot Get Fla To Display My Flv
trying to get video to load externally from xml
but it Is not working for me.







Attach Code

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);

//var videoName;
var videos:String = xml.firstChild.childNodes[2].childNodes[1].nodeValue
var events = new Array();

var xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = function(readxml) {
if (readxml) {
//nameText.text = xml.firstChild.childNodes[2].childNodes[1];
videos = xml.firstChild.childNodes[1].childNodes[2];
//videoUrl = "http://theaddress.com/video.flv"; /*this would fix it*/
ns.play(videos);
}
};

xml.load('content.xml');

3D Display
Hi,
I was bored a bit and wanted to make this for a while... I modified sen's tutorial, I started from teh clickable cube file and got it into this.
It can be loaded with data exported from maya...Im making a php script to process the data so they can be passed to flash easily. Till now, some basic lightning is implemented, which was my main goal...

FLA
SWF

btw the sliders have no use now, while light is rotated with mouse

HELP XML Won't Display
I keep trying but I can't seem to fix the problem, I keep getting "undefined" coming up on my dynamic text fields. When I run trace (this.onString()); the xml document comes up perfectly. but just wont appear for the text fields. can someone please help me and see what im doing wrong?

Actionscript:

Quote:




function loadXML(loaded) {
if (loaded) {
_root.fish = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.description = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.fish;
comment_txt.text = _root.size;
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("connect2.asp");




connect2.asp file:

Quote:




<?xml version="1.0"?>
<fish><Name>Small Blue Fish</Name><description>It's Blue</description><Location_Name>America</Location_Name><Size>Small</Size></fish>

Xml To Display In As3
hello, i think i'm really close to get this to work.

I have the following as code
ActionScript Code:
package com.t3.views.news
{
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.display.SimpleButton;

import flash.text.TextField;
import flash.text.TextFormat;

import flash.events.*;
import gs.TweenMax;
import flash.net.URLRequest;
import flash.net.URLLoader;
import flash.xml.XMLDocument;

public class NewsItem extends MovieClip {

private var xmlLoader:URLLoader = new URLLoader();
private var xmlData:XML = new XML();

public function NewsItem():void {

sb.addEventListener(ScrollBarEvent.VALUE_CHANGED, sbChange);

//loadXML
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("sampleXML.xml"));
}

private function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
trace(xmlData);
}

private function sbChange(e:ScrollBarEvent):void
{
TweenMax.to(content, 1, {y:(-e.scrollPercent*(content.height-masker.height))});
}
}
}


and this is my xml file



ActionScript Code:
<?xml version="1.0" encoding="UTF-8"?><news>    <newsItem date="09/18/99">        <title>"Some title1"</title>        <![CDATA[        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas ultricies consequat ligula. Nulla nibh lorem, lobortis quis, fringilla a, rutrum in, elit. Etiam velit. Ut in massa ut eros ornare dignissim. Maecenas vestibulum, orci quis vulputate vehicula, arcu augue hendrerit nunc, quis elementum eros nulla et quam. Curabitur quis dui. Sed ut sapien in dui varius condimentum. Fusce aliquam. Donec eu purus faucibus metus eleifend faucibus. Pellentesque volutpat neque facilisis est.Aenean porta sodales nulla. Etiam convallis. Ut eget nunc varius quam tristique tristique. Quisque libero magna, pharetra ut, varius a, sodales a, urna. Donec nibh turpis, lacinia a, dapibus in, placerat vel, nisi. Nullam ultrices neque in pede. Donec vestibulum lacinia tortor. Nam ipsum orci, congue in, sodales quis, euismod at, turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse non libero. Aenean ullamcorper hendrerit augue. Nullam sit amet odio. Vestibulum adipiscing erat ut libero.         ]]>    </newsItem>    <newsItem date="10/21/05">        <title>"Some title2"</title>        <![CDATA[        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas ultricies consequat ligula. Nulla nibh lorem, lobortis quis, fringilla a, rutrum in, elit. Etiam velit. Ut in massa ut eros ornare dignissim. Maecenas vestibulum, orci quis vulputate vehicula, arcu augue hendrerit nunc, quis elementum eros nulla et quam. Curabitur quis dui. Sed ut sapien in dui varius condimentum. Fusce aliquam. Donec eu purus faucibus metus eleifend faucibus. Pellentesque volutpat neque facilisis est.Aenean porta sodales nulla. Etiam convallis. Ut eget nunc varius quam tristique tristique. Quisque libero magna, pharetra ut, varius a, sodales a, urna. Donec nibh turpis, lacinia a, dapibus in, placerat vel, nisi. Nullam ultrices neque in pede. Donec vestibulum lacinia tortor. Nam ipsum orci, congue in, sodales quis, euismod at, turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse non libero. Aenean ullamcorper hendrerit augue. Nullam sit amet odio. Vestibulum adipiscing erat ut libero.         ]]>    </newsItem>    <newsItem date="02/68/09">        <title>"Some title3"</title>        <![CDATA[        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas ultricies consequat ligula. Nulla nibh lorem, lobortis quis, fringilla a, rutrum in, elit. Etiam velit. Ut in massa ut eros ornare dignissim. Maecenas vestibulum, orci quis vulputate vehicula, arcu augue hendrerit nunc, quis elementum eros nulla et quam. Curabitur quis dui. Sed ut sapien in dui varius condimentum. Fusce aliquam. Donec eu purus faucibus metus eleifend faucibus. Pellentesque volutpat neque facilisis est.Aenean porta sodales nulla. Etiam convallis. Ut eget nunc varius quam tristique tristique. Quisque libero magna, pharetra ut, varius a, sodales a, urna. Donec nibh turpis, lacinia a, dapibus in, placerat vel, nisi. Nullam ultrices neque in pede. Donec vestibulum lacinia tortor. Nam ipsum orci, congue in, sodales quis, euismod at, turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse non libero. Aenean ullamcorper hendrerit augue. Nullam sit amet odio. Vestibulum adipiscing erat ut libero.         ]]>    </newsItem>    <newsItem date="01/17/08">        <title>"Some title4"</title>        <![CDATA[        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas ultricies consequat ligula. Nulla nibh lorem, lobortis quis, fringilla a, rutrum in, elit. Etiam velit. Ut in massa ut eros ornare dignissim. Maecenas vestibulum, orci quis vulputate vehicula, arcu augue hendrerit nunc, quis elementum eros nulla et quam. Curabitur quis dui. Sed ut sapien in dui varius condimentum. Fusce aliquam. Donec eu purus faucibus metus eleifend faucibus. Pellentesque volutpat neque facilisis est.Aenean porta sodales nulla. Etiam convallis. Ut eget nunc varius quam tristique tristique. Quisque libero magna, pharetra ut, varius a, sodales a, urna. Donec nibh turpis, lacinia a, dapibus in, placerat vel, nisi. Nullam ultrices neque in pede. Donec vestibulum lacinia tortor. Nam ipsum orci, congue in, sodales quis, euismod at, turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse non libero. Aenean ullamcorper hendrerit augue. Nullam sit amet odio. Vestibulum adipiscing erat ut libero.         ]]>    </newsItem></news>


my questions is, i would like to display my data to flash in a movie clip called container...
but i want to display everything in this movie clip as a list.

inside my movie clip i have 3 dynamic texts date_txt, title_txt and desc_txt
in my private function LoadXML i was playing with this:
container_mc.date_txt.text = news.date;
container_mc.title_txt.text = news.title;
container_mc.desc_txt.text = news.cdata;

so it tells me that property news is undefined... i know i'm really close! but please help me out understand this thing and make it work too of course! i want to display everything on my xml data as a list

like this:

date
title
description1

date
title
description2

and so on...

Any Way To Display How Much RAM Your App Is Using?
i'm testing different methods for rendering graphics in a game and i want to see how much memory all these bitmaps i'm using eat up. are there any AS3 commands that allow you to see how many bytes of RAM your app is currently using? so far i've just been looking at the ammount it eats up in task manager, but it'd be nice to have a number come straight from the horses mouth. also, does anyone have any opinions on how much RAM a flash game should use at maximum? thanks in advance

CSS To Display Swf
I have been using some css to display an image in a <div> area using this syntax: #secondary_top {background-image:url(images/banners/secondary_top.jpg); background-repeat:no-repeat; background-position:top right;}

But... is it possible to have a swf file with the same dimensions, load instead? using css? If so... how can it be done? the image is 552wide x 182high (pixels)

Anybody..........?

%DF Won't Display ß
%DF won't display ß when loaded from a text file into a dynamic text box. I can get the ß to display but when it is URL encoded it will not show the Beta symbol.

For example %26 will show '&' and that works fine, I just cannot get it to work for beta using any font, embedded or not embedded.

Anyone know how to get this to work?

thanks, khamstra

Display FPS
I have been trying to locate without success some code that will allow me to preview my movie, with a fps display in the corner so i can see how different interactions bog down the movie. How should i go about accomplishing this. If you have a link to a tutorial or some code to get me started that would be awesome. my search skills suck today.

Display
Is there a way in flash of showing My Documents,
or something, of file management?
Thanks
Sephers181

How Do I Display The Time?
how do i display the time on a flash movie? do you have to use dynamic text and the getTimer() function or what. please help me out with this. i have absolutley no clue on this one.

Display Coordinates
Hi all,

I was wondering if anyone can tell me how to place numbers in my website that will correspond to the coordinates of the mouse?? I tried looking up a tutorial but it doesn't work and causes my computer to freeze. Please help!

quester

How To Display X Y Position Of MC?
If I were to make a movie clip glide around on the stage using motion tweens, is it possible for that particular movie clip to return x y values for its own position? What about when that particular MC is nested in many other MCs.?Is there anything else I could do to display the x y values for the location of the movie clip.?

Text Display
I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan

Text Display
I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan

Arrays And Their Display
I have three arrays that collects the user entry into a text field, depending if the value they entered is in relation to a 1, 2 or 3. The arrays are named similar, One , Two, Three.
They all occupy a seperate element in the array from 0 up to 20.
When i display the results in the text entry field, I have commas seperating them because it may display
element 1 and 5 in array One and 2 and 4 in array Two.

I get this sort of thing 1,,,,5.

How do i make it so that it always takes up the place of the next element within the array, rather than 1 and 5

help!!

Display Variables From Other MC
Hi all!
I want to, in a mail form, show a variable typed in in a diffrent movie clip to be displayed in the movie clip where the mail form is located...

I´ve tried the tutorial on...

http://www.flashkit.com/tutorials/Dy...58/more4.shtml

but I don´t get it to work... I guess I dont get the path right... but I´ve tried all possible way I can imagine...

Is there anybody out there.... out there... out there

Display An Swf WITHOUT Using The Embed Tag?
Hello everybody. I am curious if there is a way to display an .swf movie without the embed tag. I belong to a gaming forum and the way to show the sigs is to write the URL and then it will show the picture. BUT, it doesn't allow HTML or the embed tag, JUST a url? If I type http://www.whatever.com/sig.swf, it won't show the swf file as my sig like it would a normal Gif or Jpg. Is there any way to do that?

Thx alot for any help or suggestions.
[Edited by Xandur on 10-30-2001 at 01:34 AM]

Difference Display Between Mac And PC
I have encountered this problem, the flash movie I made is quite simply just some motion tween between seven pictures. But the problem is the flash movie looks fine in PC. But when you view it at some Macs, the middle part of the picture has shifted a little bit to the right.
I thought maybe because I didn't use preload to load all the pictures before playing the movie. So I used preload, PC works fine, but when look at Mac, the loading seems to be there forever.
Is anybody has encountered similar problem?

The address of the movie is:
http://www.ashp.cuny.edu/LM/enter2.html (withoutloading)
http://www.ashp.cuny.edu/LM/enter3.html (withloading)
[Edited by yunyun_lee on 11-02-2001 at 02:30 PM]

Percent Display
Hello,
How do i get Swish to show the total % of the movie loaded when viewed in a browser ?
I want people to have an idea how long they will wait till it loads.

Also.. is it just me.. or does Swish not time to the music the same as it looks in the browser.
I hope you can help me out!

Thanks,
Drew

Display Movie
Is there a way to make your movie adjust to the viewers monitor automatically??

How To Display Currency?
Hi folks,

I'm using a dynamic text box to display the total price of some items.
Trouble: when it has only one decimal place (e.g. 6.5) I must add a zero ("0"), so it'd resemble to a kinda price.
I've tried lots of stuff (e.g. %, parseInt, Math.round, ect.)
I,m lost and desperate.
Does anyone know an easy and smart way to get around this problem.

Thanx
ZoMan

Speed Up Display
I created a text field that displays my variable cycling up from 3500 to 4000. I want it to double in speed. Any ideas???????? Here's the code:

//frame 1
var g = 3500;

//frame 2
g++;

//frame 3
if(g < 4000){
gotoAndPlay(2);
}else{
gotoAndPlay(4);
}

Any way I can speed up the display???

Text Display
hallo everyone,
i read some of the threats about text in flash, but they just get me more confused. so here is my personal problem.

... i am using a pixel font in a dynamic text field (which you can scroll). do i have to embed it, or will it be displayed as intended across all platforms ??? and ... if i use static text fields will pixel fonts anti-aliase or not ???

any help appreciated, thanx.

How Do I Display A Score Of Zero?
I've gotten to the point where I can display a score at the end of a Flash quiz including 'score-appropriate' comments such as: "You're a Flanders!" (if they do well, of course) or "D'oh!" if they do poorly.

But what if they score a Zero, get none right. (Moe?) What script do I need to return a score of '0' at quiz end?

Thank you in advance, you scripters of Great Knowledge...

Display Jpg Using The SendAndLoad( )
Hi Guys,
Can anyone tell me where to store, place the jpg images in this tutorial.

http://actionscript-toolbox.com/samplemx_loadvars.php

At this stage i can send and recieve all values but i can't get the image to display in the "picHolder" movie clip.
Does anyone know where i store the jpg...is is a movie clip, is it a standard jpg, is it stored in a folder ouitside of flash?????

Any ideas appreciated.
Cheers,
micmac

Display Resolution
Hi,

A question for you all :

I have realized a flash movie (.swf). Its size is 1024x768. I display it via internet explorer in full screen mode. On my computer and all computers with screen resolution sets to 1024x768, the movie is displayed correctly on the screen. But when I am looking at it with a screen resolution of 1280x1024 it is not ok. This because this movie includes JPEG (with a resolution of 1024x768).

My question is how can I ‘block’ the size of my movie ?
I want it to keep is 1024x768 size on every screen resolution, but still be displayed in full screen.
I mean on a 1024x768 screen I want it to take all the room, and (for example) on a 1280x1024 screen to be still in full screen but surrounded by black.
(Sorry for my English.)

Where do I have to manage that ? In the HTML, in my flash movie when I pusblish it ? JavaScript ?

An another thing:
Will I still have this problem, if the JPEG have a higher resolution ?

Thanks.

How Do I Display The Value Of A Variable
I'm trying to figure out why an event isn't being triggered by a variable. Could someone tell me how to display the value of a variable?

How To Display Date?
Can anybody tell me how to display current date in the textbox? date in the sense year(2002) month(september) day(18) like that.

Thanks.

Swf Browser Display
seems old question to an old problem,... but i cant find the answer anywhere.

my movie is 800x500 and published in flash at 100x100%. as i am using pixel fonts (no rescale etc to assure the crisp look)and cleaned up the html file, now i have following problem:

at 100x100% the font blurrs, if i use the height and width at 800x500 it doesnt display my movie in the center anymore, it is off to the left. and i cant figure out why.

as pop-ups are annoying, my question: is there a trick, some magic or other imaginative advice to center my movie in the browser window (besides pop-up and specifying the size???????????)

any advice, trick, life-line, ... HELP.
you might save my computer and the site!!!!!!!!!!

thanx in advance.

Copyright © 2005-08 www.BigResource.com, All rights reserved