Re: [Flashcoders] (From a PDF?) Getting bitmap data

2010-12-03 Thread Peter Ginneberge
Not sure what you mean with swc only. All sources can be found here: http://code.google.com/p/purepdf/source/browse/ http://code.google.com/p/fxpdf/source/browse/ http://code.google.com/p/pavo/source/browse/ - Original Message - From: lists...@fo.com To:

Re: [Flashcoders] Automagically create an interface from a given AS3class?

2010-12-20 Thread Peter Ginneberge
Just did a quick google and this turned up: http://flashfocus.nl/forum/showthread.php?t=38705 It's a Dutch forum, but you should be able to get the tool here: http://flashfocus.nl/forum/attachment.php?attachmentid=6488d=1196363980 Haven't tried/tested it, just a quick google search. regards;

Re: [Flashcoders] How to utilize this code: public static const: Needhelp understanding...

2011-01-12 Thread Peter Ginneberge
I don't remember all the details, but if I'm not mistaken, those were used in the AS2 days to attach a class to a MovieClip, without them being linked in the Library (through the Symbol properties). Google: Object.registerClass and/or __packages Muzak - Original Message - From:

Re: [Flashcoders] How to utilize this code: public staticconst: Needhelp understanding...

2011-01-12 Thread Peter Ginneberge
The class is a rewrite from AS2, so I guess they just left it in there. In AS3 - for use with getDefinitionByName() or getQualifiedClassName() - those constants serve no purpose, as to get to them you have to know their package anyway. - Original Message - From: Merrill, Jason

Re: [Flashcoders] How to utilize this code:public staticconst: Needhelp understanding...

2011-01-12 Thread Peter Ginneberge
so I guess Yes, right - we're really just guessing Well, it was a bit more than just a guess :) http://www.matthijskamstra.nl/blog/index.php/2008/07/23/from-as2-to-as3-where-did-it-go-setrgb/ quote So a little as2 update. /quote You're right that they serve no code-purpose in that class,

Re: [Flashcoders] ComboBox label issue

2011-01-24 Thread Peter Ginneberge
If you want to display both the fontName and fontStyle, define a labelFunction for the combobox. function setLabel(item:Object):String { var fnt:Font = item as Font; return fnt.fontName + ( + fnt.fontStyle + ); } font_cb.labelFunction = setLabel; - Original Message - From:

Re: [Flashcoders] flash.filesystem not in Flash?

2011-02-23 Thread Peter Ginneberge
AIR 2.0 has OS native installers (.exe, dmg). For first time user, it would be a two-step installation to run an AIR app. This is pretty much automated from what I remember. Haven't installed the runtime in a while though. There's also the option to use your own installer (e.g. NSIS) as a

Re: [Flashcoders] flash.filesystem not in Flash?

2011-02-23 Thread Peter Ginneberge
Because it is much easier to get a random wrapper approved than AIR. Oh wait, it shouldn't be. Especially since AIR apps need to be digitally signed (requires certificate). Granted, you can build an AIR app with a developer certificate, but during install that is being displayed as

Re: [Flashcoders] XMLList Namespace Madness

