[Flashcoders] Can you embed .mp4 files in timeline?

2008-09-24 Thread Matt Ganz
Hey, Just trying one more time Using Flash CS3 and publishing to flash player 9, can you import and embed .mp4 files in the flash timeline? I can't. I can link to it via an flvplayback component. Thanks, Matt ___ Flashcoders mailing list Flashcode

[Flashcoders] Can you import .mp4 files into the flash ide?

2008-09-22 Thread Matt Ganz
hi. i'm working on a video project that needs lots of invisible hotspots and rollover effects. so i'm forced to embed the video in the timeline to make that possible. i know it's not recommended but it will be played on a CD so i'm hoping that will minimize playback problems. the problem i'm hav

Re: [Flashcoders] missing method

2007-01-03 Thread Matt Ganz
thanks for lending a hand. very much appreciated. -- matt. On 1/2/07, Yehia Shouman <[EMAIL PROTECTED]> wrote: Does your Polygon class has a constuctor? On 1/3/07, Omar Fouad <[EMAIL PROTECTED]> wrote: > > u should set the class from static to dynamic in order to get acess

Re: [Flashcoders] missing method

2007-01-02 Thread Matt Ganz
unfortunately, that didn't solve the problem. i can access other methods in the class and even add new trace statements (to ensure that the IDE is looking at the right version of the class and not some old CVS'd version). bizarre, really. On 1/2/07, Omar Fouad <[EMAIL PROTECTED]> wrote: u sho

[Flashcoders] missing method

2007-01-02 Thread Matt Ganz
hi. i'm having a strange problem. i'm getting compile-time errors when i try to access a public function in a class. i can successfully access other public methods in this class from the same place in the codebase (verified thru traces), but not this one. i don't know if it's a weird CVS error o

Re: [Flashcoders] calculating dates based on a starting date.

2006-04-27 Thread matt ganz
very nice. thank you very much. - Original Message - From: "Merrill, Jason" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, April 27, 2006 4:27 PM Subject: RE: [Flashcoders] calculating dates based on a starting date. Here is a SuperDate class I wrote if it's of use

Re: [Flashcoders] calculating dates based on a starting date.

2006-04-27 Thread matt ganz
age.getYear(), age.getMonth(), age.getDate(), age.getHour(), age.getSecond() If you need exact hours, just add them to the method. See docs for creating a Date object. Anyone - let me know if you want the AgeCounter component itself, I'll post it on the blog. Cheers, Karina -O

[Flashcoders] calculating dates based on a starting date.

2006-04-27 Thread matt ganz
hi. i'm building a scheduler app for people who need infusions over a 1 year period. a user selects the following info to begin: 1. a starting date for first infusion - day, month, and year 2. number of infusions - 1-4 3. frequency of infusions - every 1, 2, 3, or 4 weeks. i have to come up w

[Flashcoders] best way to correlate dates with DateChooser

2006-04-26 Thread matt ganz
hi. - i'm building a scheduler app where a user picks a starting day, month, and year for an infusion. - then they can choose how frequently they want an infusion, i.e. every week, every two weeks, etc.. - then i calculate every day for an infusion for the next year and throw all these dates

[Flashcoders] creating a schedule based on starting date

2006-04-25 Thread matt ganz
hi. i'm building a scheduler application. a user chooses the first date of their infusion and then how many they want and how frequently. a user can choose between 1-3 infusions every 1, 2, 3, or 4 weeks. these values are stored in comboboxes where the user makes their selection. what i wan

[Flashcoders] DateChooser selected date.

2006-04-24 Thread matt ganz
hey. don't know if the DateChooser component for flash 8 was updated or not but i'm trying to highlight a few days in each month. i can see the 'selectedDate' property does this but it doesn't appear to be able to for more than one date in each month. anyone know of a workaround? thanks. -- m

Re: [Flashcoders] Sound.stop(linkage) problem

2006-03-02 Thread Matt Ganz
have you created a sound object for every sound in your file? i believe the minute you want to manipulate sounds independent from one another you have to create a sound object for each sound in your movie. otherwise, it'll affect all sounds...as that 'sounds' what is happening to you. On 3/2/06,

Re: [Flashcoders] working with multiple sound objects.

2006-02-27 Thread Matt Ganz
h for your help. matt. On 2/27/06, Helen Triolo <[EMAIL PROTECTED]> wrote: > Matt Ganz wrote: > > >the reference is named room1Music but the actualy movie clip instance > >name is _level0.room1_mc. i've been using the reference before the > >sound methods, i.e. room

Re: [Flashcoders] working with multiple sound objects.

2006-02-27 Thread Matt Ganz
igure out the best way to control those. thank you for your help. matt. On 2/27/06, Helen Triolo <[EMAIL PROTECTED]> wrote: > You can. But are your sound instances named room1Music or room1? Does > it make a difference if you correct that? > > Helen > > Matt Ganz wrote: >

Re: [Flashcoders] working with multiple sound objects.

2006-02-27 Thread Matt Ganz
no. i thought you could just pass in a reference to the sound constructor with the instance name of the movie clip that houses the mp3 file. On 2/27/06, eric dolecki <[EMAIL PROTECTED]> wrote: > I assume you forgot your attachSound code in your email? > > On 2/27/06, Matt Ganz &l

[Flashcoders] working with multiple sound objects.

2006-02-27 Thread Matt Ganz
hi. i have 3 sound objects that i'm working with in my app. i have them all load when the site launches but i stop() them all at first because i don't want them all to start playing. here's the code: var room1Music:Sound = new Sound( _level0.room1_mc ); room1.setVolume( 80 ); room1.stop(); var ro

Re: [Flashcoders] flv video encoding for flash 7

2006-02-15 Thread Matt Ganz
my recommendation would also be to use sorenson squeeze. here's the equation i use (taken from a video tutorial on macromedia.com) to calculate data rate: ( ( movieWidth x movieHeight x fps ) / 1000 ) / 2.5 check these two links for more: http://www.macromedia.com/devnet/flash/articles/video_guid

[Flashcoders] using MCL to keep track of total bytes loaded.

2006-02-04 Thread Matt Ganz
hi. i have a question on using the MovieClipLoader class to load an array of swf files. i just want to add the loadedBytes of each swf to another variable so i can constantly compare the loaded to the total of all swf files. in the end, i need to figure out the percentage of the total swfs combine

Re: [Flashcoders] is delegate the answer?

2006-01-08 Thread matt ganz
tener(event:String, handler):Void As for using Delegate, I don't think that's the issue here, but then again, I might be missing your question. hth, John On 1/7/06, Matt Ganz <[EMAIL PROTECTED]> wrote: hi. i'm having problems referencing a listener that is attached to my

[Flashcoders] is delegate the answer?

2006-01-07 Thread Matt Ganz
hi. i'm having problems referencing a listener that is attached to my media display component. i believe the answer lies in my using delegate. when my video plays thru, i can successfully remove my listener a la: var completeListener = new Object(); completeListener.complete = function( eventObj

Re: [Flashcoders] Flash Remoting and CF

2005-12-21 Thread Matt Ganz
it's what i did. within flash, i'd create either a generic object or an associative array and i'd pass that entire object in my remoting call. the method in my cfc is set up to accept this arg and the first thing that it does is loop over it and passes those values along to my database. and going

Re: [Flashcoders] JM Events Calendar v1.2.0

2005-12-09 Thread Matt Ganz
hi ryan. i have an events calendar component i built in as2 that is xml-driven. i haven't done any fancy skinning or the like but i definitely can hook you up with the script. email me offlist. matt. On 12/9/05, Ryan Mayer <[EMAIL PROTECTED]> wrote: > Just double checking if anyone knows of a c

Re: [Flashcoders] the bitmap shift bug

2005-12-02 Thread Matt Ganz
me? thanks for your help. -- matt. On 12/1/05, Eric E. Dolecki <[EMAIL PROTECTED]> wrote: > pixelshift has been fixed in fp8, but you are publishing to fp7 right? > > edolecki > > On Dec 1, 2005, at 6:29 PM, Matt Ganz wrote: > > > point taken. i'll trace out

Re: [Flashcoders] the bitmap shift bug

2005-12-01 Thread Matt Ganz
sing the flvs. i've tried recompressing with a higher data rate but that hasn't been a consistent fix. thanks for your help. -- matt. On 12/1/05, David Rorex <[EMAIL PROTECTED]> wrote: > On 12/1/05, Matt Ganz <[EMAIL PROTECTED]> wrote: > > just wondering if the known

[Flashcoders] the bitmap shift bug

2005-12-01 Thread Matt Ganz
just wondering if the known bug that shifts bitmaps 1px (http://www.misuseit.com/bitmapbug/) could affect an flv that has a bitmap composited in it. i'm experiencing 1px shifts (to the right) that do not appear to be specific to screen resolution, browser, or platform. my flv is called externally

[Flashcoders] problem positioning media display

2005-11-30 Thread Matt Ganz
hi. i have a media display component that i'm constantly moving around the stage and loading new flvs into. i do this via: function setMediaDisplayPos( x:Number, y:Number ):Void { _level0..mediaDisplay.move( x, y ); } on my machine, FLV4 is off by a pixel. but on other machines, FLV4 is

[Flashcoders] Re: external flv stuttering even though completely loaded.

2005-11-29 Thread Matt Ganz
this. could that be my problem? and why might that happen with my very first flv? thanks. -- matt. On 11/29/05, Matt Ganz <[EMAIL PROTECTED]> wrote: > hi. > > i'm loading an external flv into a media display component behind the > scenes. the dimensions are 360x386 and the

[Flashcoders] external flv stuttering even though completely loaded.

2005-11-29 Thread Matt Ganz
hi. i'm loading an external flv into a media display component behind the scenes. the dimensions are 360x386 and the flv weighs 908kb. the problem is that the when i tell it to play, it still stutters for the first frame (on a high-speed connection). before the user even gets to this part, the fl

Re: [Flashcoders] reading 'loadedBytes' from MovieClipLoader onLoadProgress

2005-11-22 Thread Matt Ganz
ace("Overall percentage: "+Math.round(pcnt * 100)+"%"); > } > mcl.addListener(listener); > mcl.loadClip(url1, target1); > mcl.loadClip(url2, target2); > mcl.loadClip(url3, target3); > > > -David R > > On 11/21/05, Matt Ganz <[EMAIL PROTECTED]> w

Re: [Flashcoders] reading 'loadedBytes' from MovieClipLoader onLoadProgress

2005-11-21 Thread Matt Ganz
// the trace value is 2819958 i just can't seem to get this right. is there a better way i can approach this? thanks again for your help. -- matt. On 11/18/05, David Rorex <[EMAIL PROTECTED]> wrote: > On 11/18/05, Matt Ganz <[EMAIL PROTECTED]> wrote: > > hi. > > >

[Flashcoders] reading 'loadedBytes' from MovieClipLoader onLoadProgress

2005-11-18 Thread Matt Ganz
hi. i'm using the MovieClipLoader class to load a few swfs that are defined in an array a la: var totalWeight = 41079759; // total weight in bytes (3.9MB) var currentWeight = 0; var mainArray:Array = new Array( { path: "movie1.swf", id: "movie1_mc", depth: 1 },

Re: [Flashcoders] tracing every 10% of loading files

2005-11-17 Thread Matt Ganz
ge = Math.floor(percentage/10); > } > > > Not the nicest solution but at least it works. > > /Andreas > > > Adrian Lynch wrote: > > How about... > > > > if ( percentage % 10 == 0 ) { > > trace("Another 10% loaded"); > > } >

[Flashcoders] tracing every 10% of loading files

2005-11-16 Thread Matt Ganz
hi. hopefully this question isn't too newbie. i'm loading a bunch of external swfs and i am trying to determine what percentage of 'totalWeight' is 'currentWeight'. here's my equation: var percentage = (currentWeight/totalWeight) * 100; i believe that's fine. but my question is how can i expres

Re: [Flashcoders] sorensen squeeze shaving off 1 pixel

2005-11-15 Thread Matt Ganz
odd+number+of+pixels&hl=en&client=safari On 11/15/05, Kris Hadlock <[EMAIL PROTECTED]> wrote: > I've never had the issue, but what if you try publishing it as 166 x 370? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ma

[Flashcoders] sorensen squeeze shaving off 1 pixel

2005-11-15 Thread Matt Ganz
hi. has anyone had any problems with sorensen squeeze shaving off 1 pixel from their exported flv? i set the dimensions to 166 x 369 and it keeps exporting to 166 x 368...i'm even testing by checking and unchecking 'maintain aspect ratio'. thanks. -- matt. ___

[Flashcoders] media display v. netstream and video object

2005-11-04 Thread Matt Ganz
hi. quick question. will an external flv begin playing faster thru a media display component or using the netstream with a video object? thanks. -- matt. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman

[Flashcoders] chaining flvs to appear seamless.

2005-11-03 Thread Matt Ganz
hi. i have a website with a video host who walks you thru all the sections of the site. currently, we are using 50 external flv files. each one weighs around 1mb. every time the video host moves, we switch to another flv. why? because the background changes and we need to throw the new one in.

[Flashcoders] Fwd: casting to a boolean -- SOLVED.

2005-10-31 Thread Matt Ganz
apparently the problem was with the encoding of the text file. it was originally encoded as Western Roman and as soon as i encoded it as utf-8 it worked just fine. -- Forwarded message -- From: Matt Ganz <[EMAIL PROTECTED]> Date: Oct 31, 2005 4:23 PM Subject: casting to a b

[Flashcoders] casting to a boolean

2005-10-31 Thread Matt Ganz
hi. i had a similar problem casting a string to a boolean last week but someone showed me the correct way to do it. unfortunately, it's not working in my latest exercise. when i trace out the value i always get "false" even when i change it to "true". what happened to my conditional? ( i'm publish

Re: [Flashcoders] cast string to a boolean value

2005-10-28 Thread Matt Ganz
both methods work nicely. thank you. On 10/28/05, Ian Thomas <[EMAIL PROTECTED]> wrote: > What's wrong with the following? > > var my_bool:Boolean=(flashvar_bool=="true"); > > Ian > > On 10/28/05, Steve Mathews <[EMAIL PROTECTED]> wrote: > > > > Try: > > var my_bool:Boolean = flashvar_bool=="fals

[Flashcoders] cast string to a boolean value

2005-10-28 Thread Matt Ganz
hi. i'm receiving FlashVars in my object and embed code and the values are either "true" or "false". i assume they're brought into flash as strings and i need them as booleans. it is my understanding that boolean() won't do what i want because all it does is evaluate the expression inside the par

[Flashcoders] Re: am i approaching this problem correctly?

2005-10-27 Thread Matt Ganz
movements using onMouseMove when the focus is on the flash movie? thanks. -- matt. On 10/27/05, Matt Ganz <[EMAIL PROTECTED]> wrote: > hi. > > i want to ask people's opinions about an issue and see if my solution > is on target. > > i have a navigation.swf that sits i

[Flashcoders] am i approaching this problem correctly?

2005-10-27 Thread Matt Ganz
hi. i want to ask people's opinions about an issue and see if my solution is on target. i have a navigation.swf that sits in a frame on an html page. on click of nav button, a getURL loads another swf into the frame below. ugly, i know. but i don't have the option to recode the piece at this poin

Re: [Flashcoders] listening for all button events

2005-10-26 Thread Matt Ganz
that's exactly what i had in mind but couldn't quite work out. i didn't feel good about using _root, even though it worked, i wanted to create a generic listener for all mouse actions. thank you both for helping. matt. On 10/26/05, Weyert de Boer <[EMAIL PROTECTED]> wro

Re: [Flashcoders] tracking inactivity

2005-10-26 Thread Matt Ganz
} } On 10/26/05, Alistair Miller <[EMAIL PROTECTED]> wrote: > You are setting a value here rather than comparing > > if (this.time=this.stillFor) { > > change to > > if (this.time >=this.stillFor) { > > Ali > > -Original Message- > From: Matt Ganz

[Flashcoders] tracking inactivity

2005-10-26 Thread Matt Ganz
hi. i'm trying to record when there's been inactivity in my site. i got this code from the archive but don't understand where it's going wrong. for example, i set it to trace out if the mouse has been inactive for 10 seconds, but instead i get this message right away. does anyone see anything out

Re: [Flashcoders] listening for all button events

2005-10-26 Thread Matt Ganz
s? On 10/26/05, JesterXL <[EMAIL PROTECTED]> wrote: > Mouse.onMouseDown/onMouseUp already does this. If you are using the v2 > component framework, or if you are not, you can see how they are doing it > via mx.events.LowLevelEvents. > > - Original Message

[Flashcoders] listening for all button events

2005-10-26 Thread Matt Ganz
hi. is there any way to have one listener listen for all button events. you know, like you can have with "Key". or do i have to give all my buttons instance names and use addListener on each instance? thanks. matt. ___ Flashcoders mailing list Flashcod

Re: [Flashcoders] Passing param to cuePoint object

2005-10-21 Thread Matt Ganz
you might want to keep everything in your xml document in seconds, i.e. 1:15 would be 75 seconds. you would then have an onEnterFrame or setInterval that would continuously read the net stream time and compare it to your cue point time. On 10/21/05, Josh Gormley <[EMAIL PROTECTED]> wrote: > Hi Ste

Re: [Flashcoders] TransitionManager documentation?

2005-10-21 Thread Matt Ganz
there's definitely a derth of documentation re: Transition and Tween classes. the tutorial you point to is the comprehensive source...but it doesn't cover everything. i have not seen documentation for the addTransition() method of the mx.transitions.TransitionManager class. Even the comments for t