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




Connecting To A Database



Does anyone know if it is possible to connect directly to a database with Flash MX(without using Flash Remoting)?

-Mr Roboto



FlashKit > Flash Help > Flash MX
Posted on: 10-14-2003, 02:24 PM


View Complete Forum Thread with Replies

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

Connecting To Database
I have a site made in flash. The site deals with American Pro Football and their weekly scores. I have a page on the site that will allow me to input the scores of the games each week.

My question is, how can I get that input data into a database and then be able to recall and use that data from the database.

The scores are meant to be displayed and used to trigger movieclips from being invisible to visible on a page for each team. I would like for the information to be loaded each time the Team page is loaded. I was toying with the idea of having an array for each team but I am not the best at coding and quickly got frustrated. Any help will be welcome. Thanks.

Connecting To Database
hi..i would like to get some help here. does anyone knows the actionscript and which database should i use. i'm doing a project right now for my uni and i don't know much bout database...thanks

Connecting To Database.
Hi!
If i want to make some text visible in a flash document, that i have stored in a MySQL database, how could i do that?
What i want to know is what to call the table and the rows in my database, and what to write in the flash document to get the text i have written in the row(s) to appear where i want it to, in the document.

Thanks, Andy
andy@borglind.dk

Connecting To Database
does anyone know of a good tutorial on setting up a datasource to an existing database and querying against it to return results back to my flash movie or explain to me how it is done? I would like to use the built in components in Flash CS3 instead of doing it with a server side script such as PHP or Coldfusion.

Any help is appreciated

Connecting To A Database
I have been asked to create an award animation that will display on a 42" screen in a lobby. The overall goal is to fade in and out high-res nature images and have a scrolling marquee with names of the people who received the specific award.

The hard part is to have the names in a database and pull from them from there.

Images and text manipulation is right up the alley for Flash, I'm not sure how to do the database part with Flash. Is this something that can be done with ActionScript or am I confused on what it does? I looked for examples online and haven't fought good ones except for with websites. Is this something that can be done for standalone Flash animations?

If this is possible, does anyone have any good examples for this?

I've made this in C# already but that limits the ability to edit the layout to very few people and I would like to allow others to play with the design and what not.

Any help is appreciated.

Fla Not Connecting To Database :(
original post is here http://kirupa.com/forum/showthread.p...20#post2208220

actionscript 2 / flash 8 file

hi again, all was well for a while, I got the script to work perfectly, even got to register a few hundred members to the site. However, my old host had a bandwidth limit of 400gb so I had to move to a new provider. I transferred all the files with no problems, and even setup the database properly. My new problem is registering... I can login just fine using an existing account I had made. But I go to try and make a new account and I get an "undefined" error.
here is the link to the site, i have setup a test folder which can access the database.

http://www.pastrykicks.com/test/login.html

also here is the php code. .harish, you're absolutely correct. The indenting helps a lot.

edited - php code removed after concluding that was not the problem.

the problem either lies with the host blocking something or the swf itself. I'm no programmer so I am stumped.

Here is the login.fla file for any coders can check it out if they'd like.
was too big to attach to the forum. 283kb
http://www.pastrykicks.com/login.zip

Database Connecting?
I'm a designer, but recent events force me to learn how to connect flash to a database, something I've never done...

Here is what I'm trying to accomplish.
Flash menu with non flash content.

Click on a product in the flash menu which
loads an Image, description, price, link for spec sheet, and link for zip file which need to be loaded into a table or frame.

I have an access table with data in it right now, but have no idea how to have flash get the data from the table or database to the web page it sits in.

Can someone please point me in the right direction? I've been searching, but have not found what i'm looking for. I'm not trying to load the data into flash, but into a table in html, php, asp, or whatever it needs to load into...

Error On Connecting To Database
Hi everybody.
Anyone who knows how to solve this problem?

ActionScript Code:
ArgumentError: Error #2004: One of the parameters is invalid.
This is my AS Code:

ActionScript Code:
private function connectToDatabase():void {
            var conn:NetConnection = new NetConnection();
            conn.connect(Settings.serverPath);
            trace(Settings.serverPath);
            var listResponder:Responder = new Responder(listResultHandler,listFaultHandler);
           
            var paramObj:Object = new Object();
            if (this.zoekopties.txtTitle.text == ""){
                paramObj.Title = "%";
            }else{
                paramObj.Title = "%" + this.zoekopties.txtTitle.text + "%";
            }
            if (this.zoekopties.txtArtist.text == ""){
                paramObj.Artist = "%";
            }else{
                paramObj.Artist = "%" + this.zoekopties.txtArtist.text + "%";
            }
            conn.call("RadioActiveVote.getSongs",listResponder, paramObj);
        }

And this is my php file RadioActiveVote with method getSongs:

PHP Code:



function getSongs($paramObj){
            $title = addslashes($paramObj['Title']);
            $artist = addslashes($paramObj['Artist']);
            $sql = "SELECT * FROM songs WHERE title LIKE '$title' AND artist LIKE '$artist' ORDER BY Votes DESC";
            $result = mysql_query($sql);
            return $result;
        } 




I'm sure that the connection to my database works.
Also the columns in the songs table of my database are "Title" and "Artist"

Anyone who can help pls?

thnx

Flash Connecting To A Database
hi,
I have a movieclip with instance name dummy.This movieclip has a button myMovie with instance name myMovie.

what i have is something like this for the movieclip:
onClipEvent (enterFrame) {
myColor = new Color(dummy.myMovie);
myColor.setRGB(0x993366);
}
& for button:
on (release) {
myColor = new Color(myMovie);
myColor.setRGB(0x336699);
}
This script works for button but does'nt work with the movieclip on load.
What i want is the functionality for button to be applicable for the movieclip on load.
I want the color of the movieclip to change to the hexRGB value set(0x336699) on load of the movie.

Can you please tell me what's the problem with my script?

U can have a look at my .fla file even from the following location:
http://www.geocities.com/shuklahetal/script.fla
http://www.geocities.com/shuklahetal/script.swf

Thanks & Regards
Hetal

Connecting Database To Flash Mx
hiya, anybody know any shortcut connection by just using microsoft access to retrieve database..currently trying out apache,,php... javascript s.... can ayone help on this?

Connecting Flash MX To A Database
I have a movie clip , that I want to show data that is loaded from a database. I would like to use MS Access, but Coldfusion is an option. Is this possible in Flash MX? And can you direct me to any tutorials or info?

Flash CS3-Connecting To A Database
Hi,

I am relatively new to Flash and I have been searching all over the web for any kind of tutorial for connecting Flash CS3 and Flex 3 to a database. I don't want to use XML as I have a large amount of data. Most of the tutorials have been with XML or mySQL and PHP... Is there a way to connect to a SQL server (or even MS Access)? I am not a programmer, but i am tyring to learn this to automate some of my current web reports for work...Any help would be greatly appreciated. Thanks.

msc31

Connecting To A Database In Flash...
Well... I've found a few tutorials and thing about using ASP to connect to a database, but the server I'm on doesn't have ASP (And it's on a Host, so I don't have root server access to add it.) iS there any way to use PHP to connect to a database?

Flash Connecting To Database
I'm primarily a designer, but recent events force me to learn how to connect flash to a database, something I've never done...

Here is what I'm trying to accomplish.
Flash menu with non flash content.

Click on a product in the flash menu which
loads an Image, description, price, link for spec sheet, and link for zip file which need to be loaded into a table or frame.

I have an access table with data in it right now, but have no idea how to have flash get the data from the table or database to the web page it sits in.

Can someone please point me in the right direction? I've been searching, but have not found what i'm looking for. I'm not trying to load the data into flash, but into a table in html, php, asp, or whatever it needs to load into...

Connecting A Database To Flash
hi.. is there any way i can connect a database with flash?
say access ?

if anyone knew the answer i would really appreciate your help

Connecting To SQL Database And Verifying Details
I have a flash movie, and i want people to be able to log into a special section of the flash movie! i am holding the usernames and passwords in a sql databse.

I have no clue how to do this, so i invented a work around, when they get to the log on, i pop up a HTML page with a log in page, then they input the details, the next page (in the pop up) checks there details.

So now i need to get the pop up window to communicate with the flash file and tel it to goto another frame!

Or i need the PHP and Mysql connection to be done in flash page, without reloading the movie!

So if anyone has any ideas, no matter how small! please give me a shout!

Efficiency Issue While Connecting Database
hi
I am like a newbie, as far as connecting database to flash mx. I have enough knowledge of ASP, but know nothing about PHP. On my search to tutorials about this connection isssues, I have found two method of connecting database to Flash MX. One by loadvariable... and other by Flash Remote Components(only PHP and mySQL help is provided everywhere). I am concerned with the effieciency of my project. Will someone kindly tell me if I use ASP and load variable method.. will it decline the effiecieny of my project as compared to the use of Flash remoting compoenent with PHP?

Connecting Flash To A Database Using A Variable
I have a news section in Flash in a website. I am allowing someone to input the news stories through a content management system, which would create an XML page dynamically. Here's what I put in my HTML to grab the XML page and put it into Flash:

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','498','heigh t','250','title','News','src','NewsBulletinAS3','q uality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','NewsBulletinAS3' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="498" height="250" title="News">
<param name="movie" value="NewsBulletinAS3.swf" />
<param name="quality" value="high" />
<param name=FlashVars value="xml/KBulletinAS3.xml" />
<embed src="NewsBulletinAS3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="498" height="250" FlashVars="xml/KBulletinAS3.xml"></embed>
</object></noscript>

What I need to know is how to refer to this dynamic page in Flash itself. Right now I can only get the Flash file to work referring to the XML file itself instead of a variable that stands for a dynamically created XML file. Any suggestions on how to do this?

Connecting To A Mysql Database With Actionscript 3?
I am wanting to make a login and sign in form in flash cs3. I am using a mysql database. I know how to make a login form in javascript, but I am stuck with actionscript. How do you make one with as3? With the site I'm making it's quite important for me to know how to do it.

Sorry if this is a noob question, I'm still new to flash.

Debugging With Flash Connecting To Database
When debugging from within Flash this doesn't work properly when my Flash movie connects to a database via PHP. How would I be able to debug from within Flash with my local webserver running? Or isn't this possible?

Thanks.

AS2- Connecting To Database Issues When Put Online
Hi,

I am making a highscores table for a game of mine, this works absolutely fine when published. However when I put up on the Internet nothing will submit, and it will not publish previous scores from the database. It just says "undefined".
Does anybody know why this might be???

I'm pretty sure the PHP and everything is fine as it works perfectly when published!!

Thanks!

Debugging With Flash Connecting To Database
When debugging from within Flash this doesn't work properly when my Flash movie connects to a database via PHP. How would I be able to debug from within Flash with my local webserver running? Or isn't this possible?

Thanks.

Connecting Flash To .mdb Database File
Is there any way to do so with Flash MX?

Page 2 - Connecting To A Database In Flash...
I'm not sure I got that... But I might be able to do it now. (Sorry. I'm an OOP adept ^_^)

Connecting Flash MX2004 To An Access Database
Hi,

Im putting together a flash file that will form the basis of a promotional CD. As part of the CD I want to build in a database of our products that are searchable (already created using access), but i dont want the user to come out of the flash environment to do so.

I found somewhere that i would probably have to use an ASP page between the database and the Flash file, using the Load Variables function, but i still havent quite managed to get it to work.

Anyone done this before that can shed some light on the subject???

Cheers!!!

Connecting A Flash Form With An Access Database?
hi everybody

i have this simple question , which is , i want to make a small form in flash (for example enter your name), so when i fell this form and click send , the data will be send to the access database , ofcourse throw an asp file,

so how can i do this move?!?

i try to search for this in the movies section in the site , but i didnt find it

so if anybody have an opening file for thie problem i hope he can put it here , or at least tell me how it works (plz this is very important)

and thnx everybody

Flash Connecting To Database, Loading Pictures
I'd like to create a flash application that is connected to a database via PHP.

Table:
Filename Text
1.jpg This is John
2.jpg This is Kate
3.jpg This is XY

The Flash application should load the database, blend in file 1.jpg and how the corresponding text, then move on to the next picture etc. If anybody has any quick way of doing this it would be much appreciated.

Problems Connecting To Database For Flash Message Board
hi guys, a little help if you please, database work is most definitely NOT my strongpoint. anyhow i'm trying to set up this board on a new site that has to use a database folder outside the main content folders to hold an access database named 'example.mdb' the code states that we're creating a 'dsn-less' connection... but i think i need to create a dsn connection, maybe you can see if there's some obvious problems with the code below? ... i am 2 folders deep in the main directory so i don't think actually getting to the database file is the problem, thanks for the help!
dd
-------------------------------

<%@Language="VBScript"%>
<%
'================
' ex1-emails.asp
' For Flash 4
'================
' Very good practice to include this line
Option Explicit
' RecordSet and Connection objects, and SQL string
Dim oRS, oConn, strSQL
Dim results
Set oConn = Server.CreateObject("ADODB.Connection")
Set oRS = Server.CreateObject("ADODB.Recordset")
' Make a DSN-less connection to the DB
oConn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("../../database/example.mdb")
' Open our recordset accordingly
If UCase(Request("NameLast")) = "" Then
strSQL = "SELECT * FROM Emails ORDER BY ID DESC"
Else
strSQL = "SELECT * FROM Emails WHERE NameLast LIKE '" & Request("NameLast") & "'"
End If
oRS.Open strSQL, oConn, 2, 3
' 2 and 3 are numeric equivalents of adOpenDynamic and adLockOptimistic.
' These are the best choices for what we're trying to accomplish.
' See ADO documentation for other cursor and lock types.
If oRS.EOF Then
Response.Write "success=False"
Else
Response.Write "success=True&results="
Do While Not oRS.EOF
results = results & oRS ("NameFirst") & " " & oRS("NameLast") & vbCr
results = results & oRS("EmailAddress") & vbCr
results = results & oRS("Message") & vbCr & "--------------------------------" & vbCrLf
oRS.MoveNext
Loop
End If
oRS.Close
Set oRS = Nothing
oConn.Close
Set oConn = Nothing
Response.Write Server.URLEncode(results)
%>

Flash Script Error When Connecting To MySQL Database?
i have set up a basic news section whic gets its data from a MySQL table called news from a database called site. The problem is that when i click on the blog button to load in this data, the flash player chokes up and then it loads the data. Then i get this error message http://www.jacksrambles.com/error.JPG
does anyone have any idea about this.
you can test this error for yourself at http://www.jacksrambles.com. Then click on the blog button. Also i have to embed the fonts so don't mind them :wink:
If you need more information please ask..
From Jack
Also the connection to the database is done via a PHP script

Database Driven Design Database?
Do forgive my vague query in the title here.

Greetings all. I'm new to the site. Have searched this site and others and did a lot of googling but haven't found what I'm looking for. Perhaps because the query is wrong.

There are two things I would like to accomplish:

1.

I have an archive of over 250 designs which I have titled in a specific alphanumerical order.

I'd like to put up a "catalog" of these designs online on my site (which is the site I want to create).

The functionality should be somewhat like this:

The 250 designs would be broken down into 3 categories.

Each category will have x number of designs (around 80 to 100).

A scrolling navigation for the designs is what I need. Although I have done a scrolling menu in the past, I've never done anything for so many designs.

The designs are already sitting on the server in the database.

I know that I can create the scroll menu such that once the thumbnail in the scrolling menu is clicked, it'll open another section of the page and load the larger version of the design. This is however tedious to do for over 200 designs.

I'm looking for a way that when the mouse clicks on the thumbnail, the place where the full scale of the design would be displayed knows which design to display.

2. The second part of this site should have search capability. For instance, if I key in the following code: SFA-1205 (which is a design number), it can search the database and display the design in the same viewable area I had designated for the first step.

Anyone any ideas?

Thanks in advance,
Raju

Connecting SWF's
Is there any way to connect to .swf files to each other. I have an html page with buttons down the left hand side. Basically, I want it that when a user rolls over the button an image fades in on the right hand side. The main body text would be inbetween the two files. Someone please help!!!!

Thanks!

Connecting 2 Swf's
I have 2 swf files,
in the first swf I have 7 buttons, by clicking on one of them I want to go directly to the right page in the second swf.

I tried following but it doesn't work

on (release) {getURL("filename.swf","_parent");
_root.mc.gotoAndPlay(2);
//with _root I want to go to the right mc in the second swf
}

Connecting 2 Mc's
I'm looking to keep my navigation box "attached" to my stage at all times, even if the stage moves/changes size. Example: http://www.nooflat.nu

If the stage changes size, I don't want the navigation changing size, but just to follow the stage

Ideas? Does this have anything to do with the linkage properties?

Connecting AS3 And FMS
I need to get messages from Flash Media Server. (using AS3) I've had a hard time finding any good books or even info on how to setup a NetConnection to listen for a Flash Media Server message and to convert the binary data to info I can use. Can someone please point me in the right direction???

Thanks!

Connecting To A FMS
Hello
I'm new to this forum and to AS3. I downloaded some code for a videoplayer from: http://www.thetechlabs.com/video/how...3-videoplayer/

I am able to place my flv file, (MB.flv) in the code and it works fine, but when I try to connect to a FMS server I get the following error message:

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/flash.net:NetStream::construct()
at flash.net::NetStream$iinit()
at videoplayer_fla::MainTimeline/initVideoPlayer()
at videoplayer_fla::MainTimeline/videoplayer_fla::frame1()

Here is part of the code that I changed:

//var strSource:String= "hancock-tsr2_h480p.flv";
var strSource:String= "MB.flv";

and

// ncConnection.connect(null);
ncConnection.connect("rtmp://71.240.187.34/babyVultures");

The code blows up when connecting to the FMS

Does anyone have any ideas what my problem is?

The only thing I have changed is I added my flv file to the code remarked out the original line and added the FMS connection statement remarked out the null statement.

Frustrated with AS3

Connecting To AIM
I'd like to connect to the AIM service using AS3. AIM Express is actually a pretty good example of what I want to do. Basically just connect to the AIM service, send/receive simple messages, get buddy list and buddy status, set own status. Maybe send/receive files if possible.

Does anyone have any idea as to how to do this?

Thanks.

Connecting 2 Fla's
The first fla is an intro with also 7 buttons on it.
I made a second fla, the real internetsite, where you can find more info about the buttons on the intro.
If I click on button 4 (intro) I want to go directly to the currentpage in the other fla and not to the firstpage of the second fla.
I hope you'll understands what I mean

Connecting FME To FMS
the log looks like this

10:47:54 Session Stopped
10:47:58 Primary - Stream Status: Success
10:47:58 Primary - Stream Status: NetStream.Record.NoAccess
10:47:58 Primary - Unable to stream. Network problem at server.
10:47:58 Session Started
10:47:58 Audio Encoding Started
10:47:58 Video Encoding Started

I commented out the line in main.asc that prevents sharing.

What am I missing in the setup?

Connecting It All Together
How do I connect all these pages that I have created in flash 8 pro.

I was using this site below,

http://www.youtube.com/watch?v=DSCMxXssyWY

but what confusses me is this code thing. I know where to put them, but the problem I think is that I am not placing them in the proper content.

Do I place the codes like -

if
(_root.getBytesLoaded()
!=
_root.getBytesTotal()){
gotoAndPlay(1);
}

or like
if

(_root.getBytesLoaded()!=_root.getBytesTotal()){gotoAndPlay(1);}

also another code for the buttons so I could click on them so it changes pages is -

stop();
home_btn.onRelease =
functiion () {
gotoAndStop(3) ;
}
music_btn.onRelease =
function (){
gotoAndStop(4) ;
}
contact_btn.onRelease =
function (){
gotoAndStop(5) ;
}

or do I place it in the action box like

stop();home_btn.onRelease =functiion () {gotoAndStop(3) ;}music_btn.onRelease =function (){gotoAndStop(4) ;}contact_btn.onRelease =function (){gotoAndStop(5) ;}

Now when I put the code straight across, and then test the movie. The movie just flickers between the screens in an edndless cycle. A message appears in a box called Output -

**Error** Scene=Scene 1, layer=Actions, frame=3:Line 1: Syntax error.
stop();home_btn.onRelease =functiion(){gotoAndStop(3);}music_btn.onRelease =function(){gotoAndStop(4);}contact_btn.onRelease =function(){gotoAndStop(5);}

Total ActionScript Errors: 1 Reported Errors: 1

when I put the text in the action where it is stacked on diffrent lines, the same thing happens. It just flickers between all the screens and a diffrent message appears in this output box.

**Error** Scene=Scene 1, layer=Actions, frame=3:Line 3: Syntax error.
functiion () {

Total ActionScript Errors: 1 Reported Errors: 1

so can someone help me out here on how to get these darn buttons to work.

is there an easier way like the hyper link - behaviors, add, web, go to web page

If you have any questions please e-me at kory@live2net.ca.

Thanks
Kory
































Edited: 10/30/2008 at 06:59:30 PM by korytodd

Connecting MC:s
Hi all!

I'm making a mindmapping client in Flash but i got a problem. I have made Mc:s for typing in diffrent things in a text box and now i want to connect two or more mc:s graphically with a single line.

Lets say i got three mc:s on the stage and now i wan to connect them like this:

1----2
...../
...../
....3

I also got dragfunctionallity on the mc:s. How on earth can i connect the with lineTo() function?

I want the lines to be dynamically so if i move, lets say MC 3 from above, both lines should follow.

Any Ideas??

Connecting It All Together
hey, I know this is possible becuase I've done it in the past but I was talked through the process. Sorry if there terms aren't used (or used incorrectly).

So here is my layout.

I have stage 1: Has action script stop(); and then a layer with the movie clip "stage" and these are all on frame 3 (preloader in on frame 1).

Within the mc "stage" there are four layers "actions, buttons, content, bg").

Within the buttons layer I have the following code


Code:
b1.onRollOver = over;
b1.onRollOut = out;
b1.b1_button_text.b1_text.text = "HOME";

b2.onRollOver = over;
b2.onRollOut = out;
b2.b1_button_text.b1_text.text = "PORTFOLIO";

b3.onRollOver = over;
b3.onRollOut = out;
b3.b1_button_text.b1_text.text = "RESUME";

b4.onRollOver = over;
b4.onRollOut = out;
b4.b1_button_text.b1_text.text = "PRODUCTS";

b5.onRollOver = over;
b5.onRollOut = out;
b5.b1_button_text.b1_text.text = "CONTACT";

function over() {
this.gotoAndPlay('b1_rollover');
}

function out() {
this.gotoAndPlay('b1_rollout');
}
within the content layer I have various tweens that show various content (ex: frame 1-50 shows Contact (with a stop action at 50, frames 100-150 show home (stop actions at 150) etc.. (note these aren't actual position and frames in my movie, just examples).

Alright, now within the background I have two of these sections. 1-150 is bg_in which animates the background into play (with a stop at 150) and 160 - 210 animates the bg out (with stop at 210)..

Ok, now that its all clear what I have this is what I want.

I want it so that if someone clicks on b1 "HOME" it goes to the preloader and then somehow through actions script at the end of the preloader it goes to the bg movie where it plays the bg in and then this layer has actionscript in it that determines that I had pressed "Home" and then plays the "Home" content movie. After that if someone clicks "Contact" it plays the bg out and then goes to the preloader and plays bg in and then bg determines that I have clicked "contact" and playst he contact content.

I think I'll stop there becuause I may be confusing and you probably already know what I am talking about.

Basically, I want this. I want each button to first play bg_out and then go to the preloader and then play bg_in and then load the content for that specific button. Of course, when the movie first starts it must play BG in and play "Home" without having to have clicked the button and I want it so that if they click the home button again it does not play the movie again becuase it already knows it is at the "home" position. This also must be the same with the other buttons.

Hmm, I might have just gotten ahead of myself but I know that i have done this before haha. I basically assigned each button a number value and on click the value was changed.

Connecting MC:s
Hi all!

I'm making a mindmapping client in Flash but i got a problem. I have made Mc:s for typing in diffrent things in a text box and now i want to connect two or more mc:s graphically with a single line.

Lets say i got three mc:s on the stage and now i wan to connect them like this:

1----2
...../
...../
....3

I also got dragfunctionallity on the mc:s. How on earth can i connect the with lineTo() function?

I want the lines to be dynamically so if i move, lets say MC 3 from above, both lines should follow.

Any Ideas??

Connecting To An Mdb
i need help connecting to a microsoft access database through flash.. is there any way that i could do this? i think that i have seen it done....http://www.derbauer.de and would like to make it possible to make my site in pure flash.. well thanks for your help... i will check back soon

Connecting Flash And JSP
Hi,
I'm trying to load variables from a jsp file but it's not working
the jsp always returns the value of that variable, and flash doesn't recognize that this variable = it's value.

Flash wants me to out.print in the jsp the name of the variable = it's value .. out.print("go=true");
and not :

go="true";
out.print(go);

plz help me coz i really need it

Help With Connecting A Preloader To A Cgi?
I have a page that uses a .cgi script to load a list of phone numbers [over 300] and it takes a long time to load. I would like to know if there is a way to make a flash preloader that checks to see how much of the .cgi [phone numbers] has loaded and then when finished will open to the page where the numbers will show? If not is there another way that it could be done instead of a flash preloader? Any assistance/advice will be greatly appreciated.

Help Connecting Two Scenes
i need help connecting scenes 1 with 2 and 2 with 3 and so on. when i hit play, scene 1 flashes quickly and goes directly to scene 2. how do i make it so that scene 1 stays until i hit play for scene 2?

LocalConnection Not Connecting
Both sender and receiver are from the same domain.

from a button in the sender movie i set the value of a parameter i will pass, and open a window for the receiver window;

on (release) {
client = 2;
getURL("javascript:launchwin('gallerystart.htm', 'newwindow', 'height=495,width=665,status=0')");
gotoAndPlay("send");
}

at the "send" label in the send movie timeline:

// create the sender localConnection object

mySender_lc = new localConnection();

mySender_lc.send("channelA","doThis", client);

mySender_lc.close();

in the receiver movie frame one:

// create localConnection object
myReceiver_lc = new LocalConnection();

// doThis method from "ChannelA"
myReceiver_lc.doThis = function( myParameter) {
i = myParameter;
clientName = new Array();
clientName[0] = "aclara";
clientName[1] = "ashs";
clientName[2] = "avalonbay";
clientName[3] = "cellgenesys";
clientName[4] = "credence";
clientName[5] = "interquest";
clientName[6] = "invision";
clientName[7] = "longs";
clientName[8] = "pain";
clientName[9] = "pumatech";
clientName[10] = "symphonix";
clientName[11] = "uboc";
clientName[12] = "utstarcom";
clientName[13] = "wmp";
clientName[14] = "ypt";
_root.loadMovieNum("gallery_"+clientName[i]+".swf", 2);

};
myReceiver.connect("channelA");

loadMovieNum("gallerybaseimages.swf", 1);
loadMovieNum("gallerymenumain.swf", 3);
loadMovieNum("gallerymos.swf", 4);
loadMovieNum("gallerymenusub.swf", 5);

stop();


The function "doThis" in the receiver movie never gets executed. The other movies get loaded into levels 1,3,4 and 5.

Connecting Swf Files
I have a main menu and three other swf files. i want the buttons on the main menu to run the other swf files what code can i use to do this or would it be better to publish the fla files as exe files then could i use some code in the buttons on the main menu to run the exe files. Also is there any code that closes a exe file as ideally i would like to place them onto a autoplay CD

Connecting Symbols?
Ok I just stated getting serious about Flash. I have been using Photoshop for a while and while I know they're pretty unrelated one thing I liked about photoshop was you cuold link layers/objects together so so moving one linked oject would move them all relatively.

So I have an arm and a hand that are seperate symbols is there a way I can lock the hand to stay at the end of the arm, but still be able to rotate the hand? Sort of like a joint? Because when I motion tween them (as speretae symbols and layers) they do not stay in line. The hand slides into the arm because it's trying to take the shortest path I guess.

I could use a motion guide but that would seem heavyhanded and a lot of work?

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