2011-04-29 Thread Peter Ginneberge
The following works for me: === var myXMLList:XMLList = XMLList(GetUserProfileByNameResponse xmlns=http://microsoft.com/webservices/SharePointPortalServer/UserProfileService; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;

Re: [Flashcoders] Adobe is my down-ass chick

2011-12-31 Thread Peter Ginneberge
thing done in another programming language? So right now, I stay with Flash. Happy new year to everyone. Il 31/12/2011 03:27, Peter Ginneberge ha scritto: Sorry for the late reply.. With your new chicks can you easily make web apps, desktop apps, android apps and ios apps? Yup, except

Re: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5?

2012-02-08 Thread Peter Ginneberge
Is there any way to fix this? Have you installed the FP11 debug player? If not, download and install it! If I remember correctly, installing FP11 won't change a thing. The Flash IDE uses a .dll (on windows) for preview/testing inside the IDE. The only way to update that player dll is to

Re: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5?

2012-02-08 Thread Peter Ginneberge
flash.system.Capabilities; trace(Capabilities.version); In short, you're screwed :( regards, Peter - Original Message - From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 08, 2012 8:24 PM Subject: Re: [Flashcoders

Re: [Flashcoders] Updating to 10.3 or 11 External player in cs5.5?

2012-02-08 Thread Peter Ginneberge
Cos then you're not really debugging. In order to get trace output you'd have to start a Remote Debug Session. So instead of just doing CTRL+Enter you'd have to: - Publish (ALT+SHIFT+F12) - start Remote Debug Session (no shortcut) - switch to browser and hit F5 It's certainly doable, but a

Re: [Flashcoders] Fwd: MVC

2012-02-17 Thread Peter Ginneberge
Main problem that I see with the code that was posted is that it breaks a major MVC rule and teaches a real bad habit: Views shouldn't have any knowledge of Models Not sure where you get the idea that a View shouldn't communictate with the Model directly: This states otherwise:

Re: [Flashcoders] MVC style Correction

2012-02-29 Thread Peter Ginneberge
Here's what I use. packages: - business Contains singleton with services (RemoteObject, WebService, HTTPService, SQLite), used by Command classes. - commands Contains commands that are executed by the Controller when a matching event is triggered. Commands are responsible for

Re: [Flashcoders] MVC style Correction

2012-03-01 Thread Peter Ginneberge
see how it works (and use it if you like). http://osflash.org/downloads/arp/ARP_2.02.zip regards, Muzak - Original Message - From: Peter Ginneberge p.ginnebe...@telenet.be To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 29, 2012 4:25 PM Subject: Re

Re: [Flashcoders] MVC style Correction

2012-03-01 Thread Peter Ginneberge
Found this FlashPaper swf that explains the ARP Pizza sample app: http://aralbalkan.com/downloads/FlashToFlex.swf The sample app is included in this download: http://osflash.org/downloads/arp/ARP_2.02.zip ___ Flashcoders mailing list

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Peter Ginneberge
The dependency with this is that any changes to the UI - additional views being added or removed, requires that the controller be changed too. Any change to a view could cause the controller to become broken. For this reason, I would say it's bad practice. Not necessarily so. But.. you'd use

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Peter Ginneberge
Correction I'm guessing we're now into nuancing the model to hold view states and the presenter is controlling multiple views, or is that wrong? On 05/03/2012 15:33, Peter Ginneberge wrote: The dependency with this is that any changes to the UI - additional views being added or removed, requires

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Peter Ginneberge
I guess I am looking to the controller to do the event dispatching to the model the model to listening for the result. You don't normally do that. The controller talks to the model directly, so the controller knows the model. The model doesn't know neither view nor controller and dispatches

Re: [Flashcoders] MVC style Correction

2012-03-07 Thread Peter Ginneberge
What he was asking was where does certain logic go, such as: where do you check whether an email address is valid. So if only the view cares about the valid email address, you can do so in the view, otherwise move the logic to the controller. It also depends on how strict you are about what

Re: [Flashcoders] Should I use BlazeDS for this?

2012-03-09 Thread Peter Ginneberge
WebOrb seems to have RTMP in all their editions (including the free one). http://www.themidnightcoders.com/products/weborb-for-java/product-editions.html regards, Muzak - Original Message - From: Dave Watts dwa...@figleaf.com To: Steven Loe stevenloe5...@yahoo.com; Flash Coders List

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Peter Ginneberge
I usually have Events that match the data (for lack of a better word) they are related with. eg: NewsEvent, UserEvent, etc.. Events then contain one or more static constants representing different event types. eg: NewsEvent.GET_NEWS, NewsEvent.UPDATE_NEWS, UserEvent.LOGIN, UserEvent.LOGOUT,

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Peter Ginneberge
directly to the model or view or back through the controller? On 3/15/12 4:44 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote: == The controller then maps the different event types to Commands: // AppController: private function initCommands():void

Re: [Flashcoders] MVC - ScreenManager

2012-03-27 Thread Peter Ginneberge
I have Command classes for that in combination with a ServiceLocator (Singleton) that holds all the services. Commands are instantiated (only when needed) and executed by the Controller. Commands, when executed, fetch the required service (RemoteService/WebService/HTTPService) from the

Re: [Flashcoders] Re: odd request: as1 flash remoting components!

2012-03-30 Thread Peter Ginneberge
Can't tell if these are AS1 or AS2, as I can't install them (requires Flash MX to be installed, which I don't). First installer is from a Studio MX installer CD http://dl.dropbox.com/u/58645452/Flash%20Remoting%20Components.exe Second installer I found on my (very) old laptop. It was sitting

Re: [Flashcoders] Accessing FlashVars

2012-04-30 Thread Peter Ginneberge
Not sure it matters, but there's quotes missing in the HTML: param name=FlashVars value=appUrl=test / probably should be: param name=FlashVars value=appUrl=test / - Original Message - From: Kerry Thompson al...@cyberiantiger.biz To: FlashCoders

Re: [Flashcoders] AS3

2012-10-27 Thread Peter Ginneberge
AS4 is on the way, including a new VM to support it. - Original Message - From: Kerry Thompson al...@cyberiantiger.biz To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Friday, October 26, 2012 8:28 PM Subject: Re: [Flashcoders] AS3 I don't think there is going to be an

Re: [Flashcoders] AIR

2013-05-20 Thread Peter Ginneberge
content created today will still run in the future, independent of where air itself is going. Unless you're using the HTML component to load external (http) content which you have no control over. Webkit (the browser engine AIR uses) currently doesn't support HTML 5 very well. For instance,

Re: [Flashcoders] static const singleton GC?

2013-09-20 Thread Peter Ginneberge
That's not a singleton, as every time you call the public static constant, it creates a new instance. The static var should be private and the class needs an access point method, usually called getInstance(); private static var INSTANCE:AppApi; public function AppApi():void { if

Re: [Flashcoders] Video question

2014-01-31 Thread Peter Ginneberge
YouTube has a flash API that you can use: https://developers.google.com/youtube/flash_api_reference On 1/02/2014 0:46, John R. Sweeney Jr. wrote: Hello again, Has anyone used Youtube or Vimeo videos in their Flash app? My client will produce the video's and post them, then want a Flash based

Re: [Flashcoders] Air Windows installed app

2014-02-23 Thread Peter Ginneberge
You can apply for a license to (re)distribute the Air runtime and then package it with your application. http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html Or you can include a captive copy of the Air runtime with your application.

Re: [Flashcoders] Air Windows installed app

2014-02-24 Thread Peter Ginneberge
. I created app in this program as Air 3.2 for Desktop. I have only two options - Windows Installer and App with runtime embedded. 2014-02-23 16:42 GMT+04:00 Peter Ginneberge p.ginnebe...@telenet.be: You can apply for a license to (re)distribute the Air runtime and then package it with your

Re: [Flashcoders] Pulling data from social media

2014-08-27 Thread Peter Ginneberge
Have you considered using PHP to fetch the data you need, and then convert it from JSON to XML? It may be easier to deal with. Not really, JSON support is built into the Flash player, so can you convert from JSON to AS and back. var data:Object = JSON.parse(jsonData); where

Re: [Flashcoders] Pulling data from social media

2014-08-27 Thread Peter Ginneberge
not find how to access Pinterest and Instagram to pull the followers of a specific person on each site. I really appreciate your comments… Thanks, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 27, 2014, at 3:01 PM, Peter