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




Multiuser Flash?



Hey Everyone!I am looking to add a Flash Chat/Instant Messaging feature for my website, so I can help my students online. I have free webhosting (http://www.tripod.lycos.co.uk), and was planning on using something like the XMLSocket object. So, does anyone know how I could go about doing this?
Note: MySQL/PHP is not fine because of the large delay between data loads, and also CPU usage can become a factor...

Thanks is Advance,



DevShed > Flash Help
Posted on: March 12th, 2004, 09:25 PM


View Complete Forum Thread with Replies

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

Flash As A Multiuser Game.
how can i make a multiuser enviroment where the user can see the movements of their character and the movements of other people's characters.http://www.flashkit.com/board/newthr...ad&forumid=29#
http://www.flashkit.com/board/newthr...ad&forumid=29#

MultiUser Flash Examples?
I've never seen or read anything that explicitly said that there was no feasible way to make a real time multiuser Flash game with an emphasis on action, rather than turn based gameplay.

Yet - I've never seen a working example of a game in any way shape or form (despite searching) that demonstrated this kind of real-time action / quick response / etc. The closest thing I've seen is the letter dragging game, although with that one it's hard to gauge the speed/lag regarding interaction.

Use a first person shooter as an example for network traffic speed - you have data coming in and out so fast that you can dodge projectiles that are fired at you, in perfectly synchronized real-time. So, taken to a basic Flash level, imagine a top-down 2d shooter game - can you achieve that kind of network speed/response? (I'm not talking about ISP speed - assume all parties are running high speed broadband) I mean this terms of software capability.

I intend to test this out for myself, but as I work full time I'd rather approach this with knowledge of the limitations and possibilities, and perhaps a bit of 2nd hand info on the different software options.

Sorry if anyone feels this is an inappropriate category for a general multiuser question, but it's not a server-side scripting question, and is also outside the scope of 'Flash communications Server'.

Many thanks
a.p

Flash Multiuser Direction Needed...
i am trying to create this map in flash, which you can drag and drop symbols onto. This bit shouldn't be too hard, but the thing that i want to happen is if somebody on another pc looks at this map, they will be able to see the symbols that somebody else has dragged onto the map from another pc

i'll be using flash mx, and i'm guessing a database (mysql) will be needed, and some php?

can anyone please steer me in the right direction with this?

thanks

Multiuser Flash Socket Server
Hello there.
Ok I wonder which server to choose.
I need to develop multi-user application and game and I don't know which server I should choose between those
Sushi
SmartFox
ElectroTank

If you know another socket server for realtime multiuser, pot them as well

So any feedbacks one those, whatever you heard, could be great
Thx

Flash <-> Outside World, Multiuser Environment
Case: a multiplayer environment for simple games.

If you forget about expensive Flash Media Server thingies, what would you have as the technology that handles the communication between Flash and outside world? PHP would be logical (?), but is there something else to consider?

Any tips for the general direction are welcome.

MultiUser Flash White Board
hey,
I havent been around kirupa or flash for a while. Just got back to it recently and decided to put my java server to use with a little example. I used Flex to build the application.

site: http://fanarlabs.com/viewlabs.php?eID=1
swf: http://fanarlabs.com/site_files/DrawBoard.swf

I wanted to hear feedback from yall, to see if yall like it. Since it requires the jaa server to run on my computer, I am gonna let it run overnight.

REQUIRES: latest Flash Player 9


Enjoy.

Help : Multiuser Web
Hi, I'm developing a multiuser website - a virtual world which allow users to create an avatar which can walk, talk and do other stuffs. The problem is that I'm confused which is a better software to use, wheter Director Shockwave or Flash is better at creating this. If Flash, can any of you guys give me some technical advice?

My project is very similar to the *****hotel
www.*****hotel.com

Need Help urgently

Thanks

Help : Multiuser Web
Hi, I'm developing a multiuser website - a virtual world which allow users to create an avatar which can walk, talk and do other stuffs. The problem is that I'm confused which is a better software to use, wheter Director Shockwave or Flash is better at creating this. If Flash, can any of you guys give me some technical advice?

My project is very similar to the *****hotel
www.*****hotel.com

Need Help urgently

Thanks

Multiuser Server
This is a bit of a long shot.....has any body managed to utilise Multiuser Server which ships with director for any flash applications ie. multi chat, multi game use etc..If you have ...then i would like to here from you!...This would be very beneficial and save me having to learn director all over again(I hate IT!) I like flash! It's easy..

Multiuser 3D Chat
I'm looking for a tutorial or source for Flash Multiuser 3d Chat application (i.e. www.dubit.co.uk). Actually, tutorial or source which will let me to make two sessions to see and communicate with each other will be enough.

Thanks in advance.

How Can I Get Multiuser Games?
I'm looking to purchase games that many people can play at once for my website - multiuser games. Can anyone help me to licesnse or buy these games and give me ballpark price estimates?

Multiuser Servers?
Looking to build a multiuser real-time web app with avatars using Flash.
With possible extension to include SMS messaging at a future date.
Any suggestions on the server technology I could use eg , macromedia multi-user, Unity, Fortress etc. Chief concerns are learning curve, ease of use, integration.

Cheers

Connoru

Server-less Multiuser?
Hi,

I am new to Flash, but an experienced game developer who made several multiuser games in various languages, but this time I am looking to Flash as the new Actionscript 3.0 seems quite promising... I have almost no experience with Flash coding from earlier though, so please bear with me...

Normally, to make a realtime multiuser game you need a dedicated server or similar that will run a socket service for your clients to connect to.

Unfortunately, I do not have money to shell out for this as this is just my hobby project, I only have access to a standard web host with some basic scripting abilities like Perl or ASP, but I am wondering if there is a way to allow two Flash clients to connect directly if the IP address of both are known?

From what I have seen so far, there are some restrictions on how clients can connect. Only to the originating server, or perhaps to other IPs that's listed somehow on that server. The details seem a bit fuzzy to me, would appreciate some advice.

Basically, my idea is as follows:

1. Users connect to my webpage, where a script picks up their IP address and stores it in a small database.
2. Each connected client accesses this database and downloads the current IP list periodically. The list is updated continuously to ensure clients who left are no longer listed.
3. A client can then connect directly to any IP in the list, thus enabling a direct connection to that other client.
4. The game starts, and the clients will communicate everything directly through a socket connection.

I am aware there might be some firewall issues here, but besides that, is there a way to have two Flash clients connect directly in this way? Oh, by the way, I only need to target AS3 clients.

Thanks

Multiuser Website... How?
Hi!

I'm not sure this is the right forum for my question. Sorry if it isn't...

Well, my question is:

You know the websites/shops, where you can register and become those partner. You receive your own generated webshop, so if you or your customers go to it you/they can see your name on it. Then the URL of your shop is for example: www.webshop.com/yourname.

So... I have an idea to make a flash website which would be accessed through the URL like above, and generated for every registered user with their name at the title.

For example I enter the URL: www.webshop.com/johnmiller and get to the shop with automatically generated title "Webshop of John Miller".

Well the flash site is ready, I only need to build in the title generation. The problem is that I don't know how to put into practice this idea of the URL structure. Do I have to use some scripts or the stuff? Maybe you got some example for me? Pleease help me!!! This site is so important for me.

Thank you!

Best regards
SONB


PS: sorry for my english

Multiuser Application
looking for input on server software for a massive multiuser application in flash. i found an opensource server called "oregano" here www.oregano-server.org. has anyone used this? it seems like a viable option to director.

Hosting A Multiuser Server? Help
How and what can i use to host a server for flash???

I want to make a flash chatroom
but i aint got a web server and dont want to pay for one, i know that its possible, to run a software like multiuser server 3 ? from your computer to make it a server?

please help

Multiuser Chat With PHP/SQL Backend
Hi,

Ive been doing flash a while now and I thought I would attempt something multi user. I just want to make a simple chat, with a PHP/MySQL backend (not a server like electroserver). I want it php backend because it wont handle many users. All I want is a simple chat.

Can someone point me in the direction of a good tutorial for what im looking for?

Thanks,
Matt

Mesmotronic Multiuser Server?
Hi, all,

I've been trying to get a little multi-player game going over the last few months and have been looking for a solution to the network side of things. I checked out Electroserver first, but it seems that unless I wanna pay a lot of cash for a very specific hosting setup, I wasn't gonna have much luck with this. Then I found Mesmotronic Multiuser Server.

The website looks good - nice, concise design etc, and the package itself offers a lot.

Problem comes when I try to use it - there is so little documentation that it's difficult to get answers to the questions I have, and it seems I'm the only person on the forums...!

Anyone have any information about this system, or has anyone used it? I'd really like to get it working, as it seems perfect for what I want! Has anyone actually had any contact with Mesmotronic?

Cheers,

SB

Multiuser Drag And Drop Or Draw.
I was windering if anyone knows of a good tutorial on how to make something like this:

1. Very simply, a blank stage with several shapes (triangle, square, circle of different colors) that can be draged around the stage. However, I would like anyone else viewing (6-7 people max) the same page to also be able to see where the shapes have been dragged to. I don't need to see the actual drag, just the final position of the moved shape.

2. A button on the stage that when clicked will allow a user to draw on the stage, while again allowing the other users to view what he/she has just drawn.

Thx to anyone who can help!

Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.

Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code

Thanx from Fenton Multimedia Designs

Flash Script? Is Writing Flash Code Possible? Without A Flash Builder Like Flash MX
I want to get into flash programming on my website, but i do not have thecash to buy flash MX 2004, it is 499 US thats a lot of money.

Basically what i want to know is, can flash be written as code, like HTML or do i need to buy a flash builder. And if so, what can i do about learning this code

Thanx from Fenton Multimedia Designs

Flash Versions Order Of Sequence : Flash 5, Flash MX, FlashMX 2004?
some questions on FLash versions

After Flash 5 was FlashMX then followed by FLashMX 2004 ???

which means Flash MX is version 6??

thanks for answering.

Can You Open A Flash File Made With Flash Mx, Using Flash Mx 2004?
Hi,

I have recently purchased flash mx 2004. However when I go to open my old flash mx flies in flash mx 2004 all I get is unexpected file format! Why is this? Also when I open flash mx 2004 and try to open one of the sample files it comes up with the same message!

Also when you download and install an extension from macromedia exchange, how do you then use the extension feature in flash? Were do you find it?

Any help on these matters would be appreciated?

Thank you

How Do You Update A Flash Object Without Flash? Selling A Flash Site.
I am wondering what may be a large wonder. If I create a website with flash etc for somebody else, how can they update their own site? For example, if they have an 'updates' page, I don't want to have to keep on redoing it for them in Flash. I heard words like 'strings' and 'XML' kicking about, but don't really understand it. Thanks,

Alex

Making A Flash Website (flash In A Flash In A Flash Etc...)
I am working on a flash "database" as it's called and to make this possible I will need to have multiple flash documents that load within a flash to keep the loading time down, otherwise the filesize would be astronomical!

To see what I am working on go to http://www.axeldesigns.com/h2/helpdatabase then click "menu button" to open the project. Hopefully then you can get a good sense of what I am trying to accomplish...So when you click on the individual links, I want a flash within the main flash to load completely on top with it's own load bar and everything.

I'm not very experienced with action scripting, but I am quite experienced with the animation side of flash and drawing tools etc...

So, if anyone knows of any tutorials or examples that I could work off of, please help me out.

Alex

Will An Swf Made In Flash MX That Is Exported As Flash 4- Play On Flash 4 Cpu's?
Will an swf made in Flash MX that is exported as Flash 4- play on Flash 4 cpu's? How do I get my mx movies compatible with people who only have Flash 4???? I ask this because I exported a movie made in Mx to Flash 4, so I am just wondering if it will play on all Flash computers that have Flash 4, eventhough they may not have flash 5 or mx. Thanks...

Updating Flash 4 Code To Flash MX 2004 Or Flash 8
Can Flash MX or Flash 8 automatically update old flash code or update depreciated code? I have a flash 4 project that when resaved as Flash MX 2004, obviously starts to throw errors.

Flash 8: Button For Flash Paper In A Flash Presentation
I am new to Flash. I have a presentation I am putting together.  I need a button to open a Flash Paper (Flash Papers 2) .  

How do I do this?
Does anyone sell premade buttons?

Thanks!
 

Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.

when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).

this works and you can interact with the html content after the flash movie in all browsers except firefox...!

anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?

any input would be greatly appreciated!

HOW DO YOU CHANGE THE BG OF THE FLASH THING ON FLASH KIT W/OUT USING FLASH?
Plz tell me because I am making a little kid's website and they'll b sad if doesn't match the flash.

Yikes, Can I Go From Flash MX To Flash MX 2004 To Flash MX?
I have flash MX on my computer here at home, I went on campus to edit a file in a class in Flash MX 2004, now I am trying to reopen the file in Flash MX here at home again and it won't allow me to open it, saything there is an unexpected format error.

Is this caused from opening it in Flash MX 2004? Is there a way to revert the file back to Flash MX? Yikes!

Flash/CSS Question: Can Flash In A <div> Overlay Another <div> Containing Flash?
I'm guessing this answer is no but thought I'd ask anyway.

With the "wmode" set to transparent I can get my top div to overlay text/background images no problems but not on top of another flash movie.

Can it be done?

Flash 8 Function Not Working In Flash 8 But In Flash 9
I use this piece of Code from Senoculars Matrix Tutorial:


Code:
import flash.geom.Matrix;
function duplicateMovieClipImage(from, target){
var pics= new flash.display.BitmapData(from._width, from._height);
pics.draw(from);
target.attachBitmap(pics, 1);
}
duplicateMovieClipImage(this.viewer.picHolder, doubleSize.bigpic);
var my_matrix2 = doubleSize.bigpic.transform.matrix;
my_matrix2.scale(1, 1);
my_matrix2.tx = -2;
my_matrix2.ty = -2;
doubleSize.bigpic.transform.matrix = my_matrix2;

duplicateMovieClipImage(viewer.picHolder, normalSize.bigpic);
var my_matrix = normalSize.bigpic.transform.matrix;
my_matrix.scale(0.25, 0.25);
my_matrix.tx = 0;
my_matrix.ty = 0;
normalSize.bigpic.transform.matrix = my_matrix;
When I play this in a Flash 9 Player everything is made correct (A Pic generated in its Original Form and one in its 0.25/0.25 Size.

But when I watch this in a Flash 8 Player (8.0.22.0 that is)

the Script is ignored

any1 know why???

Firefox Recognizes Quicktime As Flash Player Instead Of Flash As Flash Player
I don't know why when I go to websites and all those old Flash sites don't work anymore, but I get the "Quicktime Question Mark" logo. I've tried reinstalling Flash Player so many times but the quicktime logo keeps coming up. I've tried this both with Firefox and Safari and it just doesn't work.

Nested Function Locks Flash On 2nd Frame. Cold Fusion Problem Or Flash MX ? Or Me?
It's been three days I don't sleep. Anybody,please,.....

// Flash MX code 2nd frame

stop();
validatePackage = new LoadVars();
validatePackage.onLoad = function() {
if (validatePackage.success == "0") {
setPackageCheck = new LoadVars();
setPackageCheck.onLoad = function() {
_root.packageCheck.text = setPackageCheck.packageCheck;
_root.unlockCheck.text = setPackageCheck.unlockCheck;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY ! I mean I have other functions sending time line somewhere else accordint to if statments and it works fine!*/
};
setPackageCheck.accountID = _root.accountID.text;
setPackageCheck.sendAndLoad("setPackageCheck.cfm", setPackageCheck, "POST");
} else {
_root.packageCheck.text = validatePackage.packageCheck;
_root.unlockCheck.text = validatePackage.unlockCheck;
_root.vdDays1.text = validatePackage.vdDays;
_root.vdHours1.text = validatePackage.vdHours;
_root.vdMinutes1.text = validatePackage.vdMinutes;
_root.gotoAndStop("exPrep");/* without this line
everything works perfectly !!!!!. WHY !*/
}
};
validatePackage.accountID = _root.accountID.text;
validatePackage.sendAndLoad("validatePackage.cfm", validatePackage, "POST");


<--- "validatePackage.cfm"--->

<cfquery name="validatePackage" datasource="dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfif validatePackage.packageCheck lt 1>
<cfoutput query="validatePackage">
&success=0&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
</cfoutput>
<cfelse>
<cfset vdDays=#DateDiff("d",#validatePackage.packageCheck #, now())#>
<cfset vdHours=#DateDiff("h",#validatePackage.packageChec k#, now())#>
<cfset vdMinutes=#DateDiff("n",#validatePackage.packageCh eck#, now())#>
<cfoutput query="validatePackage">
&packageCheck=#urlencodedformat(validatePackage.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(validatePackage.unl ockCheck)#&
&vdDays=#vdDays#&
&vdHours=#vdHours#&
&vdMinutes=#vdMinutes#&
</cfoutput>
</cfif>

<--- "setPackageCheck.cfm"--->

<cfquery name="setValues" datasource = "dsn">
UPDATE accounts
SET packageCheck= #now()#
WHERE accountID=#form.accountID#
</cfquery>
<cfquery name="setPackageCheck" datasource = "dsn">
SELECT packageCheck, unlockCheck
FROM accounts
WHERE accountID=#form.accountID#
</cfquery>
<cfoutput query="setPackageCheck">
&packageCheck=#urlencodedformat(setPackageCheck.pa ckageCheck)#&
&unlockCheck=#urlencodedformat(setPackageCheck.unl ockCheck)#&
</cfoutput>

[MX04] Open A New Link In Html By Clicking Button In Flash (no Code In Flash).
Hi,

I'm facing problem while opening a new html window by clicking button created in flash.

For this i don't want to write single code in flash but want to handle this through the html only.

For this I have used <embed> tag to add swf file in html. but could not add click code in HTML on that button.

Could any one help me out?

Get Variables Inside Flash 9 Movie With Action Script 3 Using Flash Selenium And Sele
Dear All,


I use Selenium RC and I want to do automated flash testing. I am using Flash Selenium.


Web Application has Flash content (SWF file) and is Version 9.0 and uses Action Script 3.0.


I cant use the functions like flashApp.Getvariable(varName) or flashapp.TotalFrames() as mentioned http://code.google.com/p/flash-selenium/


I see documentation and functions listed at ( http://www.adobe.com/support/flash/p...h/scriptingwit hflash_03.html functions for Flash 5 ), i cant use them . I get exception all the time.


I am trying to access the varibales in the flash movie which is loaded using GetVariable but Selenium throws an exception but no information message.


I want to ask can I use functions listed on above adobe site with Flash 9 movie with Action Script 3.0 ? If not is there any way to get variables inside Flash movie using Flash External Interface and Selenium RC ?


Best Regards !


/ Yogesh

How Print Html Page Or Word Outside Flash When Click Button Inside Flash ?
hello,


how print html page or word outside flash when click button inside flash ?

any ideas or what the action can help me to do that ?

Remove Double Click In XP For Flash & Show Flash In Firewall Protected Environment
Remove Double click in XP for flash & show flash inside firewall protected environment


Here is some code that will disable the annoying double click feature for flash when using XP. This code also enables all viewers to see your flash. For example some firewalls block flash (SO STUPID) but with this code instead of using the embed tags and object tags allows those users behind firewall environments to see your hard worked flash masterpiece.

Okay here is how you do it.
Inside your main file that is calling the flash .swf.
Remove the code that you currently have there and replace it with the code that is inside the putInsideIndex.html (see attachment)
Make sure that you change the name of the movie in that code so that it opens your swf. You might need to change the width and the height too so that you don't have your flash looking like a monster.

Alright then you need to take the other file called RemoveDoubleClick.js
Open it in your editor and change the name to the name of your choosing on line 12. Then post that file (DO NOT RENAME IT) into the same directory as the main file that you edited above. Most cases that would be the index.html or whatever.

So enjoy and start letting EVERYONE see your sites & be more user friendly!
GOOD LUCK!

New To Flash, Create A Flash Form Which Is Emailed Using CGI Script When Submit Button Is Pressed
I'm trying to build a form in flash that is emailed using CGI script. I'm just lost and confused and I just can't seem to figure this out.

This is the CGI coding for HTML and I just need to convert it to use in CS3:
<form action="

Outputting Data In Flash To Text Documents, Creating Textdocs With Flash & Mc Filters
Question 1: How do I add a filter to a movieclip from actionscript,
More specificly, the "adjust color" filter, and I want to decrease brightness, saturation, hue, and contrast... by actionscript...
If you dont know what I mean, use the circle tool to create a circle, convert to movie clip, click the "filter" tab, then click + and add a adjust color filter, you'll see what I mean...

Question 2: I need to output text to 'text' documents, no I cannot use shared objects for this, as it is a program for a client, and it isn't safe enough for me...

Basically, this is what I want to do...


Code:
var archive:Array = [];
archive[7] = "Hello I am the 8th archive";

//save to a text document called "archive7" in the directory myProgramfiles
//finished with code...
then

on initilization of my program, it'd do this

Code:
//get text from the text document I saved in the directory "myProgramfilesarchive7"
Thats what I really need

Question 3:Is there a way to create a folder, text document, through flash
//example


Code:
var textdoc:TextDocument = new TextDocument();
textdoc.name = archive7;
textdoc.text = "Hello I am the 8th archive";
Can anyone tell me how to do this

Thanks in advance

The Flash Anthology: Cool Effects &amp; Practical ActionScript - Chapter 1: Flash Essentials
This is an article discussion thread for discussing the SitePoint article, "The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials"

The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essenti
Notice: This is a discussion thread for comments about the SitePoint article, The Flash Anthology: Cool Effects & Practical ActionScript - Chapter 1: Flash Essentials.
__________

eXCELLENT! clearly composed article, gonna read the other chapters too. thanks

Call Flash Function From Href Tag Within A Flash Html Text Field?
I'm creating dynamic html fields within Flash and have been succesful calling javascript functions or launching browsers, but what would REALLY be cool would to actually call Flash functions with those href tags.

Does that sound like a possibility to anybody?

Or, alternatley, could a javascript function in the web page execute a function within the swf?

Create Java Pop Up From Flash Index Site To Standalone Flash Popup
Want bad help to create a javapop up link from index.htm flash movie with a enter button that leads to the other .swf that is a popup window with another .swf. How do I do that.

One more thing is there a real good downloadable on how to make "news" scrolls in flash the ones I have seen did not please me.

And is there a way to connect that "news" feed scroller to a text dokument for easier updates instead of having to redo the thing in the .fla file

Hope you understand my problems and I would really appreciate all help I can get.

Cheers

Best regards

/s

Flash 6 Generator Equivalent To Export Dynamically Populated Images From Flash
I'm trying to do an automatic export of graphics developed in flash, for static site elements- graphic buttons.
Generator used to export images from dynamically populated templates, but MX does not support generator, Also being that generator ran with 4 and 5, dynamic text field sizing was not an option-this is necessary to fit the button graphics to text.

Is there either something that I can generate buttons with flash, or has anyone seen a button generator that can batch export and use imported graphics?

Thanks in advance!!!

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Pass Variable To Custom Function Not Working In Flash MX For Flash 6 Player
I have a Flash application that I built in Flash 5 that I want to now output in Flash MX (not 2004, though) for Flash 6 Player. The problem is that part of my code, which works fine if published for Flash 5 Player, breaks if published for Flash 6 Player. I am loading text from an external text file, and then passing the text contents of each variable to a function (to strip line breaks). Following is the code... does anyone know how to rewrite this so that it will work as Flash 6 Player swf? The contents of the variable are not getting passed, and eval does not work on left side of expression... I've tried everything I can think of...

Thanks in advance for help.

-S



PHP Code:



/* content, correct, Q1, Q2, Q3, etc are all variable loaded from external text file. I am trying to pass contents of variables, which is why I need to eval them. This worked in Flash 5, but not in Flash MX if I publish as Flash Player 6 file.  */   
temp = stripLineBreak("content");
temp = stripLineBreak("correct");
for (i=1; i<=10; i++){
     z="Q"+i
     temp = stripLineBreak(z);
}
     
function stripLineBreak(x) {
     tempArray = new Array();
     tempArray = eval(x).split("
");
     eval(x) = tempArray.join("");
     tempArray.splice(0,tempArray.length);
     tempArray = eval(x).split("
");
     eval(x) = tempArray.join("");
     tempArray.splice(0,tempArray.length);
}

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