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




Dynamic XML Content & Scripts Library



Hi!
I have some very important questions:

1) How can I show dynamic XML content with Flash?
2) Can I create a scripts library which will contain java scripts codes?



FlashKit > Flash Help > Flash ActionScript
Posted on: 08-15-2002, 03:43 AM


View Complete Forum Thread with Replies

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

Dynamic XML Content & Scripts Library
Hi!
I have some very important questions:

1) How can I show dynamic XML content with Flash?
2) Can I create a scripts library which will contain java scripts codes?

Preload Library Content
Hi, If i add a preloader code inside the same fla which i have to load. then it takes some time to load its library content first and then it starts loading the other things in Flash.

But normal preloader code will not show loading of its library content. So any body have any idea how to make that without loading via other file. i have to add loader on the same file.

Normal Preloader code is:








Attach Code

stop();
addEventListener(Event.ENTER_FRAME, loading);
function loading(ev:Event) {
var totalBytes = stage.loaderInfo.bytesTotal;
var loadedBytes =stage.loaderInfo.bytesLoaded;
var percentage = Math.round((loadedBytes * 100) / totalBytes);
load_txt.text = percentage+"%";
progress.progress_mc.width = percentage*1.6;
if (loadedBytes>= totalBytes) {
gotoAndPlay(2);
removeEventListener(Event.ENTER_FRAME, loading);
}
}

Loading The Library Content
Hi everyone I wanted to know how you would dynamically load a button from your library to the main scene. What I am trying to acomplish is on mouse press I want to load scroll contenet plus a button from the library. I got the content to work but not the button. How do I do this? Thanks,
Marc

Dynamically Loading Library Content
I have a "lesson" structure, where there is a main container FLA with all the main code and persistent symbols. I need to load up a set of symbols (a library) depending on what lesson is being loaded. ideally i would like each library (lesson1.swf, lesson2.swf etc) to have identically named symbols:

main.swf loads up or accesses the appropriate lesson swf depending on the lesson.

lesson1.swf (contains symbol1_mc, symbol2_btn, symbol3_g)
lesson2.swf (contains symbol1_mc, symbol2_btn, symbol3_g)
lesson3.swf (contains symbol1_mc, symbol2_btn, symbol3_g)

where each symbol is custom to its lesson, but has a common name for the equivalent symbol in the other libraries. this way i can keep the same code in the main FLA, but apply it to whatever content is loaded as long as library items are always named given the same linkage.

i have tried many ways of doing this and i can't find a best method. i need details if possible.

i've tried: loadMovie into a movie clip. then attachMovie. this only works if the attachMovie is directed to the same clip as loadMovie is... can't use this method. i need the library items to be universally accessible to my main movie code for attaching at runtime.

similarly i've tried levels, but same deal--items are not attachable from one loaded swf into one in another level.

does anyone have any suggestions?

thanks,

jm

Display Library Content From .as File
Hi, using actionscript 3.0 and I have no problem grabbing an object from my library and putting it on stage, works great. However when I try the same technique using an .as file the addChild() dosent work. Its probably something small but can't seem to figure it out. If someone knows the answer or could show me another related discussion I would be very thankful.

Jeff

Dynamic Mask Over Dynamic Content Loses Content
I have come across a problem that so far I have no solutions for at all. I have a movieclip which has a dynamic jpeg loaded into it, then the movieclip is being masked. The issue is I need to have the mask that is on top of the movieclip change, but once I make any change to the mask I completely lose the dynamic jpeg that was loaded into the masked movieclip. Is there a way around this at all?

Accessing Library Items In External Content
Hi;
I'm loading in external resources (using the loadMovie method) and this works fine. I'm having problems accessing library items from the loaded movie clip (relevant movie clips are set to "export in first frame" in the loaded movie clip). I try to access the relevant items in the same way as usual using :
Code:
this.attachMovie("linkageIdInLoadedMovie", "newName", myDepth);
Does the location where the external movie is loaded to matter ??

Displaying Library Content In AS 3.0 Code In A Class?
I was wondering, can the code of this tutorial be written in a class?
I was thinking about this ActionScript Code:

