Solved

Start movie with parameters

Posted on 2002-07-17
13
165 Views
Last Modified: 2010-04-03
I wish to create a flash title for my articles. How can I create an animated title when I don't know yet the text ?

I see couple samples how to read a text file and to use it in my animation. But I don't wish to read a text file, because I get the title from a database. Can I use some parameters to do this job ?

Someting alike: mytitle.swf 'My new title'
0
Comment
Question by:ginsonic
  • 9
  • 4
13 Comments
 
LVL 6

Expert Comment

by:rootdir
ID: 7165000
Yes you can animate title, even you don't know the text.
but there are some limitations on animation.

If you dont know the text then you can not render title charater by charater. (For this one you have to know the title first and then break apart to render text charater by charater.)

But you can do following things on hole title tween, alpha, tint, brightness etc.

for your next question, you can use parameter instead of pulling from text file.

I have created on example for you post your email

Cheers
RootDir
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7165420
Thanks for support. My address is ginsonic@xnet.ro .
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7165423
The domain is xnet.ro . Because the space between @ and x is small is hard to read the corect name : @x.
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7165426
P.S. Please send the fla file and not swf.
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7168435
I send fla file check it out still if you have any further questions post them.

RootDir
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7169135
Received . But how to use it in my html page ? How to send the variable to movie ?

I read a name from a mySql table and I wish to send it to my html page.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 6

Accepted Solution

by:
rootdir earned 100 total points
ID: 7169608
you have write server side page to pass values from database to flash. Server-side scripts means in asp,php etc.

How to write server-side scripts is out of scope of this question. But still go throught these urls for more details

http://www.scripts.nl/flash/f-asp1.asp

http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php02.html

http://www.macromedia.com/support/flash/ts/documents/flash_database.htm

or you can pass parameters through url also

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary402.html

I think this will help you lot

Cheers
RootDir
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7173420
Thanks for support,
Nick
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7173428
I found a nice text effect on net. But the sample project use an edit box to type the text and a button press event to start.

I wish to have a project that can be started with ( get my text from command line ):

<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=6,0,23,0 width=468 height=60><PARAM NAME=movie VALUE=square.swf?title=Medicamente.info> <PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=><EMBED src=square.swf?title=MyText quality=high bgcolor= width=468 height=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

Can you do this job for me ? I offer new 200 points for this .

Nick
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7173429
Sorry:

<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=6,0,23,0 width=468 height=60><PARAM NAME=movie VALUE=square.swf?title=MyText> <PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=><EMBED src=square.swf?title=MyText quality=high bgcolor= width=468 height=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7174497
Nick,

   I can do that. Send me details about What layout you are looking for? What is font size? How you want to animate that text? What is movie size and frame rate?

   If you have any sample file or groundwork send me fla file so that I will start work on that.

   Send me all these details on rotdir@hotmail.com email.

Cheers
RootDir
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7174812
You can download the sample project from :
http://www.ginsonic.ro/Crypt.zip.

The movie size depend by my text lenght and a 22-24 font size I think that is perfect.

Best regards,
Nick
0
 
LVL 9

Author Comment

by:ginsonic
ID: 7179967
Problems ?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now