[Flashcoders] Want to use XML CData and an Array

2005-11-17 Thread Jim Bob
Hello, Does anyone mind taking a look at this .fla frame 1 and see what it would take to load the cdata.xml file? I can get the non-cdata.xml file to load no problem. Source FLA file http://www.geocities.com/jon6662412/temp/non-cdata.fla Non-Cdata XML file (This loads)

Re: SV: [Flashcoders] get, setTextFormat(), shared fonts and dynamic text fields

2005-11-17 Thread Cedric Muller
and I repeat myself: Macromedia should have come up with such solution ... no new thing, just the same as the inventor but on the smart side ... Cedric I managed to roughly understand it and am using it successfully - so cheers for that =D I don't really understand how it is forced to

Re: [Flashcoders] AS2, compiler errors...

2005-11-17 Thread Tim Stickland
Hi Greg Thanks for the reply, but I don't think either of these are the issues. This is the constructor of UserInteractionPanel: public function UserInteractionPanel (controller:PanelController, panelObj:Object) {} And here's a version of GameoverPanel with all but the constructor removed:

Re: [Flashcoders] AS2, compiler errors...

2005-11-17 Thread NEILHIGHLEY.COM
Example .as files: class GameoverPanel extends UserInteractionPanel { function GameoverPanel(controller:PanelController, panelObj:Object) { // Call the super() constructor passing it the panel object. super(controller,panelObj);//calls the constructor for the base calss UserInteractionPanel

RE: [Flashcoders] Duplicate an object, a Date

2005-11-17 Thread Scott Hyndman
var orig:Date = new Date(2001, 04, 21); var clone:Date = new Date(orig.getTime()); Scott -Original Message- From: [EMAIL PROTECTED] on behalf of PR Durand Sent: Thu 11/17/2005 4:46 AM To: Flashcoders mailing list Cc: Subject:[Flashcoders] Duplicate an object, a Date

Re: [Flashcoders] Duplicate an object, a Date

2005-11-17 Thread PR Durand
Ok !!! thanks a lot Scott I tried with a simple clone:Date = new Date(orig) and received a type error, so I thought there were nothing else thanks once more Scott ++ PR Scott Hyndman a écrit : var orig:Date = new Date(2001, 04, 21); var clone:Date = new Date(orig.getTime()); Scott

[Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-17 Thread Dhiraj Girdhar
Hello, I have a SWF file which contains sound (whether in the form of sound object or streaming). I loaded that SWF in another movie clip using LoadMovie. Now, I want to stop the sounds of that SWF, how to do it? There is a way of stopAllSounds, but it also stops the sounds in main SWF.

Re: [Flashcoders] End of flv playback event

2005-11-17 Thread John Giotta
Is it better to cut your video to whole seconds? Well, that may not be as easy as it sounds. Specially in my case, I have to deal with 3 dozen production staff members all producing video each day across the south-eastern united states. ___ Flashcoders

Re: [Flashcoders] Math.random()

2005-11-17 Thread Ian Thomas
If this was connected to prizes/tournaments, from what I remember it depends on whether the user pays to play or not; and the laws of the country that your site is hosted in. From a UK perspective, if the user paid to play you'd need a gaming and/or gambling license (gaming for fixed-odds,

Re: [Flashcoders] Math.random()

2005-11-17 Thread Danny Kodicek
He is starting to ask questions about the randomness of the dice, because a registered member of the game said he's recorded the stats of about 100 backgammon games and found that the numbers generated are not so random. (I haven't seen the data, so I don't know if that's true) I'd ask to see

Re: [Flashcoders] Stopping sounds inside the loaded SWF.

2005-11-17 Thread Ian Thomas
From memory... Assuming myClip was a reference to the loaded MovieClip: new Sound(myClip).stop(); HTH, Ian On 11/17/05, Dhiraj Girdhar [EMAIL PROTECTED] wrote: Hello, I have a SWF file which contains sound (whether in the form of sound object or streaming). I loaded that SWF in another

[Flashcoders] [ANN] F-ab is now available for downloading

2005-11-17 Thread Jiro Harada
Hello, F-ab is now available for downloading. F-ab is a browser for Flash movies. Flash movies are switched by changing the channel like TV programs in it. You can see 1 Flash movies by changing the channel from to . This product is a freeware. Download: http://www.f-ab.net/

Re: [Flashcoders] Math.random()

2005-11-17 Thread Ron Wheeler
The randomness of Math.random is one possible source of concern but what you do with the random number to produce a dice roll is more important. It is easy to make a simple mistake in the mapping of a random number to an integer between 1 and 6 that results in a skewed distribution.

Re: [Flashcoders] End of flv playback event

2005-11-17 Thread Marlon Harrison
The primary issue is the these NetStream Status Reports do not fire reliably. Buffer.Full is reported after playback has begun so if, for instance, you have a placeholder graphic over your video, and you tie it's fade to when Buffer.Full is sent, you need to give yourself some black padding at

[Flashcoders] AS1 to AS2

2005-11-17 Thread Felipe Fernandez
Hi all, I'm reading documentation about creating components in AS2 in order to translate Draggable Macromedia Component. Could anybody show me best way to do that or any clue? Is there any other draggablepane AS2 component? Thanks and regards. ___

Re: [Flashcoders] comboBox not working after upgrading to 8

2005-11-17 Thread Lanny McNie
I believe they made some code updates to the components shipped with Flash 8 for compatibility. Try swapping the one in your library with the one in the Flash 8 components panel... On 11/17/05, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Has the comboBox component changed in

[Flashcoders] Dynamically attach MC with Video_Object?

2005-11-17 Thread Matthew Gaiser
Does anyone know a way to dynamically create or attach a Video_Object? (flash 8) I have made a movieclip in the library containing a Video_Object, attaching that MC and doing the netstream/flv load on it. What is happening is I can hear the audio of the flv playing, but cannot see it.

Re: [Flashcoders] AS2, compiler errors...

2005-11-17 Thread Tim Stickland
True to form (in my experience anyway), I've just gone in to the classes to amend them using some of your suggestions and they're now not throwing any errors... I just don't get it. One thing that I noticed in your example code was that you called methods of the parent class using super.method()

Re: [Flashcoders] AS2, compiler errors...

2005-11-17 Thread Ian Thomas
On 11/17/05, Tim Stickland [EMAIL PROTECTED] wrote: One thing that I noticed in your example code was that you called methods of the parent class using super.method() rather than this.method(). I wasn't aware you could do that, but it certainly makes reading the code more straightforward.

[Flashcoders] XMLConnector to DataSets Question

2005-11-17 Thread Jeff
I'm building a Flash 8 application with a complicated data model. I'm importing data into the movie using an XMLConnector object and a schema like so: authors author id=1 name=author 1 books book id=1 title=book 1 year=1999 chapters chapter id =1

Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Alain Rousseau
Hi Mark, you could monitor the position of the sound comparred to it's duration, that way you know when it arrives at the end of the sound. if (sound.position == sound.duration) { loopCount++; } In this case, the loop count will be made at the end of the sound. HTH Alain Mark

Re: [Flashcoders] re: Flash Player 8 (and 8.5) ActiveX - does notwork!!!!

2005-11-17 Thread JesterXL
Not sure; I'm having a problem where both 7 and 7 debug work on IE, but I cannot install the Flash Player 8 debug player; 8 works sometimes, either via installation manually or through Macromedia's site. This only happened after I uninstalled 8.5 on IE, though, so don't know.. my machine is

RE: [Flashcoders] Cached Class instance

2005-11-17 Thread Tobias Fendel [Die ActionScripter]
hi, this is an old bug of flash 7 and in flash 8 the fix is a new feature ... add a new project and put all used files in it (.fla and .as) then use the new very improved and genious feature of flash: delete aso files and test movie while your main .fla is active. if you dont use flash 8 you

RE: [Flashcoders] onLoop event for sound

2005-11-17 Thread Chris Wilcox
Isn't onSoundComplete called when the sound has stopped playing, not when it loops?? In which case you could create a SoundLoop class which uses onSoundComplete to increment the loopCount and fire next loop. Not sure how it being called on next frame affects this (seemed fine to me in the past)

RE: [Flashcoders] XMLConnector to DataSets Question

2005-11-17 Thread greg
Xpcomponents has an xml datasource that will do just that. You would create 4 different datasources, set the document and a path. You can event set a relationship between them and it will auto filter for you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Mark Walters
Hey Chris, you're right that onSoundComplete only gets fired when the sound has completely finished playing. The Class you wrote is handling it the way I currently am, which is great ... the only thing I'm noticing is that on some slower machines, when you start each loop onSoundComplete there is

[Flashcoders] convert mail form from HTML to Flash

2005-11-17 Thread Marc Hoffman
I need to convert a currently-working webmail form from html to Flash. I've created Flash webmail forms sending to ASP, but I'm not able to figure it out in this case. Maybe in part because it was built in FrontPage :) The current html page uses this, which works: form method=POST

RE: [Flashcoders] onLoop event for sound

2005-11-17 Thread Tobias Fendel [Die ActionScripter]
oh yes - you are right. i used it in an old project like i explained before. but i also used onSoundComplete to restart the sound. something like that. loopcount = 0; mySound = new Sound(); mySound.attachSound(test); mySound.onSoundComplete = function() { trace( ++loopcount );

Re: [Flashcoders] onLoop event for sound

2005-11-17 Thread Alain Rousseau
doh ! :) I don't know what's wrong with my brain these days, it's working in strange ways of course use onSoundComplete ! I actually had another problem in mind ... sorry 'bout that ! A Tobias Fendel [Die ActionScripter] wrote: hi, imho a better solution is to use the

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread Mike West
Works here.. Safari and Fire Fox Mac OS 10.4.3 Screen resolution 1920x1200 The browser window is full-screen and the swf appears to go edge to edge... the graphics do not scale though (not sure if that's what your asking), the right side of the screen is white. -Mike On Nov 17, 2005, at

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread Chad Mefferd
WORKING On Nov 17, 2005, at 1:41 PM, af a wrote: Hello, Could you tell me please if it works on Mac http://www.fastvideho.com/pop7.html when clicking on the yellow box to have fullscreen page. (by the way, do you know if fscommand works on Mac ?) Thanks a lot Tony

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread Matthew Gaiser
Yes it works for me in Tiger/Safari Best Regards, Matthew On Nov 17, 2005, at 2:41 PM, af a wrote: Hello, Could you tell me please if it works on Mac http://www.fastvideho.com/pop7.html when clicking on the yellow box to have fullscreen page. (by the way, do you know

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread Matthew Gaiser
The Quitter button isn't working however... Best Regards, Matthew On Nov 17, 2005, at 2:41 PM, af a wrote: Hello, Could you tell me please if it works on Mac http://www.fastvideho.com/pop7.html when clicking on the yellow box to have fullscreen page. (by the way, do

[Flashcoders] Tool Tip with Flash MX 2004 DataGrid

2005-11-17 Thread Leif Wells
I posted this on my blog (http://www.leifwells.com), but I thought I'd try giving the Flashcoders list a shot at this, too. We are trying to get a tool tip to work with a DataGrid component. And failing. The project we are doing is a rather complex AS 2.0 project, so I created this rather simple

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread erixtekila
Could you tell me please if it works on Mac Yep it does. --- erixtekila http://blog.v-i-a.net/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Sound object issue / OnEnterFrameBeacon?

2005-11-17 Thread Flash Coder
Hi, I have run into a strange problem (developing in Flash Studio 8). I have a class that starts streaming a mp3 file in a Sound object. When I do this alone, it works perfectly. But as soon as I also animate something with the Tween class (using OnEnterFrameBeacon), the mp3 stops playing at

Re: [Flashcoders] Tool Tip with Flash MX 2004 DataGrid

2005-11-17 Thread JesterXL
Not sure exactly how Flex handles it, but for all mouseDowns and mouseUps (yes, that's all), they use a movieclip on _root, and use it's droptarget to know what you clicked on. As such, you could create a class to get info from mx.events.LowLevelEvents (not sure if exactly the same in Flash,

Re: [Flashcoders] Math.random()

2005-11-17 Thread Jon Bradley
On Nov 17, 2005, at 2:56 PM, Ron Wheeler wrote: If the game is for money and the client side code can be hacked for profit, you need to move more of the game engine onto the server and only present results and table state on the client side. Dice rolls can not be generated by the client in that

Re: [Flashcoders] Tool Tip with Flash MX 2004 DataGrid

2005-11-17 Thread Igor Ageyev
Hello Leif, LW We are trying to get a tool tip to work with a DataGrid component. And failing. You can try ageyev.tools.ToolTip class from my project MXML2UI (http://ageyev.ru/mxml2ui). But it works with the whole component DataGrid, instead of with its separate elements. Soon I should let

Re: [Flashcoders] Math.random()

2005-11-17 Thread Ron Wheeler
You would not worry about someone being able to hack the client and modify the roll generation to allow the player to choose the desired roll and then send it (or the play result - move) to the server or just substitute the client with a client that lets rolls be specified? I am less worried

Re: [Flashcoders] AS2, compiler errors...

2005-11-17 Thread Tim Stickland
Absolutely, but I'd never have been trapped as I didn't understand overriding properly ;) I wasn't aware that when a subclass overrides a superclass method it leaves the superclass method intact. Is that correct? On 11/17/05, Ian Thomas [EMAIL PROTECTED] wrote: Not just more readable -

Re: [Flashcoders] Working in macintosh browser ?

2005-11-17 Thread pixelassembly
Ah, the pop-up window Ummm, everyone seems to want to say that it works but it doesn't REALLY work! (well not enough to have smiling clients) ok, it opens a window - but you could probably assume that already I'm assuming that you want it to work the way it does on PC IE ? (even this

Re: [Flashcoders] How to pass init param from movieclip to its associating AS2 class

2005-11-17 Thread Boon Chew
Thanks David for the tip. I would like the artist to set certain values, so ideally, a method that doesn't require them to mess with the script window is the best. Would it be ok if I add parameters to the Component Definition? Behind the scene what is the difference between a

Re: [Flashcoders] Spline 3D Atom Menu thing?

2005-11-17 Thread Moses Gunesch
sorry Jester, I did not see that my mail bounced way back when so i'm sure you found something - here is the old rag I did years ago that fits your description, it is a 3d molecule that shapeshifts when you click on a node. I think it was flash5, this was ages ago.

Re: [Flashcoders] Spline 3D Atom Menu thing?

2005-11-17 Thread JesterXL
Nice! - Original Message - From: Moses Gunesch [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, November 17, 2005 7:00 PM Subject: Re: [Flashcoders] Spline 3D Atom Menu thing? sorry Jester, I did not see that my mail bounced way back when

[Flashcoders] Style sheet does not load - puzzled.

2005-11-17 Thread Miles Thompson
Following examples from livedocs, help and a couple of tutorials, I've tried to load a style sheet into my movie. Nothing radical, the style sheet is named styles.css and is located in the same directory as the .swf. A new TextField.StyleSheet() object has been created. (Actually, all of the

Re: [Flashcoders] Style sheet does not load - puzzled.

2005-11-17 Thread Andy Johnston
I copied that into a test fla and all works fine for me... is your css valid? Heres some simple test rules: p { color: #00; font-family: Arial,Helvetica,sans-serif; font-size: 12px; display: inline; } a:link { color: #FF00FF; text-decoration: underline; } a:hover{ color: #99;

Re: [Flashcoders] Style sheet does not load - puzzled.

2005-11-17 Thread Mick Gow
If you have your SWF's in different directories than your HTML pages you may need to check/add the BASE attrib in your object/embed. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_04157 Trace your CSS and check it's actually being loaded. On 11/18/05, Miles Thompson [EMAIL

Re: [Flashcoders] Style sheet does not load - SOLVED

2005-11-17 Thread Miles Thompson
Andy, Thank you - cut and pasted your styles into styles.css, and it worked. Hmmm. Looked VERY CAREFULLY at my definitions. Sure enough, in one style definition I had a ( instead of {. They look v. different here, but that pathetic parenthetic error looked like a bodacious brace in

Re: [Flashcoders] Style sheet does not load - SOLVED

2005-11-17 Thread Andy Johnston
No worries miles, whenever im stuck on a bug I just can't figure it's usually something easily overlooked... Fresh eyes minds can make all the difference, helps to come at the blighters from a different perspective. Andy, Thank you - cut and pasted your styles into styles.css, and it worked.

[Flashcoders] Apple using Flash for their new retail store reservation system

2005-11-17 Thread Carlos Saenz
Check it out! http://genius.apple.com/customer/?store=R050 Any news behind the developers? -Carlos- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Apple using Flash for their new retail store reservation system

2005-11-17 Thread Andy Johnston
mmm flex Check it out! http://genius.apple.com/customer/?store=R050 Any news behind the developers? -Carlos- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Apple using Flash for their new retailstore reservation system

2005-11-17 Thread Hindman, Jeff
Silly app ... doesn't resize. --Jake -Original Message- From: Andy Johnston [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 6:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Apple using Flash for their new retailstore reservation system mmm flex Check it

Re: [Flashcoders] Apple using Flash for their newretailstore reservation system

2005-11-17 Thread JesterXL
My first thought too. - Original Message - From: Hindman, Jeff [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, November 17, 2005 9:50 PM Subject: RE: [Flashcoders] Apple using Flash for their newretailstore reservation system Silly app

Re: [Flashcoders] Apple using Flash for their newretailstore reservation system

2005-11-17 Thread Mick Gow
and did it really NEED to be done in flash? I guess why not but also, why ;) On 11/18/05, Wade Arnold [EMAIL PROTECTED] wrote: It lacks the apple touch. It looks like the programmers got their hands on Illustrator and Photoshop and forgot to invite the designers. Still good to see apple

Re: [Flashcoders] Apple using Flash for their new retailstore reservation system

2005-11-17 Thread Gerry Creighton
Probably doesn't need to since it looks like a kiosk app for the Genius Bar at The Grove in the LA area. So it's probably built to be run on a widescreen imac and not delivered on the web. Look at the source code of the html page. Gerry On Nov 17, 2005, at 9:50 PM, Hindman, Jeff wrote:

Re: [Flashcoders] Apple using Flash for their new retailstore reservation system

2005-11-17 Thread eric dolecki
you can get to the apps from the retail pages on apple.com... On 11/17/05, Gerry Creighton [EMAIL PROTECTED] wrote: Probably doesn't need to since it looks like a kiosk app for the Genius Bar at The Grove in the LA area. So it's probably built to be run on a widescreen imac and not delivered

Re: [Flashcoders] Tabbing inside AS2 UIComponent

2005-11-17 Thread Manuel Saint-Victor
If you're having the problem that I think it is it is mentioned in Jesse's component tutorial http://dev.jessewarden.com/captivate/flashcomponents/- I think you might need to disable tabbing to the external component (containing). Mani On 11/17/05, Christian Giordano [EMAIL PROTECTED] wrote:

Re: [Flashcoders] How to pass init param from movieclip to its associated AS2 class

2005-11-17 Thread Boon Chew
Thank you Muzak. I remember reading it, I will read the whole thing again so it sticks. Is there any reason why we shouldn't do this to every class that we associate an AS2.0 class with? That is, is there any downside if I just associate all my mc with the AS2.0 class in the Component