Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 16th, 2002, 10:05 AM
Konqueror Konqueror is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 1 Konqueror User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Flash communicating with Servlets

I am new to Flash but have been given a task to get a Flash file to request information from a servlet. Is this possible, and if so, are there any web pages that may be able to help me out/ guide me through this process?

Thanks in advance.

Reply With Quote
  #2  
Old August 24th, 2002, 05:20 AM
alex999 alex999 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 1 alex999 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I don't know of any sites that will tell you how to do it with java but there is a page on Macromedia that tells you how to pass variables using cold fusion and the method is pretty much the same in java.

If you're talking about url variables, you can do it as follows:

You create a page which <EMBEDS> the flash file and then in the url where you would usually have
<embed src="flashfile.swf">
instead you have
<embed src="flashfile.swf?varname=value">
where varname is the variable name and value is the value you want to assign to it (obviously )

these values then appear on the root timeline of flash and I think you get them using _root.varname to retrieve the value.

Reply With Quote
  #3  
Old September 3rd, 2002, 06:35 PM
rob5408 rob5408 is offline
Certified Genius
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: over there
Posts: 77 rob5408 User rank is Private First Class (20 - 50 Reputation Level)rob5408 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 46 m 57 sec
Reputation Power: 12
Send a message via AIM to rob5408
xml object

if you've got sometime, you can learn how to handle xml within the flash movie...then all ya need to do is have the servlet output an xml stream to the movie...it's the snootier way of doing it, but maybe a little overkill...rob

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash communicating with Servlets

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap