Re: [Flashcoders] computeSpectrum not working with mp3 from different server.
Does it matter that I can still hear the sound? It seems weird that I can hear the song playing from a different server but not have the ability to render the computeSpectrum. On Nov 30, 2008, at 5:58 PM, Latcho wrote: SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: http://oniricdev.com/carl/modules/audioPlayer.swf cannot access http://setlist.matisyahuworld.com/2008-11-19-09_Dispatch_The_Troops.mp3 . No policy files granted access. at flash.media::SoundMixer$/computeSpectrum() at audioPlayer_fla::MainTimeline/*drawMyShit*() You have to put a crossdomain.xml file on the mp3-server that grants acces to the swf-server domain: http://setlist.matisyahuworld.com/crossdomain.xml [ with xml inside, not html as it renders now] Put it in root of the swf-server or define non-top-level xml location within the swf by Security.loadPolicyFile(urltocrossdomain); Latcho Carl Welch wrote: Hi guys, I just ran into a funky problem with computeSpectrum. it appears that it won't work if the mp3 isn't located on the same server as the swf calling it. Is there a work around for this issue? I tried using this as a solution but it didn't have any effect at all: import flash.media.SoundLoaderContext; var context:SoundLoaderContext = new SoundLoaderContext(); context.checkPolicyFile = true; _sound.load(new URLRequest('http://server/song.mp3'), context); Here is an example of what I have: swf and mp3 on the same server: http://oniricdev.com/carl/modules/audioPlayer_test.swf mp3 from a server other than the one that is hosting my swf: http://oniricdev.com/carl/modules/audioPlayer.swf Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] protecting flv files.....any recommendations?
It's not to do with lack of rules, it's a fact of technology. You are attempting to show someone a video = you are sending them data. With that basic fact in place, there's nothing to stop them copying that data. Even with the best DRM in the world, they could still (potentially) grab a series of screenshots and re-encode. Or even point a camera at the monitor. :-) For the same reason, music DRM will never be enforceable. At the end of the day, the music comes out to a speaker through two wires. Connect them to the input of a recording device, and your DRM is worthless... Ian On Mon, Dec 1, 2008 at 3:27 AM, php_mysql_ as_ dev [EMAIL PROTECTED] wrote: Amazing that so much in life is so regulated - yet on the web - there's no rules whatsoever. But thanks for the info. Important that I found that out to put it mildly...carlos ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] computeSpectrum not working with mp3 from different server.
That is how the cross domain policy for flash runs, and has run since player 7. It affects quite a few other things as well like bitmap data operations and other stuff I don't know off the top of my head. Read up on it. 2008/12/1 Carl Welch [EMAIL PROTECTED] Does it matter that I can still hear the sound? It seems weird that I can hear the song playing from a different server but not have the ability to render the computeSpectrum. On Nov 30, 2008, at 5:58 PM, Latcho wrote: SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: http://oniricdev.com/carl/modules/audioPlayer.swf cannot access http://setlist.matisyahuworld.com/2008-11-19-09_Dispatch_The_Troops.mp3. No policy files granted access. at flash.media::SoundMixer$/computeSpectrum() at audioPlayer_fla::MainTimeline/*drawMyShit*() You have to put a crossdomain.xml file on the mp3-server that grants acces to the swf-server domain: http://setlist.matisyahuworld.com/crossdomain.xml [ with xml inside, not html as it renders now] Put it in root of the swf-server or define non-top-level xml location within the swf by Security.loadPolicyFile(urltocrossdomain); Latcho Carl Welch wrote: Hi guys, I just ran into a funky problem with computeSpectrum. it appears that it won't work if the mp3 isn't located on the same server as the swf calling it. Is there a work around for this issue? I tried using this as a solution but it didn't have any effect at all: import flash.media.SoundLoaderContext; var context:SoundLoaderContext = new SoundLoaderContext(); context.checkPolicyFile = true; _sound.load(new URLRequest('http://server/song.mp3'), context); Here is an example of what I have: swf and mp3 on the same server: http://oniricdev.com/carl/modules/audioPlayer_test.swf mp3 from a server other than the one that is hosting my swf: http://oniricdev.com/carl/modules/audioPlayer.swf Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- The Random Lines My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] computeSpectrum not working with mp3 from different server.
From the moment that the media is used to do something else with then ordinary flash playback , e.g. the media data becomes accessible or is exposed to code, flash keeps itself restricted to the basic playback abilities of that media as long as you don't give explicit rights to the media / code. Am I saying this wright ? Latcho Ashim D'Silva wrote: That is how the cross domain policy for flash runs, and has run since player 7. It affects quite a few other things as well like bitmap data operations and other stuff I don't know off the top of my head. Read up on it. 2008/12/1 Carl Welch [EMAIL PROTECTED] Does it matter that I can still hear the sound? It seems weird that I can hear the song playing from a different server but not have the ability to render the computeSpectrum. On Nov 30, 2008, at 5:58 PM, Latcho wrote: SecurityError: Error #2123: Security sandbox violation: SoundMixer.computeSpectrum: http://oniricdev.com/carl/modules/audioPlayer.swf cannot access http://setlist.matisyahuworld.com/2008-11-19-09_Dispatch_The_Troops.mp3. No policy files granted access. at flash.media::SoundMixer$/computeSpectrum() at audioPlayer_fla::MainTimeline/*drawMyShit*() You have to put a crossdomain.xml file on the mp3-server that grants acces to the swf-server domain: http://setlist.matisyahuworld.com/crossdomain.xml [ with xml inside, not html as it renders now] Put it in root of the swf-server or define non-top-level xml location within the swf by Security.loadPolicyFile(urltocrossdomain); Latcho Carl Welch wrote: Hi guys, I just ran into a funky problem with computeSpectrum. it appears that it won't work if the mp3 isn't located on the same server as the swf calling it. Is there a work around for this issue? I tried using this as a solution but it didn't have any effect at all: import flash.media.SoundLoaderContext; var context:SoundLoaderContext = new SoundLoaderContext(); context.checkPolicyFile = true; _sound.load(new URLRequest('http://server/song.mp3'), context); Here is an example of what I have: swf and mp3 on the same server: http://oniricdev.com/carl/modules/audioPlayer_test.swf mp3 from a server other than the one that is hosting my swf: http://oniricdev.com/carl/modules/audioPlayer.swf Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Carl Welch http://www.carlwelch.com http://www.jointjam.com [EMAIL PROTECTED] 805.403.4819 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] structuring singletons in AS3
Hi list... Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I usually create a singleton on frame 1 of the _root and everything takes off from there. What's the best practice of doing that in AS3, where I have to have a main class that seems to start everything. I can't imagine how a singleton controlling all logic should extend a Sprite class. Is it OK to still instance a singleton on the root in frame 1 even with a document class automatically instancing too? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] structuring singletons in AS3
You could always use a document class and have that suck in a main class kick it off using the document class. On Mon, Dec 1, 2008 at 9:46 AM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I usually create a singleton on frame 1 of the _root and everything takes off from there. What's the best practice of doing that in AS3, where I have to have a main class that seems to start everything. I can't imagine how a singleton controlling all logic should extend a Sprite class. Is it OK to still instance a singleton on the root in frame 1 even with a document class automatically instancing too? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] structuring singletons in AS3
- Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, December 01, 2008 2:46 PM Subject: [Flashcoders] structuring singletons in AS3 Hi list... Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I usually create a singleton on frame 1 of the _root and everything takes off from there. What's the best practice of doing that in AS3, where I have to have a main class that seems to start everything. I can't imagine how a singleton controlling all logic should extend a Sprite class. Is it OK to still instance a singleton on the root in frame 1 even with a document class automatically instancing too? I would say using the document class is to be preferred, but if you're using the timeline then stick with that. A singleton is just that - a single instance of a class. It doesn't matter where you refer to it from ,it's always the same instance. The singleton can extend anything it likes. The only difference between a singleton and a regular class is how it's instantiated - you don't use the constructor. http://en.wikipedia.org/wiki/Singleton_pattern#Actionscript_3.0 Paul Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] structuring singletons in AS3
A Singleton is not necessarily the root of an application. That is, it's not the client. The purpose of a Singleton is to ensure that one and only one instance of that class is ever created. It's main feature is a public static method called getInstance() that returns either that one instance. If it doesn't exist yet, getInstance() will create one first. Here is a link to the code samples that accompany Actionscript 3 Design Patterns from Oreilly. http://examples.oreilly.com/9780596528461/AS_30_DP_Code_Samples.zip Look in chapter 3 for examples of Singletons. Notice the private class embedded into the class which must be called for instantiation. This prevents instances of the singleton from being created by other parts of the app. You can still write all of your code in frame 1 but in as3, it's virtually the same thing as entering the name of a Document class in the main properties panel. On Mon, Dec 1, 2008 at 9:46 AM, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... Slowly but surely, I'm moving from AS2 to AS3. In my AS2 projects, I usually create a singleton on frame 1 of the _root and everything takes off from there. What's the best practice of doing that in AS3, where I have to have a main class that seems to start everything. I can't imagine how a singleton controlling all logic should extend a Sprite class. Is it OK to still instance a singleton on the root in frame 1 even with a document class automatically instancing too? Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] adding physics to pivot object around a point
hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] H264 encoding
Hi All, I am working on video chat application, but i want to encode the stream to H.264. Can any one suggest me how i can do this, or what is the possible way out. i have read the articles abt Flash media encoder but seems like that is not suitable for server side encoding , I am lost ... Help me out! Thanks, Deepak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: adding physics to pivot object around a point
So I guess what i'm trying to get at is that I'd like to apply gravity and momentum to an objects angle rather than directly to their y axis anyone have any ideas? thanks a -- hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] adding physics to pivot object around a point
http://box2dflash.sourceforge.net/ Good stuff. Dave On 12/1/08, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: adding physics to pivot object around a point
Well, I know you could do something like this very easily using a physics engine like Box2D (http://box2dflash.sourceforge.net/), but the very easily part only kicks in after you spend several hours converting your entire application to using a third party physics engine. If you're just trying to do some more basic faux-gravity rotation, there's probably simpler ways of doing it. If I were gonna fake it and I had a simple shape like a rectangle to work with, I might esimate what portion of the sprite was to the left and the right of my cursor, use that to apply a little force to some internal _angularVelocity variable, and then combine that with the MatrixTransfrmer.rotateAroundInternalPoint method to rotate my object around the mouse cursor. But I can't promise you that'll necessarily look any good, though. That's just a guess. --T On Mon, Dec 1, 2008 at 10:12 AM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: So I guess what i'm trying to get at is that I'd like to apply gravity and momentum to an objects angle rather than directly to their y axis anyone have any ideas? thanks a -- hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: adding physics to pivot object around a point
it's also very extensive for what i want to do - mine is for a banner to look nice a On Mon, Dec 1, 2008 at 6:25 PM, Todd Kerpelman [EMAIL PROTECTED] wrote: Well, I know you could do something like this very easily using a physics engine like Box2D (http://box2dflash.sourceforge.net/), but the very easily part only kicks in after you spend several hours converting your entire application to using a third party physics engine. If you're just trying to do some more basic faux-gravity rotation, there's probably simpler ways of doing it. If I were gonna fake it and I had a simple shape like a rectangle to work with, I might esimate what portion of the sprite was to the left and the right of my cursor, use that to apply a little force to some internal _angularVelocity variable, and then combine that with the MatrixTransfrmer.rotateAroundInternalPoint method to rotate my object around the mouse cursor. But I can't promise you that'll necessarily look any good, though. That's just a guess. --T On Mon, Dec 1, 2008 at 10:12 AM, allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] wrote: So I guess what i'm trying to get at is that I'd like to apply gravity and momentum to an objects angle rather than directly to their y axis anyone have any ideas? thanks a -- hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] adding physics to pivot object around a point
Hi, Sounds like a pendulum to me - you want to work out the angular velocity, it's probably a good idea to start with something like below, then roughly simulate your gravity / angular velocity enough for it to look nice: http://www.myphysicslab.com/pendulum1.html If that does not work try Googling pendulum and angular velocity. Glen allandt bik-elliott (thefieldcomic.com) wrote: hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] eLearning content starting from XML - best practice
Hi Flashcoders, I’m currently using a product called Unison for creating eLearning. It produces an XML file that contains all info needed for the SCO: attributes at the root level to describe preferences, and child nodes to describe topics and pages. Each of those has its own set of preferences defined in attributes. The main FLA builds the table of contents and displays content using a “procedural” programming approach (using 4 .as files included on a timeline). The XML object is manipulated as an XML object, the info is NOT converted to any other type of AS object. In my opinion, it would make sense to convert all the XML nodes to AS objects. At the top level could be a “Course” whose members mirror the root level attributes of the XML. Further, each Course has Topic instances, and each Topic has Page instances. This seems more manageable to me, but it creates a bunch of objects in memory, rather than just working with one XML object. I don’t have a heck of a lot of experience with this kind of architecture, so I’d like to know your opinions. Thanks, Norm _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] eLearning content starting from XML - best practice
Knowing nothing about Unison and speaking of using XML in projects in general, I find it's easier to just use the XML. The XML has a structure and order. It has simple methods of accessing, filtering and sorting the data. You can write to it and mark completions and such right in the XML object in memory. How much effort can you put into rebuilding those pieces in AS3, and what do you get out of it? I ask myself a similar question every project and I've yet to find a good argument for transforming the XML into Objects/Arrays, though I'm sure there is one depending on the project. Closest I've come is a object wrapping my XML that returns filtered, typed properties (like a configuration file for an app). Jer On Mon, Dec 1, 2008 at 2:02 PM, Norman Cousineau [EMAIL PROTECTED]wrote: Hi Flashcoders, I'm currently using a product called Unison for creating eLearning. It produces an XML file that contains all info needed for the SCO: attributes at the root level to describe preferences, and child nodes to describe topics and pages. Each of those has its own set of preferences defined in attributes. The main FLA builds the table of contents and displays content using a procedural programming approach (using 4 .as files included on a timeline). The XML object is manipulated as an XML object, the info is NOT converted to any other type of AS object. In my opinion, it would make sense to convert all the XML nodes to AS objects. At the top level could be a Course whose members mirror the root level attributes of the XML. Further, each Course has Topic instances, and each Topic has Page instances. This seems more manageable to me, but it creates a bunch of objects in memory, rather than just working with one XML object. I don't have a heck of a lot of experience with this kind of architecture, so I'd like to know your opinions. Thanks, Norm _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] eLearning content starting from XML - best practice
Hi Norm, I always transform them into internal AS objects or arrays. I am still writing my XMLs manually. So can you give me some info about Unison. Is there a trial or something like that? Kind regards Cor van Dooren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Cousineau Sent: maandag 1 december 2008 21:02 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] eLearning content starting from XML - best practice Hi Flashcoders, I'm currently using a product called Unison for creating eLearning. It produces an XML file that contains all info needed for the SCO: attributes at the root level to describe preferences, and child nodes to describe topics and pages. Each of those has its own set of preferences defined in attributes. The main FLA builds the table of contents and displays content using a procedural programming approach (using 4 .as files included on a timeline). The XML object is manipulated as an XML object, the info is NOT converted to any other type of AS object. In my opinion, it would make sense to convert all the XML nodes to AS objects. At the top level could be a Course whose members mirror the root level attributes of the XML. Further, each Course has Topic instances, and each Topic has Page instances. This seems more manageable to me, but it creates a bunch of objects in memory, rather than just working with one XML object. I don't have a heck of a lot of experience with this kind of architecture, so I'd like to know your opinions. Thanks, Norm _ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.12/1822 - Release Date: 1-12-2008 8:23 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] adding physics to pivot object around a point
yes that's definitely close - the only difference that i can see is that i want to be able to move the pivot and have it react accordingly thanks for the help guys a On Mon, Dec 1, 2008 at 7:48 PM, Glen Pike [EMAIL PROTECTED] wrote: Hi, Sounds like a pendulum to me - you want to work out the angular velocity, it's probably a good idea to start with something like below, then roughly simulate your gravity / angular velocity enough for it to look nice: http://www.myphysicslab.com/pendulum1.html If that does not work try Googling pendulum and angular velocity. Glen allandt bik-elliott (thefieldcomic.com) wrote: hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] H264 encoding
Maybe you are able to use thee free x254 encoder? See: http://www.videolan.org/developers/x264.html Hi All, I am working on video chat application, but i want to encode the stream to H.264. Can any one suggest me how i can do this, or what is the possible way out. i have read the articles abt Flash media encoder but seems like that is not suitable for server side encoding , I am lost ... Help me out! Thanks, Deepak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [AS3] VIdeo going fullscreen stops
Im sure it has to be my fault, otherwise no one would be able to put videos online, but once a video goes full screen after a few seconds it stops running. I can see the following items on the flashlog although I do not make references to these items on my application. Warning: Reference to undeclared variable, FullScreen_MC' Warning: 'FullScreen_MC' has no property 'FullScreen_text' Warning: FullScreen_text' has no property 'text' Could it be the flash player 10 debug version? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: [AS3] VIdeo going fullscreen stops
it seems like the bare bones version of the video class I was using was causing the issue. I still get the Warnings which I am guessing is a bug within the flash player. Anyone else sees that? On Mon, Dec 1, 2008 at 3:57 PM, Helmut Granda [EMAIL PROTECTED]wrote: Im sure it has to be my fault, otherwise no one would be able to put videos online, but once a video goes full screen after a few seconds it stops running. I can see the following items on the flashlog although I do not make references to these items on my application. Warning: Reference to undeclared variable, FullScreen_MC' Warning: 'FullScreen_MC' has no property 'FullScreen_text' Warning: FullScreen_text' has no property 'text' Could it be the flash player 10 debug version? -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] adding physics to pivot object around a point
From your description you don't really want to 'move' the pivot really, but have it different everytime the object is picked up; which is simpler.The pendulum should work nicely. 2008/12/2 allandt bik-elliott (thefieldcomic.com) [EMAIL PROTECTED] yes that's definitely close - the only difference that i can see is that i want to be able to move the pivot and have it react accordingly thanks for the help guys a On Mon, Dec 1, 2008 at 7:48 PM, Glen Pike [EMAIL PROTECTED] wrote: Hi, Sounds like a pendulum to me - you want to work out the angular velocity, it's probably a good idea to start with something like below, then roughly simulate your gravity / angular velocity enough for it to look nice: http://www.myphysicslab.com/pendulum1.html If that does not work try Googling pendulum and angular velocity. Glen allandt bik-elliott (thefieldcomic.com) wrote: hi guys could anyone point me in the right direction to do the following, please? I'd like an object that is dragged to correctly respond to being pulled around by pivoting around the point it is dragged by (also applying downward force to represent gravity) for example, if i hold a pencil lightly at one end, it will pivot around the point i am holding and swing until it comes to a rest pointing straight down. does anyone know of any tutorials that go into this kind of thing? thanks for your help a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- The Random Lines My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] H264 encoding
Super will probably do it. http://www.erightsoft.com/S6Kg1.html On Mon, Dec 1, 2008 at 4:33 PM, Weyert de Boer [EMAIL PROTECTED] wrote: Maybe you are able to use thee free x254 encoder? See: http://www.videolan.org/developers/x264.html Hi All, I am working on video chat application, but i want to encode the stream to H.264. Can any one suggest me how i can do this, or what is the possible way out. i have read the articles abt Flash media encoder but seems like that is not suitable for server side encoding , I am lost ... Help me out! Thanks, Deepak ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] The flash job hunt
A bit off topic plus I don't know where to search recent flashcoders archives. I've been living off of freelance work for more than a year now but lately it's getting difficult to drum up contracts. I figured I'd hit up the pros to see how you guys are finding work. Do you have a favorite job listing site? Fond of craigslist? Spending a lot on advertising? I really need to get more work on a steady basis. Thanks for any input. -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] The flash job hunt
you should contact agencies... those who are in online advertisement for bigger companies... these guys always have to few people to do all the work. try to get on their freelancer list and work hard - so they can see you can do their work in a short time then it should not be a problem to get work on a regular basis... but do not stick with only one company. instead of show up at maybe three... Joel Stransky schrieb: A bit off topic plus I don't know where to search recent flashcoders archives. I've been living off of freelance work for more than a year now but lately it's getting difficult to drum up contracts. I figured I'd hit up the pros to see how you guys are finding work. Do you have a favorite job listing site? Fond of craigslist? Spending a lot on advertising? I really need to get more work on a steady basis. Thanks for any input. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] The flash job hunt
Yeah I'm already compiling a list of local agencies. I had a ton of connections in my last city but I'm new out here in D.C. Just wondering what other avenues there might be. On Mon, Dec 1, 2008 at 9:46 PM, dr.ache [EMAIL PROTECTED] wrote: you should contact agencies... those who are in online advertisement for bigger companies... these guys always have to few people to do all the work. try to get on their freelancer list and work hard - so they can see you can do their work in a short time then it should not be a problem to get work on a regular basis... but do not stick with only one company. instead of show up at maybe three... Joel Stransky schrieb: A bit off topic plus I don't know where to search recent flashcoders archives. I've been living off of freelance work for more than a year now but lately it's getting difficult to drum up contracts. I figured I'd hit up the pros to see how you guys are finding work. Do you have a favorite job listing site? Fond of craigslist? Spending a lot on advertising? I really need to get more work on a steady basis. Thanks for any input. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] hover event for links in HTML textfields - possible?
Hello List, Is there something like a hover event for links in HTML textfields? For example, imagine an HTML textfield which displays the poem Jabberwocky. If the user hovers over any of Lewis Carroll's nonsense words, a definition appears in something like a tool-tip. Is such a thing possible? Cheers, CB. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders