[Flashcoders] Creating a scrollable list: adding components to the scrollpane contents
Hi Matt, I created something very much like what you describe. You can have a look at it here... http://www.sleekdigital.com/News/5.aspx [Flashcoders] Creating a scrollable list: adding components to the scrollpane contents *Matt Bennett* bennett.matthew at gmail.com mailto:flashcoders%40chattyfig.figleaf.com?Subject=%5BFlashcoders%5D%20Creating%20a%20scrollable%20list%3A%20adding%20components%20to%20the%0A%09scrollpane%20contentsIn-Reply-To= /Fri Sep 1 02:00:10 EDT 2006/ * Previous message: [Flashcoders] Flash player cache? 172153.html * Next message: [Flashcoders] Creating a scrollable list: adding components to the scrollpane contents 172211.html * *Messages sorted by:* [ date ] date.html#172154 [ thread ] thread.html#172154 [ subject ] subject.html#172154 [ author ] author.html#172154 Hello Flashcoders, I'm building a scrollable list, and I keep track of the list items with a Collection. I'm having trouble adding items to it - I think I'm overwriting some instance variables somewhere. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] OOP methodology and flash. I'm loosing my faith...
It sounds like you are confusing polymorphism with multiple inheritance. ActionScript and Java and pretty much any OOP language do allow for polymorphism. http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming -Steve * - Meinte van't Kruis* meinte at gmail.com mailto:flashcoders%40chattyfig.figleaf.com?Subject=%5BFlashcoders%5D%20OOP%20methodology%20and%20flash.%20I%27m%20loosing%20my%20faith...In-Reply-To=6.2.0.14.2.20060825123531.04cb9380%40safetycat.co.uk /Fri Aug 25 09:14:16 EDT 2006/ * Previous message: [Flashcoders] OOP methodology and flash. I'm loosing my faith... 171797.html * Next message: [Flashcoders] OOP methodology and flash. I'm loosing my faith... 171794.html * *Messages sorted by:* [ date ] date.html#171802 [ thread ] thread.html#171802 [ subject ] subject.html#171802 [ author ] author.html#171802 well, I get Interfaces, but thanks for explaining :). I just don't think actionscript, or java, has any polymorphism, since the definition of that is, in my opinion, a class having more than one parent class (ie, can extend 2 or more classes), which isn't the case. So I don't understand why people who are explaining oop in actionscript talk about polymorphism, because it just isn't there :), but perhaps I'm wrong. cheers, -Meinte ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback connectionError
One thing to note about the FLV Playback component is that under the hood it uses VideoPlayer Objects. I believe if you use SMIL to make the player play multiple videos, the FLV Playback will use a new VideoPlayer Object for each new video that is requested. If you are not using SMIL, it seems that the FLV Playback always tries to use the same VideoPlayer Object unless you explicitly tell it to change. And I have found (at least in certian situations) that can cause problems similar to what you describe. Below is the method I use to make the player use a new VideoPlayer object each time I ask it to play a video. This method is part of a wrapper class I use so... player is a property that referes to the FLV Playback instance and nextVpIndex is a property that stores an integer to keep track of what VideoObject to use next. I don't use the VideoObject at index 0 because that one cannot be deleted. private function _playVideo(url:String) { if (player.activeVideoPlayerIndex 0) { player.closeVideoPlayer(player.activeVideoPlayerIndex); delete player.getVideoPlayer(player.activeVideoPlayerIndex); } player.activeVideoPlayerIndex = ++nextVpIndex; player.visibleVideoPlayerIndex = nextVpIndex; player.play(url); } -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Known issues with flv playback component in flash 9 player?
I have a couple apps that use the FLV Playback component. They work fine with Flash Player 9. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ActionScript Application Framework
I disagree, Arp and Cairngorm are architectural frameworks. Flex is an application framework. From what I understand Rails is primarily an application framework with some architectural elements as well. So I would say... Rails is to Ruby as Flex ( + optinally Arp or Caringorm) is to Flash. -Steve * -- Nick Weekes Wrote...* Rails is to Ruby what ARP and Cairngorm are to Actionscript. Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ActionScript Application Framework
To me (at least to some extent), Flex is to Flash what Rails is to Ruby. And of course you have Cairngorm or ARP for structural framework. -Steve Dear List (I should say lists this going to Flash and Flex coders), I am a very and I mean very experienced ActionScript coder. I have been writng code and storing it for re-use for 7 years. I have just installed Rails an application frame work for a language named Ruby which enabled me to create a whole aplication in the space of a few hours. Cant we follow the example and create a framework to make our lives easier as these guys have for Ruby programmers. I would be willing to contribute. What do you reckon would it work. Could we as a comunity of developers do this? James Deakin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback progress event listener
Are you using streaming video or progressive download? Please explain the context of this code... How is your flash movie setup and where exactly is this code located? Is this code perhaps getting executed repeatedly or going out of scope? -Steve --- Date: Mon, 19 Jun 2006 10:48:06 -0400 From: Sarah Plowright [EMAIL PROTECTED] Subject: [Flashcoders] FLVPlayback progress event listener I have a feeling I'm missing something incredibly stupid... I'm having problems with my FLVPlayback progress event listener - everytime I test it, it pauses, then the the event is called once, and my FLV starts playing. My code is as follows: var listenerObject:Object = new Object(); listenerObject.progress = function(eventObject:Object):Void { trace('progress'); var percent = introflv.bytesLoaded/introflv.bytesTotal; trace(percent); }; introflv.addEventListener(progress, listenerObject); Shouldn't it be calling progress more than once? The docs say it's called every .25 seconds. Thanks, Sarah ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback progress event listener
From the help ... Event; dispatched at the frequency specified by the |progressInterval| property, *starting when the load begins and ending when all bytes are loaded* or there is a network error. Default is every .25 seconds. So my guess is that you are testing this locally... loading an FLV file that is on your computer. If so, what you are seeing is the expected behavior. Since the video file is already on your machine, it loads instantly and the progress event will not fire once the video is loaded. Try it with a file that is on a server somewhere and you will see what you are looking to see. -Steve From: Sarah Plowright [EMAIL PROTECTED] Subject: Re: [Flashcoders] FLVPlayback progress event listener To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed I am really just starting to do video stuff, so i'm a little clueless.. I believe it's a progressive download. And the code doesn't seem to be being executed repeatedly, as the other flv events are behaving themselves. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: protecting maps in Flash
This really is not effective. Ultimately the swf still ends up getting sent to the client when the application is used. Then that user can get the swf out of thier cache and decompile it to grab the assets. As Tom explained, If your app loads external swf's you cannot protect them, you can only make them a little more difficult to access. -Steve --- Naz wrote: Yo. Adding scripts that do the following to each of your map content swfs should solve your problem: 1) Create an if-then statement that checks for a variable that your map loader swf will set. If this variable is not set to the proper value that your loader/viewer swf sets, make the map swf do sometjing ugly like turn invisible or something ;-P (._alpha=0;) *oh, set these variables to something else when the map .swf first loads, then have them communicate and request for the proper value from the loader swf upon completion of loading. This is so people who've decrypted the urls can't enter http://yourdomain.com/mapName.swf?variableToCheck=properValue; http://yourdomain.com/mapName.swf?variableToCheck=properValue%22 manually in the browser's url field. 2) Have each map .swf check whether it is loading from the proper url. If not, disable displaying it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Grouped List Box Component
You could do that pretty easily with this List Alternative I built... http://www.sleekdigital.com/News/5.aspx Let me know if you end up using it and/or making improvements. You can see an example of it in use here... http://www.bet.com/onblast -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] anyone using mCom?
I've been disappointed with the MCOM components. Alot of that has to do with the lack of documentation and support. They match the V2 API's in many cases, but in the cases where they don't its not always easy to figure out how to make them work the way you want since the methods and properties are not properly documented. In some cases the existing documentation has incorrect method and property names adding to the frustration. Then when you try to contact their support you're very lucky to ever hear back from them. They have a support ticket system (not linked anywhere on their site), but I can't find how to access the page to add a new ticket, I can only get to the list of my old list of tickets (thanks to some old emails I saved). Its not a good support situation to say the least. There are some bugs in the components, which is understandable, but without proper support it becomes a pretty big problem when you run into them. I expected much better than this especially considering the price tag. If they improved support and actively updated them, only then could I recommend purchasing them. On the positive side, I do like the skinning capabilities. Its flexible and pretty straight forward once you get past the errors in the documentation (I seem to recall some of the linkage ID's are wrong). In most respects the components themselves are a step up from the V2 components, but only a subset of the V2 components are represented. -Steve *Rich Rodecker* wrote: anyone out there have any experience with using the mCom component set from Metalliq? Just looking for some feedback...performance issues, comparison with v2, wierdness, extending, etc. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] anyone using mCom?
Thanks for the info Ryan, that should prove useful in the future. -Steve -- *Ryan Matsikas* wrote : Some people on this list use mCom and a few of the developers (including myself) are also on the list, if you aren't having luck with Metaliq's response's to your issues feel free to ask here. Also there is a google group for mCom that a few users are on, and some of the issues/bugs have been covered there. The google group is located at: http://groups.google.com/group/mCom-Flash-Component-Documentation Cheers, Ryan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback Component - button bar
Hi Eric, It is unfortunate that the API does not expose these elements. But here is an example Movieclip reference to the play/pause button .. MovieClip(player).skin_mc.layout_mc.playpause_mc I think you can figure out the rest based on that, but if not, just let me know. -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] FLVPlayback Component - button bar
That would be... MovieClip(player).skin_mc.layout_mc.bg1_mc Eric wrote So which is the alpha'd slice-9 mc that lies beneath all the buttons, etc. I'm guessing player.skin_mc.layout_mc - I'll have to check. Thanks :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Are you a help vampire?
Unfortunately, I have a couple of these vampires attached to me via IM They don't even introduce themselves... they just hit me on IM saying hey, how do I do this? Guess I should not post my IM on Flash message boards any more :( - http://www.slash7.com/pages/vampires I know there are some here...I've seen them, even if they don't see themselves (mirrors not working and all that). ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Straaaaaaaange FLVplayback problem....
What do you mean by from a different project In any case, I don't think you should use the same video player index for different videos. I have encountered many problems when doing that. So here is what I do.. private function _playVideo(url:String) { if (player.activeVideoPlayerIndex 0) { player.closeVideoPlayer(player.activeVideoPlayerIndex); delete player.getVideoPlayer(player.activeVideoPlayerIndex); } player.activeVideoPlayerIndex = ++nextVpIndex; player.visibleVideoPlayerIndex = nextVpIndex; player.play(url); } Note this is a method of a class and the class has an instance of FLVPlayback named player and a Number field nextVpIndex initialized at 1 so that index 0 never gets used. I do that because you can't delete the one at index 0. Hope this helps, Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE:[Flashcoders] New wrinkle in IE activation issue...
Maybe Microsoft took their own initiative, but it is still a reaction to Eoals. If Eolas wasn't pushing their bogus patent, Microsoft would not have done this. Its silly to say they did this to hurt Adobe as it affects all active x objects including Microsoft's own windows media player. The only company that gains here is Eolas... The rest of the world gets screwed. -- Microsoft has taken their own initiative to include Active X, Object, Embed activation in their latest IE patch. Has nothing to do with a court ruling. Can only be an attempt to make life more difficult for Adobe. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] looking for some .NET to Flash tools
What do you mean by a .NET database ? .NET can use a number of databases, but probably the most common is MS SQL Server. If you are using SQL Server, you can request XML directly from the database... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_sqlxml.asp What exactly is your database guy trying to achieve? What does he not like about your current solution? -- I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make it easy (read: brain-dead simple) to interface with a .NET database. Thanks! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] System.security oddness
In the flash IDE. I'm suddenly getting this error when I compile my swf ... There is no method with the name 'security' from this line of code... System.security.allowDomain(whatever.com); I'm confused, this makes no sense. Anyone have any idea why this would suddenly start happening? -Steve ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Phantoming in List Component
I've had similar problems. And when you do get it working it still flickers due to the scrolling algorithm (refreshing of items). That's why I made this... http://www.sleekdigital.com/downloads/scrolllistexample.zip http://www.layer51.com/proto/d.aspx?f=1396 This is a bit out-dated now, but it works. If you want the more robust, updated version let me know. -Steve ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Scrollpane in the arse
RTFM :) With the V2 component you use content and contentpath properties, read about those in the docs and you will have your answer. -Steve ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] best place to start building flash 8 components
Flash 8 made no major updates to the components so any tutotials for flash mx 2004 components will be relevant. Ultrashock.com has some prety good ones. -Steve ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders