[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Start movie with parameters

Posted on 2002-07-17
13
Medium Priority
?
179 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

834 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