[Flashcoders] c# . net and Flash
Hey All, I'm trying to do the simplest of thing and not having success. I'm trying to embed a .swf into a .net web page using c#. I've searched Google, and it might be the terms I'm searching on, but I can't seem to find anything. Some specifics, I'm creating an animated header graphic using Flash cs4 and as3.0. I'm trying to embed the .swf into a .master page. Thanks for any help. Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] c# . net and Flash
Thanks, I tired the copy and paste way, but it did not work (might have been me). I'll look up the SWFObject. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike Sent: Wednesday, April 14, 2010 8:48 AM To: Flash Coders List Subject: Re: [Flashcoders] c# . net and Flash On 14/04/2010 13:37, Lehr, Ross (N-SGIS) wrote: Hey All, I'm trying to do the simplest of thing and not having success. I'm trying to embed a .swf into a .net web page using c#. I've searched Google, and it might be the terms I'm searching on, but I can't seem to find anything. Some specifics, I'm creating an animated header graphic using Flash cs4 and as3.0. I'm trying to embed the .swf into a .master page. Thanks for any help. Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders By the look of it, your master is just an HTML template page? Simplest way - get Flash to publish an HTML file for you, then copy the code from that. Most elegant way - google for SWFObject and use one of their examples to put the HTML and JavaScript into your master page. HTH Glen ___ 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] finding x of sprite
In the code example below it looks like you set the x,y of the rectangle that is IN the sprite to 15,337. The sprite default position of the sprite is 0,0 Sprite.x = 0; Sprite.rectangle.x = 15; -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Thursday, February 25, 2010 7:58 AM To: Flash Coders List Subject: RE: [Flashcoders] finding x of sprite wow - this is something I am ging to have to wrapped my head around I set the x,y of the sprite at creation to: 15, 337 (with a w,h of 646,207) BUT the x/y traces as 0,0 if I do: spret.x = 15; it moves it 15 as related to the original 15... so it is REALLY at 30 on the stage AND then when I move it 15 (which should really be 30) it traces to 15 It just occired to me that maybe I should create it at 0,0 and then move it to where I want it to be From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor [c...@chello.nl] Sent: Thursday, February 25, 2010 7:38 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] finding x of sprite Your sprite position is 0 and IN there, there is the rectangle at 15 px. trace(mSprite.width); // //set mSprite's x mSprite.x = 15; -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: donderdag 25 februari 2010 13:29 To: Flash Coders List Subject: [Flashcoders] finding x of sprite given the following: var msprite:Sprite = new Sprite(); mSprite.graphics.beginFill(0x00,.1); mSprite.graphics.drawRect(15,337,646,207); mSprite.graphics.endFill(); addChild(mSprite); trace(mSprite.x = +mSprite.x); I would think that I should be tracing mSprite.x = 15 instead I get mSprite = 0 Anyone know why? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.733 / Virus Database: 271.1.1/2707 - Release Date: 02/24/10 08:34:00 ___ 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
[Flashcoders] Exporting a movie file
I know you can export a frame of a movie clip to an image, but can flash export a movie clip to a video file (.mov)? Thanks Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Problem with poping up a window
I'm working with flash 8 and AS2. I'm loading text from a XML file If I load a href=javascript:openPop('pop.html');open pop/a in a textbox I can access a JavaScript function called openPop() in the HTML code of the page that loads the. Swf If I load the same code in a TextArea component, the a href no longer calls the javascript in the .html page. Anyone know why? I cannot find an explanation anywhere. Let me know if you need more details. Thanks, Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Best way to access my main class?
This brings up a question I had about events. Is there a way to send an event all the way to the document class, no matter where it's been dispatched from? For instance, I have a document class that creates a menu class, which creates several icon button classes. I want the document class to be able to receive the event dispatched from the icon button. Currently, the only way I know how to do it is have the icon button send it to the menu and then the menu send it to the document. So, my question is, can the document class receive an event directly sent from the icon button? Thanks, Ross -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, February 05, 2009 1:03 PM To: Flash Coders List Subject: RE: [Flashcoders] Best way to access my main class? *Option 3:* I create a custom event, dispatch that event, and create a listener in MyGame rather than call a function directly. I'm guessing this is the best way to go theoretically, and will allow me to reuse my BouncingBall object in other applications, but it's a lot of extra code, and I constantly worry about not property cleaning up event listeners. Hands down, your option 3 is what you should do. So what if it's some extra code? It's the right way to accomplish this. Your object should not target and call methods in other classes outside of it, that's extremely tight coupling, which is bad. So have your bouncing ball sprite dispatch a custom event, have the other class listen for that same custom event and do whatever logic you want, like call another method. It's not messy if you keep your code clean. It just takes practice of doing this a lot before you realize an architecture emerges in your coding you are familiar with. I think its even messier to do option 1 or 2, if that makes you feel any better. Jason Merrill Bank of America Instructional Technology Media · Learning Performance Solutions LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. ___ 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] Custom eventListener
Thanks all. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Muzak Sent: Friday, December 19, 2008 12:38 AM To: Flash Coders List Subject: Re: [Flashcoders] Custom eventListener You might wanna read the docs for some basics on Events in AS3: http://livedocs.adobe.com/flash/9.0/main/0138.html http://livedocs.adobe.com/flash/9.0/main/0139.html When writing cusom events, you can usually ommit the bubbles and cancellable arguments, as those are false by default. And you should always implement a clone() method: quote Event class utility methods There are two utility methods in the Event class. The clone() method allows you to create copies of an event object. The toString() method allows you to generate a string representation of the properties of an event object along with their values. Both of these methods are used internally by the event model system, but are exposed to developers for general use. For advanced developers creating subclasses of the Event class, you must override and implement versions of both utility methods to ensure that the event subclass will work properly. /quote AFAIK, the toString() method is only useful for debugging purposes (trace). - Original Message - From: Cor c...@chello.nl To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Thursday, December 18, 2008 11:27 PM Subject: RE: [Flashcoders] Custom eventListener Thanks Ross and Jason! Now I understand this. But I am trying to imagine when I would use a custom event. I have no idea? Could you give an example? Kind regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: donderdag 18 december 2008 23:20 To: Flash Coders List Subject: RE: [Flashcoders] Custom eventListener To add on to David's fine reply, Ross, you're close, but not quite - this is how I write custom events, I think you'll want to do something like this instead - this works great for me: To write the event: package events { import flash.events.Event; public class MyEvent extends Event { public static var MYEVENT1:String = myEvent1; public static var MYEVENT2:String = myEvent2; public function MyEvent(type:String, bubbles:Boolean = false, cancellable:Boolean = false ) { super(type, bubbles, cancelable); } } } Then to dispatch: import events.MyEvent; dispatchEvent(new MyEvent(MyEvent.MYEVENT2, false, true)); Then to listen and react to dispatch: myObject.addEventListener(MyEvent.MYEVENT2, onMyEvent2) public function onMyEvent2(event:MyEvent):void { Trace(myEvent2 heard!); } Jason Merrill Bank of America Instructional Technology Media * GCIB Staff Support LLD ___ 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] Custom eventListener
Ok. I think I got it thanks. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Friday, December 19, 2008 10:01 AM To: Flash Coders List Subject: RE: [Flashcoders] Custom eventListener Ross, The addEventListener would be on the instance of your different class than the HTMLLoader. myOtheraClass.addEventListener(MyCustomEventClass.MYCUSTOMEVENT, onMyCustomEvent) Make sense? Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Ross (N-SGIS) Sent: Friday, December 19, 2008 9:04 AM To: Flash Coders List Subject: RE: [Flashcoders] Custom eventListener Thanks Jason... Let me ask one question to try to clarify this for me. If I have the dispatchEvent that broadcasts the URL of my HTLMLoader in a onLoadComplete function and I want to listen for that event in a different class (for example I want to put the URL in a textbox that is created in a different class than the HTMLLoader) where would I put the addEventListener? I'm not sure why my head is not wrapping around this, but thanks for all your help. Ross -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Thursday, December 18, 2008 5:20 PM To: Flash Coders List Subject: RE: [Flashcoders] Custom eventListener To add on to David's fine reply, Ross, you're close, but not quite - this is how I write custom events, I think you'll want to do something like this instead - this works great for me: To write the event: package events { import flash.events.Event; public class MyEvent extends Event { public static var MYEVENT1:String = myEvent1; public static var MYEVENT2:String = myEvent2; public function MyEvent(type:String, bubbles:Boolean = false, cancellable:Boolean = false ) { super(type, bubbles, cancelable); } } } Then to dispatch: import events.MyEvent; dispatchEvent(new MyEvent(MyEvent.MYEVENT2, false, true)); Then to listen and react to dispatch: myObject.addEventListener(MyEvent.MYEVENT2, onMyEvent2) public function onMyEvent2(event:MyEvent):void { Trace(myEvent2 heard!); } Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hershberger Sent: Thursday, December 18, 2008 4:58 PM To: Flash Coders List Subject: Re: [Flashcoders] Custom eventListener An event is just a message object. Just because one gets created successfully does not mean it is being delivered. dispatchEvent() is a method of the EventDispatcher class, which is a superclass of many classes, including DisplayObject. You need to listen for the event (with addEventListener()) on the same EventDispatcher where the event was dispatched. (Except in the case of events that bubble, but that's another topic.) For example: public class MyWindowHolder extends Sprite { public function init(): void { var a: MyWindow = new MyWindow(); a.addEventListener( MyEvent.EXCLAMATION, onExclamation ); } private function onExclamation( event: MyEvent ): void { trace(ouch!); } } public class MyWindow extends Sprite { private function injury(): void { this.dispatchEvent( new MyEvent( MyEvent.EXCLAMATION )); } } Hope this helps, Dave On 12/18/08, Lehr, Ross (N-SGIS) ross.l...@lmco.com wrote: Hey All... I'm having trouble with a custom event listener. I'm working on experiment browser project trying to learn as3, OOP, and AIR. I broadcasting the URL after a web page is loaded and I need a text box to listen for it. I've added a trace to me urlLoadedEvent class and I know the URL is getting there (so, I think it's getting broadcasted ok), but it's not getting to the text box. I think I have my listener in the wrong place, but not sure where to put it. I don't have my exact code here, but below are some code snippets. Thanks for any and all help. Ross -- DISPACTING EVEN In a loadComplete function urlLocation = text field
[Flashcoders] Custom eventListener
Hey All... I'm having trouble with a custom event listener. I'm working on experiment browser project trying to learn as3, OOP, and AIR. I broadcasting the URL after a web page is loaded and I need a text box to listen for it. I've added a trace to me urlLoadedEvent class and I know the URL is getting there (so, I think it's getting broadcasted ok), but it's not getting to the text box. I think I have my listener in the wrong place, but not sure where to put it. I don't have my exact code here, but below are some code snippets. Thanks for any and all help. Ross -- DISPACTING EVEN In a loadComplete function urlLocation = text field for the URL string dispatchEvent(new urlLoadEvent(urlLocation.text)); -- urlLoadEvent Class (when I trace urlLocation I am getting the URL string) package { import flash.events.*; public class urlLoadEvent extends Event { public static const URL_CHANGED = urlChanged; public var urlLocation:String; public function urlLoadEvent(urlL:String):void { super(URL_CHANGED); urlLocation = urlL; trace(urlLocation); } } } -- I'm not sure where to attach this. ???.addEventListener(urlLoadEvent.URL_CHANGED, onURLChange); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Probably a simple answer...
This is probably too simple of a question to ask here, but I'm trying to get my head around this AS3 OOP thing. I'm playing with a simple AIR (built in Flash) web browser and I've hit a snag right off the bat. I have a document class that calls a class to build the HTMLLoader window. If I comment out the code in the onGoEvent function it works fine. When I uncomment the code and compile, I get a 1061: Call to a possibly undefined method urlToLoad through a reference with static type I know urlToLoad is there, I use it to load the default page, but for some reason it gets lost along the way... With my limited knowledge of AS3 and OOP I just can't find the problem. Thanks for any advice and help. urlInput = the text entry field a user would typ the URL address to a web page. PS. I've removed some of the code like the import statements to keep the email as small as possible. DOCUMENT CLASS package { public class MyBrowser extends MovieClip { var mainBrowserWindow:HTMLLoader; public function MyBrowser() { mainBrowserWindow = new BasicBrowserWindow(this,10,45,stage.stageHeight - 100,900,http://www.yahoo.com;); //goButton goButton.addEventListener(MouseEvent.CLICK, onGoEvent); } public function onGoEvent(e:MouseEvent):void { mainBrowserWindow.urlToLoad( urlInput.text ); } } } BasicBrowserWindow CLASS package { public class BasicBrowserWindow extends HTMLLoader { var htmlLoader:HTMLLoader = new HTMLLoader(); public function BasicBrowserWindow(mC:MovieClip, xPos:int, yPos:int, browserH:int, browserW:int, defaultURL:String) { htmlLoader.x = xPos; htmlLoader.y = yPos; htmlLoader.width = browserW; htmlLoader.height = browserH; mC.addChild(htmlLoader); urlToLoad(defaultURL); } public function urlToLoad(uTL:String):void { htmlLoader.load(new URLRequest( uTL )); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Probably a simple answer...
Great.. thanks Ian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Thursday, December 11, 2008 8:12 AM To: Flash Coders List Subject: Re: [Flashcoders] Probably a simple answer... Hi Ross, The problem is this line: var mainBrowserWindow:HTMLLoader; It declares mainBrowserWindow as an HTMLLoader. But HTMLLoader (the class) doesn't have a urlToLoad function, so the compiler gets confused, not knowing mainBrowserWindow is really a BasicBrowserWindow. Replace with this: var mainBrowserWindow:BasicBrowserWindow; and the problem should go away. HTH, Ian On Thu, Dec 11, 2008 at 1:03 PM, Lehr, Ross (N-SGIS) [EMAIL PROTECTED] wrote: This is probably too simple of a question to ask here, but I'm trying to get my head around this AS3 OOP thing. I'm playing with a simple AIR (built in Flash) web browser and I've hit a snag right off the bat. I have a document class that calls a class to build the HTMLLoader window. If I comment out the code in the onGoEvent function it works fine. When I uncomment the code and compile, I get a 1061: Call to a possibly undefined method urlToLoad through a reference with static type I know urlToLoad is there, I use it to load the default page, but for some reason it gets lost along the way... With my limited knowledge of AS3 and OOP I just can't find the problem. Thanks for any advice and help. urlInput = the text entry field a user would typ the URL address to a web page. PS. I've removed some of the code like the import statements to keep the email as small as possible. DOCUMENT CLASS package { public class MyBrowser extends MovieClip { var mainBrowserWindow:HTMLLoader; public function MyBrowser() { mainBrowserWindow = new BasicBrowserWindow(this,10,45,stage.stageHeight - 100,900,http://www.yahoo.com;); //goButton goButton.addEventListener(MouseEvent.CLICK, onGoEvent); } public function onGoEvent(e:MouseEvent):void { mainBrowserWindow.urlToLoad( urlInput.text ); } } } BasicBrowserWindow CLASS package { public class BasicBrowserWindow extends HTMLLoader { var htmlLoader:HTMLLoader = new HTMLLoader(); public function BasicBrowserWindow(mC:MovieClip, xPos:int, yPos:int, browserH:int, browserW:int, defaultURL:String) { htmlLoader.x = xPos; htmlLoader.y = yPos; htmlLoader.width = browserW; htmlLoader.height = browserH; mC.addChild(htmlLoader); urlToLoad(defaultURL); } public function urlToLoad(uTL:String):void { htmlLoader.load(new URLRequest( uTL )); } } } ___ 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] Probably a simple answer...
Thanks Sid, it does help... Thanks for the additional advice as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sidney de Koning Sent: Thursday, December 11, 2008 8:22 AM To: Flash Coders List Subject: Re: [Flashcoders] Probably a simple answer... Hi Ross, when you create your variables, you forgot to set the identifier, public , private etc. Because else it scopes it default to , if i'm not mistaken. So now change that to (and its good practice to use an underscore for member variables); private var _mainBrowser: BasicBrowserWindow; (not htmlLoader) Also change the mainBrowser everywhere to _mainBrowser, now also do the same trick for the htmlLoader. (set it to private and rename to_htmLoader). That should fix it. Hope this helps you on your way, Sid On Dec 11, 2008, at 2:03 PM, Lehr, Ross (N-SGIS) wrote: This is probably too simple of a question to ask here, but I'm trying to get my head around this AS3 OOP thing. I'm playing with a simple AIR (built in Flash) web browser and I've hit a snag right off the bat. I have a document class that calls a class to build the HTMLLoader window. If I comment out the code in the onGoEvent function it works fine. When I uncomment the code and compile, I get a 1061: Call to a possibly undefined method urlToLoad through a reference with static type I know urlToLoad is there, I use it to load the default page, but for some reason it gets lost along the way... With my limited knowledge of AS3 and OOP I just can't find the problem. Thanks for any advice and help. urlInput = the text entry field a user would typ the URL address to a web page. PS. I've removed some of the code like the import statements to keep the email as small as possible. DOCUMENT CLASS package { public class MyBrowser extends MovieClip { var mainBrowserWindow:HTMLLoader; public function MyBrowser() { mainBrowserWindow = new BasicBrowserWindow(this,10,45,stage.stageHeight - 100,900,http://www.yahoo.com;); //goButton goButton.addEventListener(MouseEvent.CLICK, onGoEvent); } public function onGoEvent(e:MouseEvent):void { mainBrowserWindow.urlToLoad( urlInput.text ); } } } BasicBrowserWindow CLASS package { public class BasicBrowserWindow extends HTMLLoader { var htmlLoader:HTMLLoader = new HTMLLoader(); public function BasicBrowserWindow(mC:MovieClip, xPos:int, yPos:int, browserH:int, browserW:int, defaultURL:String) { htmlLoader.x = xPos; htmlLoader.y = yPos; htmlLoader.width = browserW; htmlLoader.height = browserH; mC.addChild(htmlLoader); urlToLoad(defaultURL); } public function urlToLoad(uTL:String):void { htmlLoader.load(new URLRequest( uTL )); } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Sidney de Koning Flash / AIR Developer @ www.funky-monkey.nl Technical writer @ www.insideria.com ___ 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] Flex vs. Flash
Thanks for all the input everyone... Nothing like a good ol' software debate ; - ) That's why you have to decide which tool is best for what kind of project you have. This was my question in the original email, not which was tool is better. Should be fun experimenting in both. Also, thanks for the book recommendation. Ross -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, November 20, 2008 11:15 AM To: Flash Coders List Subject: RE: [Flashcoders] Flex vs. Flash Sure - I mean again, it just comes down to what KIND of sites you are comparing - a cool site RIA could be equally cool as a cool 3D Flash site like EcoDaZoo (which was done with Papervision3d by the way, and could have been done in Flex - if there was a need for the Flex framework) - but comparing one site with another for coolness is really subjective, it's like comparing apples and oranges. If a site dynamically allows product selection interactions with effects was seen as cool - and a site like EcoDaZoo was done with Flash + Papervision and is thought of as cool, well, which one is cooler? You can't do the comparision because they are completely different types of sites. Yes, for sites that have a lot of UI zing - animations and effects, and really wild transitions and layouts, well, Flex would not be the best choice. That's why you have to decide which tool is best for what kind of project you have. Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Muller Sent: Thursday, November 20, 2008 11:07 AM To: Flash Coders List Subject: Re: [Flashcoders] Flex vs. Flash You are right. I may have been mislead here, but I still think that a site like EcoDaZoo or sites done by agencies like Gringo, or Firstborn are Flash, not Flex. I am getting specific here, which is irrelevant regarding this thread. Cedric With both you can be efficient. As a proof, all the best Flash sites are Flash, not Flex. How do you know? I have seen some amazing Flash sites I thought were build in the Flash IDE, and I found out later they were Flex apps, with some really great skinning going on. I have also seen some flex-like sites that were cool that I discovered were Flash IDE made sites. But in a lot of cases, there is no real way to tell what the development environment was - maybe if you pulled apart the .swf you could tell, but other than that, it's difficult. Jason Merrill Bank of America Instructional Technology Media · GCIB Staff Support LLD Interested in Flash Platform technologies? Join the Bank of America Flash Platform Developer Community Interested in innovative ideas in Learning? Check out the Innovative Learning Blog and subscribe. ___ 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
[Flashcoders] Flex vs. Flash
I guess this is somewhat off topic, but I'm new to the whole Flex thing. What are some of the reasons one would build something in Flex instead of Flash? Is it just a preference thing, or are there real technical reasons one should build a particular app in Flex? Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] 3d math in AS3
Quick question... I know the Math.atan2 can get me an angle (in radians) using y,x. Can I also use atan2 to get a correct angle using z,x? or is there another way to get an angle when using the z coordinate? Thanks!! Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] 3d math in AS3
That is the angle I am looking for... thanks Paul. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Tuesday, November 18, 2008 3:39 PM To: Flashcoders mailing list Subject: Fw: [Flashcoders] 3d math in AS3 - Original Message - From: Lehr, Ross (N-SGIS) [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 18, 2008 5:55 PM Subject: [Flashcoders] 3d math in AS3 Quick question... I know the Math.atan2 can get me an angle (in radians) using y,x. Can I also use atan2 to get a correct angle using z,x? or is there another way to get an angle when using the z coordinate? You can use z and x values, but it will give you an angle in a different plane altogether (the zx plane not the xy plane). Whether it's the angle that you want is something else again. Paul Thanks!! Ross ___ 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
[Flashcoders] Flash Pro 8 working with 9, but not 8
Hey All, I've run into a funny issue. I am working in Flash 8 Pro and I have recently discovered that my .swfs load from the server if Explorer has the version 9 plug-in, but will not work with version 8 (I get a red X where the .swf should be).I have my preferences set to create version 8 .swfs, but no go. I even set it to create version 7 swfs, but they still only play in 9 and not 8. Any ideas? Thanks, Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders