Solved

Start movie with parameters

Posted on 2002-07-17
13
171 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sothink decompiled SWF to Flex: how to build in Adobe Flash Premium Builder? 3 798
SCCM 2012 - Deploy Flash 16 7,080
HTML 5 or Flash 7 491
Adobe Products Forum? 3 165
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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…

679 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