Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Jordan L. Chilcott
Seeing as you mentioned ColdFusion (you didn't mention that one  
before :-) ), you can also use Flash Remoting to get the information  
to and from Flash. Where there's a back-end language, there will  
probably be a database involved and in there will probably be a field  
for video records.


As for placing the video, you can play video almost anywhere, so  
putting it in a button is a definitely possibility.


jord

On Mar 8, 2007, at 4:48 PM, Wendy Marino wrote:

I will post as soon as I see which method works best for the  
situation (It's
for a daily news broadcasts that will be posted on line). The  
server is

running php and cold fusion and so I'll check that out.

And Jordan, I figured this would be possible in an xml ( pop
up a button that plays a video)...in a playeror points to it  
brining it

into player.

-both methods could work I guess so I'll see which will be best to
implement.


--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Jason and Jordon,

=Thank You= very much for your help and input! I really Appreciate it!
I figured there was a way but just wanted to make sure.
There is more than one way to get to Rome, I know!
I will post as soon as I see which method works best for the situation (It's
for a daily news broadcasts that will be posted on line). The server is
running php and cold fusion and so I'll check that out.

And Jordan, I figured this would be possible in an xml ( pop
up a button that plays a video)...in a playeror points to it brining it
into player. 

-both methods could work I guess so I'll see which will be best to
implement.

Thanks a lot again!

Wendy : )


On 3/8/07 12:35 PM, "Jason Rayles" <[EMAIL PROTECTED]> wrote:

> Wendy,
> 
> I think the trick is generating the xml dynamically on the server. There's
> not a good way for flash to know whether a file exists until it tries to
> load the file. Unless you want to update and upload the xml every time you
> update a video, then you'll want a server-side script to create a list of
> the flvs in the folder. And really, the list doesn't have to be xml. If you
> know whether your server is running asp or php or cgis or whatever, then you
> should be able to search the web for a script that will list all of the
> files in a folder.
> 
> Once you have that, then you'll just show a button in flash for each entry
> in the list.
> 
> Jason
> 
>> 
>> Hello list!
>> 
>> Does anyone know the code to make  -selectable dynamic video buttons-
>> appear
>> -only- if/when there is an .flv available to be called from in the xml
>> code???
>> 
>> I¹m dealing with 3 to 5 videos that need to be removed and then replaced
>> daily after rendering in final cut, exported to .flv¹s then put on web.
>> The prior needs to be taken down, and the new put up when ready.
>> 
>> I don¹t want the button for whichever video to appear unless the video is
>> there.
>> 
>> Any suggestions would be greatly appreciated!!
>> 
>> Thank You!
>> 
>> Wendy
>> 
>> --
>> Wendy Marino
>> Digital Media
>> Operations Specialist
>> The Journal News
>> 1 Gannett Drive
>> White Plains, NY 10604
>> 914-694-5288
>> E-mail:  [EMAIL PROTECTED]
>> www.lohud.com
>> 
>> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Jordan L. Chilcott - Interactivity Unlimited

There are plenty of ways to go about 5 & 6. You could set it up as an
attribute within the XML node where if it sees a "video" attribute in
the attributes property, then pop up a button that will point to your
video (if that's what you're trying to do... or are you trying to pop
up a button that plays a video - either way, the principle is somewhat
the same).

jord

On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:

Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy

--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (519) 837-8610

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Francis Chary

No problem, come back when (or if) you need more help ;-)

Francis

On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:


Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Jason Rayles

Wendy,

I think the trick is generating the xml dynamically on the server. There's 
not a good way for flash to know whether a file exists until it tries to 
load the file. Unless you want to update and upload the xml every time you 
update a video, then you'll want a server-side script to create a list of 
the flvs in the folder. And really, the list doesn't have to be xml. If you 
know whether your server is running asp or php or cgis or whatever, then you 
should be able to search the web for a script that will list all of the 
files in a folder.


Once you have that, then you'll just show a button in flash for each entry 
in the list.


Jason



Hello list!

Does anyone know the code to make  -selectable dynamic video buttons-
appear
-only- if/when there is an .flv available to be called from in the xml
code???

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

--
Wendy Marino
Digital Media
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy


On 3/8/07 12:16 PM, "Francis Chary" <[EMAIL PROTECTED]> wrote:

> Hi Wendy,
> 
> It sounds like you're asking a bunch of questions, without realising it. I
> would break the problem down something like this:
> 
> 1. Create a video (non-flash)
> 2. Convert video to flv (non-code)
> 3. Upload video to web server (non-flash, maybe non-code)
> 4. Create xml to describe which videos are available (non-flash, maybe
> non-code)
> 5. Flash application loads xml from server, and parses it
> 6. Flash application creates buttons for videos, depending on what's in the
> xml
> 
> On this list, it's probably best to stick with #s 5&6, as 1-4 are really not
> topical. So let's assume that you've got your videos already uploaded to
> your server, and an xml file describing where they are.
> 
> For #5, you'll need to create an XML object in your code. Here's a link to a
> tutorial on how to do that:
> 
> http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html
> 
> For the buttons (#6), you'll need to have a button movieclip in your
> library. It could be as simple as a movieclip with a shape and a textfield.
> In the library, you'll also want to give the button movieclip a linkage Id,
> (right-click on the item in the library, select "Linkage").
> 
> Once that's done, you can attach the movieclip to the stage in code by using
> the attachMovie function. Here's a wee tutorial about that:
> 
> http://flash-creations.com/notes/dynamic_attachmovie.php
> 
> Basically, what you need to do is to load the xml into an XML object, then
> loop through the values in the xml, using attachMovie to drop a new button
> on the stage for each video in the xml.  I think that should get you
> started.
> 
> Hope that helps..
> 
> Francis
> 
> Wendy Marino schrieb:
>> Hello list!
>> 
> please: this list is for asking specific coding questions. not asking for
> someone doing
> someone elses work.
> 
> please respect the lists etiquette.
> 
> micha
> 
> @Micha: can't we at least help to break it down, so that it BECOMES a
> specific coding question? She did take the trouble to come here, after all.
> 
> 
> On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:
>> 
>> Hello list!
>> 
>> Does anyone know the code to make  -selectable dynamic video buttons-
>> appear
>> -only- if/when there is an .flv available to be called from in the xml
>> code???
>> 
>> I¹m dealing with 3 to 5 videos that need to be removed and then replaced
>> daily after rendering in final cut, exported to .flv¹s then put on web.
>> The prior needs to be taken down, and the new put up when ready.
>> 
>> I don¹t want the button for whichever video to appear unless the video is
>> there.
>> 
>> Any suggestions would be greatly appreciated!!
>> 
>> Thank You!
>> 
>> Wendy
>> 
>> --
>> Wendy Marino
>> Digital Media
>> Operations Specialist
>> The Journal News
>> 1 Gannett Drive
>> White Plains, NY 10604
>> 914-694-5288
>> E-mail:  [EMAIL PROTECTED]
>> www.lohud.com
>> 
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Francis Chary

Hi Wendy,

It sounds like you're asking a bunch of questions, without realising it. I
would break the problem down something like this:

1. Create a video (non-flash)
2. Convert video to flv (non-code)
3. Upload video to web server (non-flash, maybe non-code)
4. Create xml to describe which videos are available (non-flash, maybe
non-code)
5. Flash application loads xml from server, and parses it
6. Flash application creates buttons for videos, depending on what's in the
xml

On this list, it's probably best to stick with #s 5&6, as 1-4 are really not
topical. So let's assume that you've got your videos already uploaded to
your server, and an xml file describing where they are.

For #5, you'll need to create an XML object in your code. Here's a link to a
tutorial on how to do that:

http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html

For the buttons (#6), you'll need to have a button movieclip in your
library. It could be as simple as a movieclip with a shape and a textfield.
In the library, you'll also want to give the button movieclip a linkage Id,
(right-click on the item in the library, select "Linkage").

Once that's done, you can attach the movieclip to the stage in code by using
the attachMovie function. Here's a wee tutorial about that:

http://flash-creations.com/notes/dynamic_attachmovie.php

Basically, what you need to do is to load the xml into an XML object, then
loop through the values in the xml, using attachMovie to drop a new button
on the stage for each video in the xml.  I think that should get you
started.

Hope that helps..

Francis

Wendy Marino schrieb:

Hello list!


please: this list is for asking specific coding questions. not asking for
someone doing
someone elses work.

please respect the lists etiquette.

micha

@Micha: can't we at least help to break it down, so that it BECOMES a
specific coding question? She did take the trouble to come here, after all.


On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:


Hello list!

Does anyone know the code to make  -selectable dynamic video buttons-
appear
-only- if/when there is an .flv available to be called from in the xml
code???

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

--
Wendy Marino
Digital Media
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Wendy Marino
That's a good question I'm not so sure I want to be on it either.

I've watched all the communications, have never asked a question, and the
first time I do I get a rude response from someone who can't even sign their
name correctly speaking about Œetiquette.¹

If there was error unknown to me, Michael sure could use a lot of refinement
in his approach in trying to clarify.

My apologies to the list if my question was not appropriate.

Wendy


On 3/8/07 11:25 AM, "prachi garg" <[EMAIL PROTECTED]> wrote:

> how can i unsubscribe frm dis list
> 
> On 3/8/07, Michael Stuhr <[EMAIL PROTECTED]> wrote:
>> 
>> Wendy Marino schrieb:
>>> Hello list!
>>> 
>> please: this list is for asking specific coding questions. not asking for
>> someone doing
>> someone elses work.
>> 
>> please respect the lists etiquette.
>> 
>> micha
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread prachi garg

how can i unsubscribe frm dis list

On 3/8/07, Michael Stuhr <[EMAIL PROTECTED]> wrote:


Wendy Marino schrieb:
> Hello list!
>
please: this list is for asking specific coding questions. not asking for
someone doing
someone elses work.

please respect the lists etiquette.

micha
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Dynamic video buttons

2007-03-08 Thread Michael Stuhr

Wendy Marino schrieb:

Hello list!

please: this list is for asking specific coding questions. not asking for someone doing 
someone elses work.


please respect the lists etiquette.

micha
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Hello list!

Does anyone know the code to make  -selectable dynamic video buttons- appear
-only- if/when there is an .flv available to be called from in the xml
code??? 

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

-- 
Wendy Marino
Digital Media 
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com