Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Remoting

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-14-2003, 06:01 PM   #1
SeanPaul72
Registered User
 
SeanPaul72's Avatar
 
Join Date: Jan 2003
Location: New Orleans
Posts: 420
Send a message via AIM to SeanPaul72 Send a message via Yahoo to SeanPaul72
Default amfphp example fla missing include files

Okay, so I'm testing example.fla from the amfphp/examples/basic directory.

When I open the FLA, I notice on the first line of AS there are include files
ActionScript Code:
#include "NetServices.as" #include "NetDebug.as"

But I guess the pound sign in front makes them just comments.

Do I need these files? I can't find them anywhere in my amfphp folder.

Just trying to get the example to work.


here's a link. the fla isn't working
http://www.caillouette.com/amfphp/ex.../examples.html


Thanks
SeanPaul72 is offline   Reply With Quote
Old 12-14-2003, 06:11 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,879
Default

If you have downloaded and installed Flash Remoting Component from the MM site, you should have those files...

I don't know where it is stored in Mac, but I am on W2K and My Flash MX is installed in D:\G\Flash MX and I can find those AS files in D:\G\Flash MX\Configuration\include directory...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 12-14-2003, 06:21 PM   #3
SeanPaul72
Registered User
 
SeanPaul72's Avatar
 
Join Date: Jan 2003
Location: New Orleans
Posts: 420
Send a message via AIM to SeanPaul72 Send a message via Yahoo to SeanPaul72
Default thanks Cyan Blue

I found the files in my Flash MX folder.

So I placed copies of the file in the same folder as the example.fla inside the amfphp folder.

Then I uploaded the new files and teseted exampl.swf.

But it still doesn't work.

By the way, why is there a # in front of the include command in the fla .

Does anyone want to look at my fla or gateway.php to make sure I've got my settings correct?

the link is http://www.caillouette.com/example.sit

any help or advice is appreciated

Thanks again
SeanPaul72 is offline   Reply With Quote
Old 12-14-2003, 06:28 PM   #4
SeanPaul72
Registered User
 
SeanPaul72's Avatar
 
Join Date: Jan 2003
Location: New Orleans
Posts: 420
Send a message via AIM to SeanPaul72 Send a message via Yahoo to SeanPaul72
Default maybe the tut's have the answer

I just found a tutorial on AMFPHP in actionscript.org's tutorial section,

So I will be reading that before I post again

Thanks
SeanPaul72 is offline   Reply With Quote
Old 12-14-2003, 06:39 PM   #5
freddycodes
Master of Nothing
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
Default

Yo udon't need to include them in the same folder as your swf. They get added when you compile the swf in flash. The #include is a directive which includes the specified file into the compiled swf.

You didn't include much. What does your file structure look like for the flash services folder?
freddycodes is offline   Reply With Quote
Old 12-14-2003, 07:08 PM   #6
SeanPaul72
Registered User
 
SeanPaul72's Avatar
 
Join Date: Jan 2003
Location: New Orleans
Posts: 420
Send a message via AIM to SeanPaul72 Send a message via Yahoo to SeanPaul72
Default okay I have the following

Freddycodes, I'm not sure I understand your question.

okay in my root I have the following
ActionScript Code:
flashservices/app/Gateway.php

I also have my example file in the following tree structure

ActionScript Code:
amfphp/example/basic/examples.html

does that sound right?

Last edited by SeanPaul72; 12-14-2003 at 07:52 PM..
SeanPaul72 is offline   Reply With Quote
Old 12-14-2003, 09:02 PM   #7
SeanPaul72
Registered User
 
SeanPaul72's Avatar
 
Join Date: Jan 2003
Location: New Orleans
Posts: 420
Send a message via AIM to SeanPaul72 Send a message via Yahoo to SeanPaul72
Default freddy codes maybe I'm confused about what root means

Nevermind, Cyan Blue cleared things up for me

Last edited by SeanPaul72; 12-15-2003 at 01:59 AM..
SeanPaul72 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.