[Flashcoders] - trace mystery

2007-01-31 Thread wouter steidl

Hi list,

I`m flabbergastedI`m loading in a game.swf in another swf and then the
game.swf needs to do a callback.when I try this in the flash IDE
(CTRLENTER) it works and i get the following traces:


 this = _level0.questionBar_mc.game_mc.instance48
 this._parent = _level0.questionBar_mc.game_mc
 this._parent._parent = _level0.questionBar_mc

it is doing a callback by calling a function in questionBar_mc.

Now the weird partIf i publish to html and view it in firefox
(togehter with the lovely flashtracer tool from sephiroth.it)

I cant get to reach the function for the callback and i get this trace:


this = _level0.questionBar_mc.game_mc.instance50

 this._parent = _level0.questionBar_mc.game_mc
 this._parent._parent = undefined

I find it so weird it traces this and this._parent ok, but then  the
this._parent._parent trace undefined.

can anybody give any clues by looking at this code?

thanx a lot!

Wouter
___
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] pflash 8 file upload security issue

2007-01-04 Thread wouter steidl

Hi List,

I have the following issuewhen I upload files in flash with the
filereference class the header always sends a application/octet-stream as
the cointent typeSo if someone uploads an exe file renamed as a doc I
have a problem!

Anybody knows a way to fix this?

thanx!

Wouter
___
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] problems with advanced antialias

2006-12-05 Thread wouter steidl

Hello list,

I have a nasty issue with text that I put on advanced antialias (anti-alias
for readability through the IDE). If I use a link in my (dynamic) text and
I use a  u  tag to underline it or do this with a stylesheet then the link
sort of 'jumps'
when you roll over that link.is anybody aware of this issue and is
there a solution?

Thx a lot!

Wouter
___
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] help

2006-08-29 Thread Wouter
Or do a search on 'change the flash player title bar' in google,

I got a tool once to hack this title, but cant remember the namefound it
through google though, so I am sure you`ll find it as well!
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 12:33 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] help

does anyone know how to change the flash player title bar from Macromedia
Flash Player 8 to whatever i wan't?

thanks,
lewis


-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software
Visit www.ntlworld.com/security for more information

___
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] Re: OOP methodology and flash. I'm loosing my faith...

2006-08-24 Thread Wouter
For the system you are describing I use one from this book (chapter 3)

http://www.amazon.com/gp/product/1590595947

It is a nice system formenus, doing exactly what you want and it is easy to
customize

Wouter



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ricardo
Sánchez
Sent: Thursday, August 24, 2006 2:53 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Re: OOP methodology and flash. I'm loosing my
faith...

Maybe I'm not explaining my self clear.

What I want to know is what is the best approach to make a site with a menu
with some buttons with rollOvers, rollOuts... When you click a button it
stays selected until you click another one.

Clicking any button will load content on a specific place on the web, making
it appear with some animation and making also the last one desapear...

I ask this because 80% of the projects I make have that structure or very
similar. And I think it can be helpfull to other people too.

On 8/23/06, Ricardo Sánchez [EMAIL PROTECTED] wrote:

 ... well, not really but I thought it was good as I title

 I always use OOP for my flash projects but, even if I find it easier 
 than timeline coding, I dont know if I'm taking all the advantage of 
 OOP. I'm not even sure if I am aplying the correct patterns for every
problem.

 My insecurity probably has to do with the lack of normal work OOP 
 flash examples. For example the typicall top menu/content web. How can 
 OOP be applied to that?

 I guess I find a gap in the theory of knowing how to link the symbols, 
 movieclips, timeline and graphics in flash with the code in external
files.

 Am I opening a can of worms?

 Thanks.

___
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] XML question

2006-08-24 Thread Wouter
Thanx! But ignoreWhite = true

So that`s not it...any other ideas?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Thursday, August 24, 2006 4:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML question

Is your XML object set to ignoreWhite?

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/h
tml/wwhelp.htm?context=Flash_MX_2004file=1896.html

Scott

On 24/08/06, Wouter [EMAIL PROTECTED] wrote:

 Hi list,

 I got an MS Acces database with data, which I converted to XML (direct 
 export from Access) and I read that in flash.so far so good, but 
 when I display the text in a textfield there are a lot of empty lines 
 between the linesI found out that there are somehowe some \r in 
 there that probably cause this.but how do I get them out? I tried 
 to replace all the \r but that did not help

 Any ideas?

 ___
 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] Re: OOP methodology and flash. I'm loosing myfaith...

2006-08-24 Thread Wouter
Mmm, some hints,

It is OOP and it consists of 2 main classes that are extended by two other
classes . The 2 main classes define all the methods necessarye to let the
system function (stuff like selected state, attaching the buttons (which
reside in your library)). Then the 2 classes that extend the main ones
arrange specific things for your particular needs (like rollover animations,
positioning).

This is my best short explanation, hope it clears things up a bit!

(and why not try to find a copy of that specific chapter 3 somewhere
online..)

Wouter


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ricardo
Sánchez
Sent: Thursday, August 24, 2006 3:49 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Re: OOP methodology and flash. I'm loosing
myfaith...

Can you share some hints? Is it OOP? If you tell me that book is good I'll
probably buy it but it would be nice if you share a little of what you are
talking about.

Thanks!

On 8/24/06, Wouter [EMAIL PROTECTED] wrote:

 For the system you are describing I use one from this book (chapter 3)

 http://www.amazon.com/gp/product/1590595947

 It is a nice system formenus, doing exactly what you want and it is 
 easy to customize

 Wouter



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ricardo Sánchez
 Sent: Thursday, August 24, 2006 2:53 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Re: OOP methodology and flash. I'm loosing my 
 faith...

 Maybe I'm not explaining my self clear.

 What I want to know is what is the best approach to make a site with a 
 menu with some buttons with rollOvers, rollOuts... When you click a 
 button it stays selected until you click another one.

 Clicking any button will load content on a specific place on the web, 
 making it appear with some animation and making also the last one 
 desapear...

 I ask this because 80% of the projects I make have that structure or 
 very similar. And I think it can be helpfull to other people too.

 On 8/23/06, Ricardo Sánchez [EMAIL PROTECTED] wrote:
 
  ... well, not really but I thought it was good as I title
 
  I always use OOP for my flash projects but, even if I find it easier 
  than timeline coding, I dont know if I'm taking all the advantage of 
  OOP. I'm not even sure if I am aplying the correct patterns for 
  every
 problem.
 
  My insecurity probably has to do with the lack of normal work OOP 
  flash examples. For example the typicall top menu/content web. How 
  can OOP be applied to that?
 
  I guess I find a gap in the theory of knowing how to link the 
  symbols, movieclips, timeline and graphics in flash with the code in 
  external
 files.
 
  Am I opening a can of worms?
 
  Thanks.
 
 ___
 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

___
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] XML question

2006-08-24 Thread Wouter
Hey Scott,

Thanx again! You happen to know a smart way to delete those white lines? 

Wouter 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Thursday, August 24, 2006 5:18 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML question

You could remove the line breaks from your XML file. \r is a carriage
return. In Windows, it accompanies a newline character when someone presses
enter.

Scott

On 24/08/06, Wouter [EMAIL PROTECTED] wrote:
 Thanx! But ignoreWhite = true

 So that`s not it...any other ideas?



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott 
 Hyndman
 Sent: Thursday, August 24, 2006 4:14 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] XML question

 Is your XML object set to ignoreWhite?

 http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/co
 mmon/h tml/wwhelp.htm?context=Flash_MX_2004file=1896.html

 Scott

 On 24/08/06, Wouter [EMAIL PROTECTED] wrote:
 
  Hi list,
 
  I got an MS Acces database with data, which I converted to XML 
  (direct export from Access) and I read that in flash.so far so 
  good, but when I display the text in a textfield there are a lot of 
  empty lines between the linesI found out that there are somehowe 
  some \r in there that probably cause this.but how do I get 
  them out? I tried to replace all the \r but that did not help
 
  Any ideas?
 
  ___
  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

___
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] XML question

2006-08-24 Thread Wouter
Hey Ryan, 

thanx, but this doesn't seem to solve it. 

But I found out I can do a find and replace on the empty lines in
Dreamwever so I`m gonna play with that!



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan Potter
Sent: Thursday, August 24, 2006 5:51 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] XML question

Did you try condenseWhite on your textfield?

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w
whelp.htm?context=LiveDocs_Partsfile=2740.html

From the help files:

var my_str:String = Hello\tWorld\nHow are you?\t\t\tEnd;

this.createTextField(first_txt, this.getNextHighestDepth(), 10, 10, 160,
120); first_txt.html = true; first_txt.multiline = true; first_txt.wordWrap
= true; first_txt.condenseWhite = false; first_txt.border = true;
first_txt.htmlText = my_str;

this.createTextField(second_txt, this.getNextHighestDepth(), 180, 10, 160,
120); second_txt.html = true; second_txt.multiline = true;
second_txt.wordWrap = true; second_txt.condenseWhite = true;
second_txt.border = true; second_txt.htmlText = my_str;



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Sent: Thursday, August 24, 2006 8:37 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] XML question

Thanx! But ignoreWhite = true

So that`s not it...any other ideas?

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Thursday, August 24, 2006 4:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML question

Is your XML object set to ignoreWhite?

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/comm
on/h
tml/wwhelp.htm?context=Flash_MX_2004file=1896.html

Scott

On 24/08/06, Wouter [EMAIL PROTECTED] wrote:

 Hi list,

 I got an MS Acces database with data, which I converted to XML (direct

 export from Access) and I read that in flash.so far so good, but 
 when I display the text in a textfield there are a lot of empty lines 
 between the linesI found out that there are somehowe some \r in 
 there that probably cause this.but how do I get them out? I tried 
 to replace all the \r but that did not help

 Any ideas?

 ___
 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

___
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] XML question

2006-08-24 Thread Wouter
Yes,

He is trying to do that exactly :) I got a db and have to use the data in
Flash on a CD.

:)

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ryanm
Sent: Thursday, August 24, 2006 7:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML question

 Here's one way:

 myString.split(\r).join();
 myString.split(\n).join();

It sounds to me like he's trying to take a database and turn it into
something that can be loaded directly by Flash, maybe for a distributed
standalone app (CD, web download, etc). Depending on the size of the data,
it probably would be a good idea to do this before hand, to the file itself,
rather than making Flash parse it out every time the end user opens the app.

ryanm 

___
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] XML question

2006-08-24 Thread Wouter
Thx for this Ryan!

The thing is that in the file I dpnt see the /r or /n...i just see this as
an example:

postIntroGeachte minister, 

Lorem ipsum sig dagelet mi cando si nado. 

vriendelijke groeten, 

/postIntro

And in Flash I get all the \r in it an it looks really weird with a lot of
space between lines.

In dreamweaver I can copy the empty line and replace it with nothing, that
fixed it

I still don't really get it, but it is solved for now! 

Thx again!

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ryanm
Sent: Thursday, August 24, 2006 7:48 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML question

 But I found out I can do a find and replace on the empty lines in 
 Dreamwever so I`m gonna play with that!

If you have access to any decent text editor you should be able to get
rid of them. I use UltraEdit for this, because it supports RegExp in the
replace dialog. Basically, you just want to replace \r\n (or whatever the
equivalent is in your text editor) with \n, and that should fix it. Be
aware, though, that you will have to use different expressions for this in
different editors.

In essence, \r is a hard return and \n is a line feed (or newline),
and some databases/operating systems/languages/etc insert only a hard
return, some insert only a line feed, and some insert both. So in your text
editor, find out how to do a find and replace on only the hard return
character. In UltraEit, when *not* using RegExp, you can use ^r and ^n as
search terms for \r and \n, and you can use ^p (paragraph break) as a
search term for \r\n, and then replace it with ^n (just a newline
character). With RegExp enabled in the replace dialog, you can just use the
\r and \n, as is usual in RegExp. You might want to look and see if you can
find a demo copy of UltraEdit just for this replacement, it's very useful
for this sort of thing. I used it to reformat over 120 files all in one
swoop with it, which saved me tons of time.

ryanm 

___
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] Re: Flashcoders Digest, Vol 19, Issue 63

2006-08-21 Thread wouter
Geachte heer/mevrouw,

Ik ben t/m 25 augustus afwezig. Ik zal uw mail daarna zo snel mogelijk in 
behandeling nemen. Voor dringende zaken met betrekking tot WEBclusive kunt u 
ons kantoor bellen op het volgende nummer: 070-3699 817

Met vriendelijke groet,

Wouter van Vliet
WEBclusive
___
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] Known issues with flv playback component in flash9 player?

2006-07-28 Thread Wouter
Thanx a lot for your reply...

Anybody knows about issues with the MediaDisplay and MediaController
component not working correctly in Flash 9 Player?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Krichten
Sent: Friday, July 28, 2006 3:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Known issues with flv playback component in
flash9 player?

I have a couple apps that use the FLV Playback component.  They work fine
with Flash Player 9.
___
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] Known issues with flv playback component in flash 9 player?

2006-07-27 Thread Wouter
I just updated my browser to use flash layer 9 (browser is IE) and now a
previously working swf that has a flv-playback component in it stopped
working. Are there any known issues that could cause this? When using flash
player 8 all works fine!

Thanx a lot,

Wouter

___
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] timer to advance

2006-06-13 Thread Wouter Steidl
Could this be what you need:

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=LiveDocs_Partsfile=1717.html

The first comment by Francis at the bottom...

Wouter 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Tuesday, June 13, 2006 3:45 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] timer to advance

Hello List, I am trying to accomplish a timer that will advance to a frame
once a set time has been reached. Of course it doesn't work any ideas  Here
is the code

onClipEvent (enterFrame) {
if (_root.delay) {
if (Math.floor(getTimer()/1000) == _root.lastTime+1) {
_root.delay = false;
}
} else if (Math.floor(getTimer()/1000) == _root.lastTime+_root.wait)
{
_root.lastTime = Math.floor(getTimer()/1000);
_root.delay = true;
// custom actions begin
_root.count = _root.count+1;
if (_root.count = 20) {
gotoAndStop(2);
}

}
}

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605

___
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] timer to advance

2006-06-13 Thread Wouter Steidl
setTimeout is even easier to use tehn:

setTimeout(GoNext,1);

And it clears itself!

cool 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Tuesday, June 13, 2006 4:28 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] timer to advance

That worked perfect thanks

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Tuesday, June 13, 2006 9:07 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] timer to advance

Actually, just this would work too - the other post was from something
else:

function GoNext(){
clearInterval(intID)
nextframe();
}

intID = setInterval(GoNext, 1);

Will move after 10 seconds.

Jason Merrill
Bank of America
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders- 
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Tuesday, June 13, 2006 10:02 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] timer to advance

You could just use setInterval instead of getTimer:

count = 0;

function GoNext(){
  count++;
  if(count = 10){
  clearInterval(intID)
  nextframe();
  count = 0;
  }
}

intID = setInterval(GoNext, 1000);

Jason Merrill
Bank of America
Learning Technology Solutions







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders- 
[EMAIL PROTECTED] On Behalf Of David Brunswick
Sent: Tuesday, June 13, 2006 9:45 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] timer to advance

Hello List, I am trying to accomplish a timer that will advance to a
frame
once a set time has been reached. Of course it doesn't work any
ideas
Here
is the code

onClipEvent (enterFrame) {
if (_root.delay) {
if (Math.floor(getTimer()/1000) == _root.lastTime+1) {
_root.delay = false;
}
} else if (Math.floor(getTimer()/1000) ==
_root.lastTime+_root.wait)
{
_root.lastTime = Math.floor(getTimer()/1000);
_root.delay = true;
// custom actions begin
_root.count = _root.count+1;
if (_root.count = 20) {
gotoAndStop(2);
}

}
}

David Brunswick
Multimedia Developer/OLP Administrator FedEx Customer Information 
Services Customer Service Organizational Learning
901-434-6605

___
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

___
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] Strange trace (error?) with radiobutton

2006-06-12 Thread Wouter Steidl
 

Hey List!

I am using a radiobutton component with some listeners set up in a project
and that works fine, bu I get a strange trace everytime I check one
of the radiobuttons:

[undefined] = (Array/Object){
}
(Array){
}

Anyone ever saw this and knows what it is?? Google didnt work for me on this
one.

Thx

//W

___
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] Object's popertys definition pro blem ¿?

2006-05-25 Thread Wouter Steidl
If i`m correct, your constructor should contain: 

nombre_ruta = new Array();

HTH

Wouter 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jorge
Antonio Diaz Gutierrez
Sent: Thursday, May 25, 2006 3:53 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Object's popertys definition problem ¿?

Hi there, I have a problem. This class doesn't work correctly. 
 
When I create an Object, all it's property's values become undefined even if
I Insert Items trough the Nueva_Ruta method. When I Call the SHOW ALL
method for tracing , all Array items are empty/undefined.
I really need help about it.
I don't understand this behavior. I'm Using Flash Develop.
 
Thanks a lot.
 
//--CLASS -- class Ruta
{
 //-
 private var cantidad:Number;
  private var ruta:Array;
  private var nombre_ruta:Array;
 //-CONSTRUCTOR
  public function Ruta() {  
 cantidad = 0;
 }
 //- INSERT METHOD
 public function Nueva_Ruta(nombre:String, pruta:String):Void{
 ruta.push(pruta);
 nombre_ruta.push(nombre);
 cantidad++;
 }
//-- SHOW ALL
 public function Todas_las_Rutas():Array {
 var nombres_rutas:Array = new Array;
 for(var i:Number = 0; i  cantidad ; i++){
nombres_rutas[i] = nombre_ruta[i] +  ( + ruta[i] + );
 }
  return nombres_rutas;
 }
}


___
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] Multiple FLVPlayback problem

2006-05-17 Thread Wouter Steidl
I finished a project with quite some FLVs myself this week (around 45
different 1 to 3 MB FLVs) and used the activeVideoPlayerIndex technique...

I throw an array of videos in my VideoLoader class and it starts preloading
the 1st one...when that is done loading it adds 1 to the
activeVideoPlayerIndex and preloads the next one in the array...etc.etc.

Works great! Curious to see your code Aaron!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jim
Sent: Wednesday, May 17, 2006 1:30 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Multiple FLVPlayback problem

That's great arron, I actually started looking into this metod yesterday
myself after seeing the activePlayer index in the FLVPlayback component. I
was thinking that extending the component would be best.

Well, I will be very greatful for your help/class.

Cheers
Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of aaron smith
Sent: 16 May 2006 23:55
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multiple FLVPlayback problem

one other thing, you might want to split up your video even more.. like
6 - 10 clips. that way they're way smaller files.. seeking and loading
wouldn't be a problem then.


aaron smith wrote:
 I'm also working on a project that requires multiple flv's also. What 
 I did was create a very basic multiple flv player. then with that you 
 listen to whatever events you want to tap into. say for some video 
 controls and what not. I will share it with you later tonight. I need 
 to refactor it a bit and add a little more functionality..  but it 
 works great!

 I need to build in seeking capabilities and cuepoint capabilities.. 
 other than that. it all works great. I am using with 2 - 5 MB files. 
 of about 2 or 3 files.. so total up those files and generally its 
 about 10 - 15 megs..

 as far as preloading the flvs. what you need to do is start playing 
 the first one. then when you get a metadata event for that one. start 
 playing the second one, once you get metadeta for that one. add it to 
 total time and pause it.. it will still continue to download the flv 
 though... so basically you need to wait till one has metadeta.. then 
 start the next one. or you could come up with some other way of doing 
 this. but thats how I had to do it without killing the player because 
 of all the video loading.  this way works great locally. over the net 
 it also works great but my files are considerablly smaller.

 like I said. i'll share this with you later tonight.. I also am 
 planning on releasing it for public use. I just need to get it ready 
 for release.

 smith




 Jim Tann wrote:
 Originally posted on OSFlash.org list, sorry to double post, sent to 
 wrong list.

 Hi all,

 I am working on several projects that have very large videos (1-2 
 hours) that need to be delivered on CD-Rom  Intranet. After trying 
 to use one large video file I realized there is a large problem when 
 seeking to any point in the video in that It has to buffer itself up 
 to the point you wish to play  on these large videos that can take quite
some time.

 This led me to chop the video up into 2 min chunks  write a 
 segmented video player so they play as one video. This is working 
 great on most machines but on the occasional Windows 98 machine it is 
 crashing when initially grabbing the flv's.
 I think the problem is that when initializing the component it is 
 trying to load all the flv's at once.
 Does anyone have any insight into this? Is there another segmented 
 video player about?

 Here is the class:

 /***
 * @author - James Tann
 * * FILE:: SegmentedFLVPlayback.as
 * PACKAGE:: com.codesortium.video.SegmentedFLVPlayback
 * AUTHOR:: James Tann
 * AUTHOR SITE:: http://www.avtgroup.com
 * CREATED:: 10/04/2006
 * DESCRIPTION:: /
 // ** AUTO-UI IMPORT STATEMENTS **
 // ** END AUTO-UI IMPORT STATEMENTS ** import mx.video.FLVPlayback; 
 import mx.utils.Delegate; import mx.events.EventDispatcher;

 class com.codesortium.video.SegmentedFLVPlayback extends MovieClip { 
 // Constants:
 public static var CLASS_REF:Function=
 com.codesortium.video.SegmentedFLVPlayback;
 public static var LINKAGE_ID:String=
 SegmentedFLVPlayback;
 public static var SymbolLinked:Boolean=
 Object.registerClass(LINKAGE_ID, CLASS_REF);
 
 // Public Properties:
 public var addEventListener:Function;
 public var removeEventListener:Function;
 public var autoPlay:Boolean
 = false;
 public var bufferTime:Number
 = 0.1;
 public var playheadTime:Number
 = 0;
 public var playheadUpdateInterval:Number= 250;
 public var progressInterval:Number
 = 250;
 public var state

[Flashcoders] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Wouter Steidl
Hi List,

I am using the FLVPlayback component and have a really strange problem:

I have a videoloader class (Singleton) that I instansiate, then I throw in
an array of videos and it plays them sequentiallylike this: (FPB is a
reference to the FLVplayback-instance on stage)

public function loadFLVs (aVids : Array) : Void {   
// (re)set the video arrays
this.aVids = aVids;

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = aVids[0].source;

// start with first Video
FPB.play();
}

And on a buttonpress I can change the array of videos like this:

Button.onPress = function() {
aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
myVid.loadFLVs(aVideos);
}

But now something strange happens...

I have a number of videos for a project named 1A.flv, 1b.flv, etc.
If I start with 1A and try to load 1B on the buttonclick it fails

If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form A
TOTALLY DIFFERENT PROJECT  it works... Lets call it project2.flv

As a hack I tried this in the loadFLV function:

Before I set the content path to the correct video I change it to
project2.flv...

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = project2.flv;
FPB.contentPath = aVids[0].source;

And then it works again :S
but its an ugly hack


I`m totally clueless,
Any idea what this can be?

Thanx a lot!

Wouter




___
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] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Wouter Steidl
Thx for your respose,
But I cant believe it has to do with thatcause it works if I don't try
to load flvs from the same project but throw in the file from that other
project..

Any more thoughts?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ashwan
Wadhwa
Sent: Wednesday, April 26, 2006 10:08 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Strnge FLVplayback problem

You may want to wait for the ready event to fire(after you set the
contentPath)and then issue the play command.

MM Help example here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhel
p.htm?href=1893.html




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Steidl
Sent: Wednesday, April 26, 2006 3:43 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Strnge FLVplayback problem

Hi List,

I am using the FLVPlayback component and have a really strange problem:

I have a videoloader class (Singleton) that I instansiate, then I throw in
an array of videos and it plays them sequentiallylike this: (FPB is a
reference to the FLVplayback-instance on stage)

public function loadFLVs (aVids : Array) : Void {   
// (re)set the video arrays
this.aVids = aVids;

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = aVids[0].source;

// start with first Video
FPB.play();
}

And on a buttonpress I can change the array of videos like this:

Button.onPress = function() {
aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
myVid.loadFLVs(aVideos);
}

But now something strange happens...

I have a number of videos for a project named 1A.flv, 1b.flv, etc.
If I start with 1A and try to load 1B on the buttonclick it fails

If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form A
TOTALLY DIFFERENT PROJECT  it works... Lets call it project2.flv

As a hack I tried this in the loadFLV function:

Before I set the content path to the correct video I change it to
project2.flv...

//Load first video
FPB.activeVideoPlayerIndex = 0;
FPB.visibleVideoPlayerIndex = 0;
FPB.contentPath = project2.flv;
FPB.contentPath = aVids[0].source;

And then it works again :S
but its an ugly hack


I`m totally clueless,
Any idea what this can be?

Thanx a lot!

Wouter




___
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] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Wouter Steidl
Well., the whole setu is with the playback component because I can use 1
component and multiple flvs in that componentand the strange thing is
that it all works, but in this weirtd way I described

Thx for the tip though!
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Wednesday, April 26, 2006 10:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Strnge FLVplayback problem

Have you tried using netstream object to play your flvs instead?


Wouter Steidl wrote:
 Thx for your respose,
 But I cant believe it has to do with thatcause it works if I don't 
 try to load flvs from the same project but throw in the file from that 
 other project..

 Any more thoughts?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ashwan 
 Wadhwa
 Sent: Wednesday, April 26, 2006 10:08 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Strnge FLVplayback problem

 You may want to wait for the ready event to fire(after you set the 
 contentPath)and then issue the play command.

 MM Help example here:
 http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwh
 el
 p.htm?href=1893.html




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Wouter 
 Steidl
 Sent: Wednesday, April 26, 2006 3:43 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Strnge FLVplayback problem

 Hi List,

 I am using the FLVPlayback component and have a really strange problem:

 I have a videoloader class (Singleton) that I instansiate, then I 
 throw in an array of videos and it plays them sequentiallylike 
 this: (FPB is a reference to the FLVplayback-instance on stage)

 public function loadFLVs (aVids : Array) : Void { 
   // (re)set the video arrays
   this.aVids = aVids;
   
   //Load first video
   FPB.activeVideoPlayerIndex = 0;
   FPB.visibleVideoPlayerIndex = 0;
   FPB.contentPath = aVids[0].source;
 
   // start with first Video
   FPB.play();
 }

 And on a buttonpress I can change the array of videos like this:

 Button.onPress = function() {
   aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
   myVid.loadFLVs(aVideos);
 }

 But now something strange happens...

 I have a number of videos for a project named 1A.flv, 1b.flv, etc.
 If I start with 1A and try to load 1B on the buttonclick it fails

 If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv form 
 A TOTALLY DIFFERENT PROJECT  it works... Lets call it project2.flv

 As a hack I tried this in the loadFLV function:

 Before I set the content path to the correct video I change it to 
 project2.flv...

 //Load first video
 FPB.activeVideoPlayerIndex = 0;
 FPB.visibleVideoPlayerIndex = 0;
 FPB.contentPath = project2.flv;
 FPB.contentPath = aVids[0].source;

 And then it works again :S
 but its an ugly hack


 I`m totally clueless,
 Any idea what this can be?

 Thanx a lot!

 Wouter




 ___
 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



   

___
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] Straaaaaaaange FLVplayback problem....

2006-04-26 Thread Wouter Steidl
All of you! Thanx a lot for all the replies,

I`m gonna check it all out tommorrow,
It is quite late on this site of the globe and it has been a pretty long day
So I`m gonna work on it tommorrow,

Thanx again all!

Wouter  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Wednesday, April 26, 2006 11:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Strnge FLVplayback problem

Using the netstream is the same idea as using the component, you can pass in
multiple flv's to the same netstream / controls.

Wouter Steidl wrote:
 Well., the whole setu is with the playback component because I can use 
 1 component and multiple flvs in that componentand the strange 
 thing is that it all works, but in this weirtd way I described

 Thx for the tip though!
  

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
 Boutin
 Sent: Wednesday, April 26, 2006 10:27 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Strnge FLVplayback problem

 Have you tried using netstream object to play your flvs instead?


 Wouter Steidl wrote:
   
 Thx for your respose,
 But I cant believe it has to do with thatcause it works if I 
 don't try to load flvs from the same project but throw in the file 
 from that other project..

 Any more thoughts?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ashwan Wadhwa
 Sent: Wednesday, April 26, 2006 10:08 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Strnge FLVplayback problem

 You may want to wait for the ready event to fire(after you set the 
 contentPath)and then issue the play command.

 MM Help example here:
 http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/ww
 h
 el
 p.htm?href=1893.html




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Wouter Steidl
 Sent: Wednesday, April 26, 2006 3:43 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Strnge FLVplayback problem

 Hi List,

 I am using the FLVPlayback component and have a really strange problem:

 I have a videoloader class (Singleton) that I instansiate, then I 
 throw in an array of videos and it plays them sequentiallylike
 this: (FPB is a reference to the FLVplayback-instance on stage)

 public function loadFLVs (aVids : Array) : Void {
  // (re)set the video arrays
  this.aVids = aVids;
  
  //Load first video
  FPB.activeVideoPlayerIndex = 0;
  FPB.visibleVideoPlayerIndex = 0;
  FPB.contentPath = aVids[0].source;
 
  // start with first Video
  FPB.play();
 }

 And on a buttonpress I can change the array of videos like this:

 Button.onPress = function() {
  aVideos[0] = {source:videos/1A.flv, id:1, name:11, nCpTime:1.00};
  myVid.loadFLVs(aVideos);
 }

 But now something strange happens...

 I have a number of videos for a project named 1A.flv, 1b.flv, etc.
 If I start with 1A and try to load 1B on the buttonclick it fails

 If I start with 1A and on buttonpress load A TOTALL DIFFERENT flv 
 form A TOTALLY DIFFERENT PROJECT  it works... Lets call it 
 project2.flv

 As a hack I tried this in the loadFLV function:

 Before I set the content path to the correct video I change it to 
 project2.flv...

 //Load first video
 FPB.activeVideoPlayerIndex = 0;
 FPB.visibleVideoPlayerIndex = 0;
 FPB.contentPath = project2.flv;
 FPB.contentPath = aVids[0].source;

 And then it works again :S
 but its an ugly hack


 I`m totally clueless,
 Any idea what this can be?

 Thanx a lot!

 Wouter




 ___
 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



   
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive

[Flashcoders] FLV preloading question

2006-04-17 Thread Wouter Steidl
 
Hi list!

I`m working on a project that uses a lot of FLVs,

My issue is this:

The visitor of the website is watching a flv (1st flv ) and when he is done
he can choose an option that will result in showing another FLV (2nd flv).
What would be the best way to preload the 2nd flv while the user is
watching the 1st FLV?

And while I`m at it, can anyone explain the difference between buffering a
flv and preloading a flv ?

Thx a lot!

Wout

___
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] Customizing Accordeon component

2006-03-07 Thread Wouter Steidl
Hi List!

I am trying to customize the Accordion component and want to achieve the
following:

The Component will serve as a quizso each section of it will contain a
quiz-questionnow in the header of the sections I want to display the
number of the question AND the answer given to a questionthe answers
should be evenly aligend on the right

So i tried to use a movieclip for the label, containing two textfields, for
the quiznumber and for the answer, but didnt work...messed around with the
icon: no luck...

Anybody can think of a smart way to achieve this?

Thanks!

Wout

 
___
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] Flash application crashes IE when player 7 is installed

2006-03-01 Thread Wouter Steidl
Hi List,

I have this weird thing,

I build an application that displays different videosIt interacts with a
database via ASP that generates some XML and it all works fine.in flash
player 8 that is! My client needs to have a working version for the 7 player
but when I export to flash player 7 and view it in a browser that has the
player 7 installed I get an error:



InternetExplorer has encountered an error with an add-on

The following add-on was running when this occurred

File: flash.ocx



-

And then My IE crashes...


If I reinstall the flash 8 player for my browser everything works fine (with
the movie still being a flash 7 export)
Anybody knows what this could be, any known issues concerning flash player 7
that crashes?

Thx in advance for any comments,

//W

___
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] Question regarding use of Delegate in a class

2006-02-21 Thread Wouter Steidl
 
Good evening people,

I asked this on the newbie list since I suspect it to be a newbie question,,
but didn't get an answerso I hope to find the answer here:

I have some code in a class that needs to fire a fuction (startTimer) from
an onEnterFrame eventi can fire it from an onrelease usung Delegate, but
not from the onEnterFrame..what am I missing here?

code

private function doFade():Void{
container_mc.onEnterFrame = function(){
this.fader_mc._alpha-=faderSpeed;
if(this.fader_mc._alpha = 0){
this.fader_mc._alpha=0;
Delegate.create(this, startTimer); -- DOESN'T WORK
delete this.onEnterFrame;
}
}
container_mc.onRelease = Delegate.create(this, startTimer); --
WORKS AND FIRES THE FUNCTION WHEN I CLICK THE MOVIECLIP } 

/code

Thx for your help,

Wout

___
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] Weird image problem

2005-11-30 Thread Wouter Steidl
Hey list,

Maybe someone on this list knows

I have a really nasty problem:

I load a jpg, dynamicly and I rotate it a bit, so far so good.
When my movie is 1 frame long the photo looks really good, but as soon as I
extend my timeline by adding some frames, all straight lines in the photo
appear jagged.hope jagged is the right word actually :) They are just
not sharp anymore...really weird stuff :S

Anybody seen this problem and happens to know a solution?

Thx

//W

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders