Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

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 July 24th, 2002, 05:16 AM
coderkind coderkind is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 6 coderkind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Great Article

Interesting read. The dynamic feeding of external data sources into Flash is great, more of the same please!

Reply With Quote
  #2  
Old July 24th, 2002, 12:04 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Flash for embedded devices

Art & Logic has just released a "web server toolkit":http://www.artlogic.com/dmf/ based on the open source GoAhead WebServer. The cool part is that it can communicate with Flash presentations using XML-RPC. The idea is to create GUI's to control embedded devices using Flash in addition to (or instead of) HTML. They've posted a little "demo":http://dev.artlogic.com:8080/index.html running on Windows, but in the real world the server would run on a low-power device.

Reply With Quote
  #3  
Old July 29th, 2002, 10:30 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Am I an idiot!

For the life of me I can't get this to work in Flash MX. When I run the flash movie, nothing shows up in my dynamic text box.

Here is the AS code:
loadVariables("message.txt", "_root");

I have also tried:
loadVariablesNum("message.txt", 0);

message.txt is a text file in the same directory as the flash file with the contents:
msg=hello

The name of my text field is msg.

Surely this is something very simple.

TIA, crystal

Reply With Quote
  #4  
Old August 1st, 2002, 01:15 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #5  
Old August 2nd, 2002, 12:24 PM
jlapier jlapier is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 3 jlapier User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
broken page

sorry if this isn't the appropriate place to put this but there is a problem with page 6 - the PHP script that shows the query to the database for the news flash isn't being displayed.
The article is a pretty good read other than that...

Reply With Quote
  #6  
Old August 25th, 2002, 10:43 PM
mattyoungrev2 mattyoungrev2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Wichita, KS
Posts: 1 mattyoungrev2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: Am I an idiot!

I'm having the same problem. Have you solved this, Crystal?

Thanks.

Matt

Reply With Quote
  #7  
Old September 1st, 2002, 12:17 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Am I an idiot!

In flash MX, make sure your text field has an instance name and a variable name, then in your message.txt file use the same variable name.

// message.txt
myVar = bla bla

// code main timeline of flash movie
loadVariables("message.txt", "txtFieldInstance_txt");

Or, leave the variable field blank and use the variable name "text" in your txt file

// message.txt
text = bla bla

// code main timeline of flash movie
loadVariables("message.txt", "txtFieldInstance_txt");

hth

Jon
jon@AsNative.com

Reply With Quote
  #8  
Old September 1st, 2002, 12:18 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: Am I an idiot!

In flash MX, make sure your text field has an instance name and a variable name, then in your message.txt file use the same variable name.

// message.txt
myVar = bla bla

// code main timeline of flash movie
loadVariables("message.txt", "txtFieldInstance_txt");

Or, leave the variable field blank and use the variable name "text" in your txt file

// message.txt
text = bla bla

// code main timeline of flash movie
loadVariables("message.txt", "txtFieldInstance_txt");

hth

Jon
jon@AsNative.com

Reply With Quote
  #9  
Old October 18th, 2002, 10:02 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
No Dynamic Text

I have everything working using Flash 5.0 except my Dynamic Text is not being displayed. All I see are the buttons, but no text.

Please help!

other than that liked the article

Reply With Quote
  #10  
Old October 31st, 2002, 09:27 PM
mburch1 mburch1 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 1 mburch1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
can anyone help

I have been trying forever to get this to work! Some of the code is missing in this post so I went to melonfire and copied everything verbatim. Has anyone else had these problems.

Any help would be greatly appreciated!

mb

Reply With Quote
  #11  
Old March 6th, 2003, 06:16 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
got text working

you need to name the instance of the movie clip called text e.g. instanceText
then change the line to
set ("itemInstance"+i+".instanceText.label", items[i]);

Reply With Quote
  #12  
Old May 30th, 2003, 10:01 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Building Data-Driven Flash Movies

Building Data-Driven Flash Movies

July 23, 2002 - Contrary to what you might think, Flash isn't just all tweens and motion blurs. The application comes with powerful data-retrieval capabilities, which allow you to hook your Flash movie clips up to a database (or any other external data source) and dynamically build movie clips that are easy to update and modify. Find out more, in this rough guide to the data-driven Flash universe.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #13  
Old July 1st, 2003, 03:10 PM
Arpit Arpit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 Arpit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hey guys..
i m havin similar problems...nothing is bein displayed when I reached the "ticker.php" section....
has anyone figured out whats goin wrong?

Reply With Quote
  #14  
Old July 2nd, 2003, 02:33 AM
melonfire melonfire is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 45 melonfire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
guys - not sure what the problems are with the text on devshed, but we have an archived copy of the article on http://www.melonfire.com/community/...icle.php?id=141

Reply With Quote
  #15  
Old July 15th, 2003, 10:09 AM
Melmac Melmac is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 Melmac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am using Flash MX and having no luck with this. I know it is loading the file because if I yank the external file (message.txt) out of the directory - I get a load error. I set it up just as the article said:


Code:
#message.txt:
msg=This is my text.

I named the instance of the Dynamic Text box graphic symbol 'instanceText' after reading this thread, and my keyframe action on Frame 1 of my Main timeline is:


Code:
loadVariables("message.txt", 0);

when the instance of the graphic symbol is left blank, or

Code:
loadVariables("message.txt", "instanceText");

When I name the instance of the graphic symbol.

I have tried many different variations - but all I get is a blank text box. What am I missing? I have tried everything I have read in this thread....so I am not sure what detail it is that I am missing. Thanks in advance for any help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Building Data-Driven Flash Movies


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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