Solved

Start movie with parameters

Posted on 2002-07-17
13
168 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

831 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