ActionScript Code:
package
{ import flash.display.MovieClip;
import flash.events.*;

public class BlueCircle extends MovieClip {
public function BlueCircle() {
for (var i:int= 0; i < 200; i++) {
private var newCircle:BlueCircle = new BlueCircle();
private var randomValue:Number = Math.random()*1;


newCircle.x = -100+Math.random()*500;
newCircle.y = -100+Math.random()*400;


newCircle.scaleX = newCircle.scaleY = randomValue;
newCircle.alpha = 1-randomValue;
this.addChild(newCircle);
BlueCircle();
}
}
}}



Be gentle with me I am a newbie!!

Dynamic Content Presented Over All Normal Content
I have a bunch of generated movie clips that I am creating using the duplicate movie clip function.

The problem I am having is the generated clips are covering up content. Are there any options....(I really don't feel like creating both layer a and b dynamically.)


this is how the movie is publishing:

-----layer A----- (generated content)
-----layer B----- (normal non-generated content)
-----layer C----- (normal non-generated content)


this is how i want the movie to publish:


-----layer A----- (normal non-generated content)
-----layer B----- (generated content)
-----layer C----- (normal non-generated content)


thanks for your help,
Reid

Dynamic Text : Dynamic Height (depending On Content)
Hi people.

Im working on a website, and in some part there is a dynamic text space that sets its width depending on the resolution.

But well, I want the text to be sitting downside of my webpage. For this (I guess) I need to set the height of the space to its contents, so that I can use the textspace height as a unit, for putting it to the ground
(myTextSpace.y=stage.StageHeight - myTestSpace.height)

But well, I do not know, if there is any way to set the textspace height to its contents.

I hope I'm clear, thank you.

Calling Dynamic Content From Another Dynamic Field
Hi ppl

I am new 2 this forum and i am quite week in Action Script !!!!!! I have been posting this 2 almost all forums possible but failed 2 get the apt reply !!!! If any 1 here Knows the sollution plz tell me in a bit lucid way so that i can grasp !!!!!

My question is :

How can v load data into a variable from a text file by clicking on a hyperlink created in HTML!!! In fact my intention is 2 load a text file containing the hyper link, first and then after pressing the link another text file gets loaded !!!! in its place !!!!!! Hope u get me !!!!

Hopefully
JIkku Jose
Jiks

Flash Dynamic Menu W/ Dynamic Content
I have been working on this project for school where when you run the flash on a server it uses loadvariables() to open a php file that lists all of the text files of a directory 'pages' in variable format for flash to build a button per text file. To clarify:

/pages
-home.txt
-tuts.txt
-links.txt

flash builds buttons for each of these above files with the button named after the text file name (minus the .txt).

This works just fine but what I want to do now is say, when you click the home button, it will load the contents of pages/home.txt into a dynamic text box. Or when you click the pages/tuts.txt it loads that, etc.

So far, I can get the text box to display the location of the text file based on what button you pushed but i cant get it to display the text that is in the text file. I know that i am inches away from finishing it but I can't seem to figure out where to place what code. I've tried many dynamic text tutorials and none seem to go into detail about stuff like this. They all just talk about a text box and loadvar's in the same frame in the same mc, etc.

If anyone can give me some help, I would greatly appreciate it. Thanks.

Here is my working example. http://mungyun.com/experiments/close/dyn_menu.html

here is a zip file with my work to this point. You need a php enabled server to get this to work.
http://mungyun.com/dynmenu.zip

[CS3][AS2] Dynamic Library
Hi,

I've been searching for 3 days for the solution to this problem, searched till I couldn't search no more and couldn't find my solution. There are many people that had the same question but were never answered, I'll build up a list of threads and links of people that never got their answer at the end of the post.

I have a swf that contains a library of elements. I called it tile0.swf . It has only one movieclip for now inside it called tile0 and which is exported for actionscript.

From another swf I want to load tile0.swf and use it's library from wherever in my main movie.


Code:
createEmptyMovieClip("loader",0);
loader.loadMovie("tile0.swf");

onEnterFrame = function() {
trace ("running onEnterFrame");
bl = loader.getBytesLoaded();
bt = loader.getBytesTotal();
perc = bl + "/" + bt;
if (bl == bt && bt>0){
delete onEnterFrame;
trace ("finished");

//THIS WORKS... BUT...
loader.attachMovie("tile0","tile0",1);
loader.tile0._y = 200;

//I WOULD LIKE THE ABOVE TO BE SOMETHING LIKE:
//attachMovie("loader.tile0","tile0",1);
//tile0._y = 200;
};
};
So basically I do my loading of the external swf, check to see if it's fully loaded, and if it is, display the movieclip.

But I would like to attach the loaded library elements on the _root of my movie or another movieclip, thus I am not constrained of attaching it where the movie has been loaded.

Files are attached, any help will be TREMENDOUSLY APPRECIATED!

Links I have read and haven't got the solution:
http://board.flashkit.com/board/show...nal+loaded+swf
http://board.flashkit.com/board/show...nal+loaded+swf
http://www.kringen.org/blog/?p=9

Dynamic Library?
Is it possible to dynamically add movie clips to your library with AS? I basically need to take .pngs (1.png, 2.png, ..., n.png) and add them to their respective frames in a movie clip--1.png goes on frame 1, 2.png on frame 2, etc.

Not that it matters, but the reason I need to do it this way is I'm loading a tile set and I need to splice the image into tiles, then put each tile on one frame of the tile_mc movie clip.

Any ideas?

Dynamic Linkage Library
I basically have 5 folders that contain a swf (all the same name) but each one contains different graphics, what i want to do is to load the relavent graphics (based on an id/folder name) into a parent swf that sits in the root.
This means that some how i need to set the linkage identifier (for all the images) in my root movie dynamically. Does any one have any ideas? I am using Flash MX 2004 Prof.

Dynamic Library Loading
An old chestnut...

Using shared font/asset libraries is pretty straightforward, but i'd really love
to know how the dynamic loading of libraries at runtime works. I've
searched everywhere on the web and seen a few people claim to know how this
is done, but not one single step by step solution. Since there are solutions
for almost everything else, I guess nobody really knows. I can buy a
solution at sharedfonts.com, but i don't want to rely on a commercial
solution where I can't see the source even when i've bought the product.

It can't be that hard...can it???

All I want to do is load the fonts as required, not all on the first frame.

Please help: I must have browsed thousands of sites and google responses and
unless this is the most difficult subject in Flash someone must know the
trick and i'd really love to know.

Thanks in advance

Bob

Dynamic Library Loading
An old chestnut...

Using shared font/asset libraries is pretty straightforward, but i'd really love
to know how the dynamic loading of libraries at runtime works. I've
searched everywhere on the web and seen a few people claim to know how this
is done, but not one single step by step solution. Since there are solutions
for almost everything else, I guess nobody really knows. I can buy a
solution at sharedfonts.com, but i don't want to rely on a commercial
solution where I can't see the source even when i've bought the product.

It can't be that hard...can it???

All I want to do is load the fonts as required, not all on the first frame.

Please help: I must have browsed thousands of sites and google responses and
unless this is the most difficult subject in Flash someone must know the
trick and i'd really love to know.

Thanks in advance

Bob

Dynamic Buttons From The Library
Hi there,
I have this CD-ROM that I'm doing for my family, I have a 100 something images that I want to put on the stage and attach a button or make them into a button dynamicly.

How do you go about doing that. I know it can be done by xml but I'm not using xml.

Here is how I'm talking to flash:
Get the images frome the library, they may have linkage identifier or else.

Put them on the stage, align them, and assign a button or make them into a button linking to the original picture from the library if we're using thumbnail or resize them to the original size if we're using the original pics.

Thanks in advance

Dynamic Image Library
It is time once again to call forth the actionscript gods as it is not known to our people how to program such a thing.

I have been wondering what the protocol for querying a image folder is. I would like to obtain the names of all the images in an external folder to populate an array.

And now we will wait for a sign from the gods...

Dynamic Image Library
I need to obtain a list of the image names in a folder outside my flash file. The images will vary depending on the users uploaded image library. What should I do. This is probably a Coldfusion question, I don't know.

Dynamic Menu With Dynamic Content
I really didn't know what to put as the title...

I have been working on this project for school where when you run the flash on a server it uses loadvariables() to open a php file that lists all of the text files of a directory 'pages' in variable format for flash to build a button per text file. To clarify:

/pages
-home.txt
-tuts.txt
-links.txt

flash builds buttons for each of these above files with the button named after the text file name (minus the .txt).

This works just fine but what I want to do now is say, when you click the home button, it will load the contents of pages/home.txt into a dynamic text box. Or when you click the pages/tuts.txt it loads that, etc.

So far, I can get the text box to display the location of the text file based on what button you pushed but i cant get it to display the text that is in the text file. I know that i am inches away from finishing it but I can't seem to figure out where to place what code. I've tried many dynamic text tutorials and none seem to go into detail about stuff like this. They all just talk about a text box and loadvar's in the same frame in the same mc, etc.

If anyone can give me some help, I would greatly appreciate it. Thanks.

Here is my working example. http://mungyun.com/experiments/close/dyn_menu.html

here is a zip file with my work to this point. You need a php enabled server to get this to work.
http://mungyun.com/dynmenu.zip

Dynamic Pics (That Are Stored In The Library)
Hey..I just wonder if its possibe to use AS to load picturs from the library, into a Movie clip, or some other holder.. and if so..how?

I'm using Flash MX btw

Thx ..

URL Of Shared Library - Make Dynamic
Hi all,
I currently have a shared library swf which is placed in folder which can then be shared by various flash files. The shared library swf (sharedData.swf) holds data like fonts used and other frequently used symbols. Its working fine however I am testing this on my local server using http://localhost and then when I am happy the appropriate flash files are uploaded on to the main server which is obviously on a different domain. My question is, is there a way that I can make a the imported symbols URL line look at a specific location to tell it where the shared library .swf is located. The reason that I am asking this is that I have lots of external swf’s that use this shared library. What I don’t want to do is have to go into each individual flash file and into each symbol in their library to change its import URL location Manually. So if there is a way that I can do this dynamically, so that the URL of each imported symbol looks at a variable then uses that variable location to tell it where the shared library is located. This will make my symbols much more flexability and much quicker to change the URL locations and help reducing mistakes.

My worry is that in Flash MX I think that the imported symbols are activated before flame 1 is even loaded, therefore I can’t see a way that I can use a variable to be used for the URL location because the variable is loaded after the imported symbols are brought onto the stage.

I hope that you can understand what I am saying. If anyone out there has found a way around this problem then please let me know

By the way I am using Flash MX on WinXP Pro
Thanks

[CS3] Dynamic Text In A Library Item
If anyone could help me with this problem I'd really appreciate it.

In my library I have a Movie Clip called OneFrameTile.

As the name suggests, it has only one frame, and in that frame I have a dynamic text field called letter.

The constructor of my main class creates an instance of my OneFrameTile class and chooses a letter of the alphabet. The text property of the dynamic text field is set to the chosen letter of the alphabet.

That all works fine, no problem.

But then I have another Movie Clip in my library, called TwoFrameTile.

It has two frames, and the dynamic text field (still called 'letter') is on the second frame.

When I ask the constructor in my main class to create an instance of TwoFrameTile, and assign a letter of the alphabet to the text property of my dynamic text field, I get an error message saying Cannot access a property or method of a null object reference.

In this case, when I debug the movie, the letter property of my TwoFrameTile instance is shown as null.

If anyone can tell me what I'm doing wrong, I'd be grateful.

Thanks for reading this.

DD

BitmapData Dynamic Load From Library.
Hi flash people.

I have a puzzeling question, im converting to AS3 and found myself in a forest of changes, I have a problem with dynamic loading Bitmaps from my library, they are all linked with b1, b2, b3, b4 etc.

it's very basic, i just want to through the Bitmap's on the stage with a For loop instead of adding each bmp name to an array.

This will add a single BMP object from your library, but then you need hardcode the bmp names, i need an for loop.

Code:
var loadBitmap:BitmapData = new Bitmap1(0,0);
var img:Bitmap = new Bitmap(loadBitmap);
addChild(img);

I've made it work with MC doing this.


Code:
var ClassReference:Class = getDefinitionByName("b"+i) as Class;
var instance:Object = new ClassReference();
a.addChild(instance);
but can't make it work properly for Bitmaps even thou bitmaps linked in you library have an BitmapData class attached to it.
so how should i do this in AS3.... damn miss the old eval command (and please don't mention the eval class for AS3, we must be able to do it from flash alone)..

Kind regards
Mads ny

Dynamic Load Of Library Item
Hi Guys,
I know and love how to add a library item to the display object on the stage.

exacmple, I have a library item named libraryClip in the library.

var newLibraryClip:Sprite = new libraryClip();
addChild(newLibraryClip);

What I am trying to do is load a library item from a dynamic variable passed in through an xml file.

Somehow I need to pass the value of a variable to call on in the library

example...
//loading in xml
//xml now loaded
//variable passed on

var newLibraryClip:Sprite = new [dynamicVariable]();
addChild(newLibraryClip);


Does that make sense?

Dynamic Textfield + Library Font
Hi guys,

Is it possible to use createTextfield and set a font that is embedded (and shared) in the library?

I've tried a few things - including textFormat(), but I've had no luck at all.

Any suggestions?

Cheers,
Ben

Dynamic Library Resources/variables.
Hi. I am new to AS3.
I have found a tutorial where an MovieClip Object "Ball" is created in Flash, and with AS, they make one instance of it "ball" and place it to stage. The code is described at section "CODE [-A-]" of the attached code and works fine.

Now, I want to modify the script and use a "for-loop" in order to create 10 different instances of the object "Ball", with names: "ball1", "ball2", "ball3", ..., "ball10". From my internet search, the most suitable code is the one that I give at "CODE [-B-]" section. However I get Compiler Error: #1078.

Can anyone help me?.. I couldn't find anywhere a solution to that problem!... :(
Ps. With AS2, I would use createMovieClip("ball"+i,i); and ball.attachMovieClip("Ball") to do it..How can I do it in AS3?... :/ ....









Attach Code

// ---- CODE [-A-] ------
public class Test extends Sprite {
public function Test() {
var ball:Ball = new Ball();
addChild(ball);
}
}

// ---- CODE [-B-] ------
public class Test extends Sprite {
public function Test () {
var OBJ:Object = new Object();
for (var i=1; i<=10; i++) {
OBJ["ball"+i]:Ball = new Ball();
addChild(OBJ["ball"+i]);
trace(OBJ["ball"+i]);
}
}
}

Can I Add Dynamic Properties To Movieclip In Library?
Can I add dynamic properties to movieclips i attached from the library?
like:
my_mc.customProperty:Number = 100;
my_mc.customProperty += 10;

i tried doing it that way, i got an error, but maybe i'm just doing it wrong.

Creating Dynamic Movie Clips From Library
HI,

trying to create parade of images across the screen using script alone.
The images are quite large and there are about 100 of them so I dont want them to be on screen initially.
I was thinking it was possible to dynamically create movie clips which move across the screen and send a different image to the each movie clip.

Am I heading in the right direction?

thanks in advance
ash

Creating Dynamic Instance Of Library Button
I didn't quite find exactly what I was looking for in my search for <creating dynamic instances of a Library button object>. It's obviously just a syntax question. So, here goes.


Code:
var LineBut:Array = [];
for ( i = 0; i < Lines.length; i++ ) {
this.moveTo( Lines[i][0], Lines[i][1] );
this.lineTo( Lines[i][2], Lines[i][3] );
// place a button in middle of line
ButPosX = Lines[i][0] + Lines[i][2] / 2;
ButPosY = Lines[i][1] + Lines[i][3] / 2;
LineBut[i] = new LineButton();
LineBut[i]._x = ButPosX;
LineBut[i]._y = ButPosY;
trace( LineBut[i].name );
LineBut[i].name = ["LineBut"+i];
addChild( LineBut[i] );
}
This ain't it. I'm trying to create a new instance of my Library button object, "LineButton", for each Lines entry. I'm not getting a syntax error, but the output from the trace is "undefined" for each LineBut array entry.name.

I think part of the problem is I am unsure of the jargon used to describe what I'm trying to do. I kept looking for "create", "spawn", "instance", "copy", etc. and really only found "new" to help make the instance.

All help is appreciated. I'll reply with the solution if I find it in my continuing research. Thanks.

Random Image On Load - Dynamic Library
Hi,

I'm trying to implement a script that will display a random image every time the flash file is loaded. I want it to source from a selection of images in a folder. Does anyone know how I can go about doing this ?

Dynamic Image/Product Library:Best Practices
I am creating a dynamic products page, with product info being stored in a database. The product's image names will probably also be in the database. I have all of the administration pages created in c#.net and allow the site owner to update/add/detlet products and also upload images through a form.

What do you all think is the best way to display this info in Flash? Can you dyanmically load image names from a database? What about styles in the text? So far I have only been able to get flash to display the text from a database in one big unformated paragraph, no line breaks, no formatting...and for images, I have been able to load them into a movie clip where the images are in the same location as the swf, but this poses problems with the way I have the site structured.

Ideally I would have a movie that does all of the work (with additional embeded clips as needed) but once it would be working, I would never have to touch it again. It could get all the text and image locations from a database. Can it?

Creating Dynamic Buttons Without Library Instances
Can someone explain to me why this sort of, but doesn't work?

I'm just creating a group of buttons using imported pictures without having anything in the library.
Here's the code I'm using:


ActionScript Code:
clipArray = [];posArray = [];for (var k = 0; k<3; k++) {    var movie = "button"+k+"_mc";    //myclip = attachMovie("mc"+k, "mc1"+k, k);    createEmptyMovieClip([movie], k);    myclip = loadMovie("pic"+k+"s.jpg", [movie]);    myclip._y = 100;    myclip._x = 50+myclip._width*k;    clipArray.push(myclip);    countArray.push(k);    posArray.push(myclip._x);    myclip.onRelease = dostuff;    trace(movie);}


with instances in the library called mc1, mc2 etc and using the //'d out attachMovie line (and //'ing out the loadMovie line) it works perfectly, but I'd rather not have Library instances if possible.
Also as it is, the array building is worthless (a trace(clipArray) will return undefined) and the pic's in the mc's are just on top of one another and don't possess an onRelease state.

Thanks,
PWB.

Creating Dynamic Buttons Without Library Instances
Can someone explain to me why this sort of, but doesn't work?

I'm just creating a group of buttons using imported pictures without having anything in the library.
Here's the code I'm using:


ActionScript Code:
clipArray = [];posArray = [];for (var k = 0; k<3; k++) {    var movie = "button"+k+"_mc";    //myclip = attachMovie("mc"+k, "mc1"+k, k);    createEmptyMovieClip([movie], k);    myclip = loadMovie("pic"+k+"s.jpg", [movie]);    myclip._y = 100;    myclip._x = 50+myclip._width*k;    clipArray.push(myclip);    countArray.push(k);    posArray.push(myclip._x);    myclip.onRelease = dostuff;    trace(movie);}


with instances in the library called mc1, mc2 etc and using the //'d out attachMovie line (and //'ing out the loadMovie line) it works perfectly, but I'd rather not have Library instances if possible.
Also as it is, the array building is worthless (a trace(clipArray) will return undefined) and the pic's in the mc's are just on top of one another and don't possess an onRelease state.

Thanks,
PWB.

Dynamic Content
Is there a way that I can read data from a Microsoft Access database into Flash?

I would like to make dynamic content based on the user logging in.

Thanks for any help

Dynamic Content
I want to create flash movies with dynamic content, getting text out of *.txt files.
Now I ask myself, if there is any possibility to program an interface, which allows the user to manipulate these txt-files.
The big Problem (for me) is, that everything has to work offline on the HD, so I can't use for example PHP.
Hope that somebody got an idea.....

Greetings,
Michael

Dynamic Content Help
I want to be able to send variables to a text file (in the same directory as the swf). Just the basic stream of information like variable1=1&variable2=2&variable3=3 etc. How do I do this? Any help is greatly appreciated.

Dynamic Content
Hello,

Got a tight deadline and presented with a problem (well for me anyhoo). I've got dynamic content coming into a movie clip, which is going to be contained with in a vertical scroller (like html in a browser window).

What I need is a script or example that has movie resizing to cope with different amount of text and the values being correctly interpretted by the scrolling movie.

Any pointers or help would be greatly appreciated.

Cheers,
Lee

DYNAMIC CONTENT
I have text and jpg images that are loading dynamically, but if I stop the movie and just have the last fram continueously play, after a minute or so, the dynamic media stats dissapearing then appears after a short amount of time. Am I doing something wrong? Can anyone help?

Serious Dynamic Content
Hi could anyone give me some links or info about this:

i want to be able to do something like news.swf?=todays.txt

Then the news.swf does loadmovie("todays.txt")
("?=whatevergoeshere")

Anyone know if this is at all possible?

Dynamic Content
Is it possible to put links with in dynamic text files? If so how would I do it?

Thanks::::Steve

Dynamic Content
Does anyone know if it is possible to dynamically load ASF files into Flash MX in the same way as MPEGs??

Dynamic Content
Hi,
I have text loading into a dynamic text box from a .txt file and have selected to embed fonts in the text options panel, as I am using a pixel font which it is very doubtful most end users will have.

The problem is, that now I have done this, for some reason flash no longer pays any attention to the html tags in my text file. I am only using <b> and <a> tags, but neither the bold formatting nor the links now work...any ideas why?
(It all worked fine before I chose to embed the font, but without embedding the text will look terrible for most people)



P.S - I am unable to login or post using my old username: Elastikman. Have checked out the sticky thread on the feedback forum, but the advice (delete cookies) is not helping me...does anyone know how to sort out this problem? It's driving me crazy!
Cheers.

Dynamic Content
Hi,

How will i update my data coming from database after using loadVariablesNum? It seems I have to click 3x to update all data on 2nd Frame. Do I have to Preload everytime I use loadVariablesNum?


e.g. button handler - set to onNext
1st Frame:
loadVariablesNum("http://mydomain/var?q=1", 0, "GET");
myvar=thisisfromdb;
stop();

2nd Frame:
loadVariablesNum("http://mydomain/var?q=2", 0, "GET");
myvar=thisisfromdb;
stop();

3rd Frame:
function onNext()
{
buttonNext.onRelease=function()
{
if (parseInt(QNo) == 1)
{
Question = "";
sLink = "http://mydomain?q=2";
loadVariablesNum( sLink, 0, "GET");
if( Question.length ne 0 )
{
initVariables();
checkResult();
}
else
{
gotoAndPlay("myFrame");
}
}
else if (parseInt(QNo) == 2)
{
gotoAndPlay("init");
}
};
updateAfterEvent();
}


Please help...

Thanks,
mutant

Dynamic Content
I have made a 'windows' style dragable message window. I am trying to figure out how to have content dynamicly load into the window. For example, If I had three buttons labeled "blue", "red", and "green". How could I get the message window to display "blue" when the blue button is clicked, "red" when the red button is clicked etc? I want to do this without having to make a seperate window for each button. Does anyone have any ideas?
Cheers,
Twisted Peak

P.S. Using Flash 5.0

Dynamic Content
Hi, i need to create a website that can be updated weekly. I have basic experience with actionscript. My client wants to be able to update a news section in the website - online though. I was thinking that I should give them a link that would take them to a page online that I had created and let them type in the news in a text box with a news heading. They would then send that text via Php etc and it would automatically update in the main website. Is there any easy tutorials anywhere where I can learn how to do this?

Dynamic Content?
Hi all, any help much appreciated

Ive got a flat PSD of my new homepage which im about to chop up and drop into DWMX. Before, I've always used a template like this and redone every page as a flat seperate HTML page that loads on a navigation button click (home, contact, about or whatever). What i'd like to be able to do is use Flash to dynamically load content into the main window dependent on which button is clicked.

I've just bought FlashMX and am working slowly through it, but a nudge in the right direction would be very much appreciated as its still very new to me.

ta!

Dynamic Content
This may have been addressed before. I have a client whos site is all flash. The client loves the current site but wants to be able to add product images and text on demand as inventory changes. At present I gave them the ability to change the product text because I set it up with the "loadVariablesNum" script calling the text into predefined windows.
We need multiple updatable product images and text to be able to load into the flash movie as well. Almost like an ecomerce site but in flash.
Should I use php? What? Still learning php and xml.
Here is the current site. meritagetrading.com

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