Re: [Flashcoders] Facebook Actionscript Graph API and explorer
I've experienced this before. It has to do with the some access_tokens or users (not all) retrieved from FB using IE. If you try it with the access_token that is provided when you log into developers.facebook.com it seems to work. I submitted a bug for this a while ago though I don't think I ever got a response from FB. I ended up having to use the FB JavaScript API and interface with Flash that way. Ugh I know, but it worked. On Mon, Apr 18, 2011 at 11:38 PM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: Hi guys I'm trying to use the Facebook Actionscript graph api but I seem to be having problems in IE (other browsers like chrome and firefox seem okay so far). From what i can tell, it's logging in fine and returning the user id but when i do a lookup on that user with Facebook.api(_user, handleUserRequest); I get an error. Is there any known problems with the Facebook Actionscript graph api that affects IE only? the error is as follows: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: https://graph.facebook.com/12210990429?access%5Ftoken=205690086123032%7C2%2EUzvN3mFr07kPAecZ7qN1Rg%5F%5F%2E3600%2E1303135200%2E1%2D12210990429%7Cz9L%5Fc26QKCc6cs2g5FClG%5FBsoZg;] This if this url is pasted into chrome it works just fine, but IE returns 'unable to download from graph.facebook.com' best 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] ALT+GR in FireFox 4.0
If I remember correctly, this has popped up a few times and I think it's related to the wmode property being set to transparent or opaque. If you can remove that, it should go away. On Thu, Apr 28, 2011 at 8:47 AM, Elia Morlin elia.li...@gmail.com wrote: Does anyone have an AS3 solution for the ALT+GR problem in FireFox 4.0? It will not accept ALT+GR in combination with any character. So it's impossible to enter a @, [ or ]. Thanks Elia Morling ___ 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] pureMVC, swfaddress and multiple proxies
From what it sounds like, I think you want to do something like this: When you receive your event from SWFAddress, you could have your SWFAddress proxy dispatch a notification that a command would listen for. That command could go through your XML nodes and do whatever it is you need to do. Not a best practice to reference a proxy in another proxy. I hope thats what you were getting at? On Wed, Oct 6, 2010 at 12:55 PM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: hi guys i'm in a studio that has been looking at various frameworks and have settled on pureMVC due to the large preinstalled userbase (i would have preferred to go straight to robotlegs but i guess that using puremvc will give me some history with mvc implementations other than my own) i'm setting up a site to use swfaddress and i have a question regarding using a separate proxy for it i load my data / layouts from an xml file and i want to be able to loop through it when i receive a swfaddress event to check for the layout to use. I've currently set up swfaddress to use a separate proxy from the xml, which resides in a data proxy. Is there any way of allowing the swfaddress proxy to pull the xml from the data proxy or should i be using a single proxy to achieve this (which is what i've done in the past with my mvc implementation)? thanks in advance 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] MVC and Event Architecture
I would really suggest looking into it as it has streamlined a bunch of my previous workflow. I use PureMVC ( with the fabrication utility ) a lot at work and really enjoy it. As with any framework that you use, it might not fit every specific project need, but generally it's been great. As far as the conversation about commands, my experience ( in relation to PureMVC ) is that a command should send out a notification to the mediator ( the view ) to respond to. Then the mediator , which listens to this notification, acts upon it. This decouples your commands from your view and multiple views can respond to the same notification. On Tue, Aug 4, 2009 at 10:54 AM, Merrill, Jasonjason.merr...@bankofamerica.com wrote: Thanks all - great discussion! Someday I'll have some time to tackle Pure MVC. Cairngorm is cool, but gave me headaches and seemed way too complicated and bloated to use. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt Gitchell Sent: Tuesday, August 04, 2009 12:08 PM To: Flash Coders List Subject: Re: [Flashcoders] MVC and Event Architecture This is about how I'm doing things at present. If something only affects one 'branch' of the MVC model (mostly View), then I handle it with events, for the most part. If it engages two, then I move to a Command (Controller).I've been working a lot in PureMVC lately, and while it seems like a pain when you're first getting into it (event handlers dispatch notifications which then are dealt with by notificationhandlers, which then hit your public methods in view components), I've found that the amount of enforcement it provides as far as loose coupling etc. is well worth it. It certainly makes changing things later less of a big deal, and it's not all that heavy. On Tue, Aug 4, 2009 at 8:39 AM, Piers Cowburn m...@pierscowburn.com wrote: I'll sometimes use callbacks in small, enclosed parts of a system, which are coupled by their nature and are never going to have their component classes used individually in other systems. As a general rule though, this is the only time that I use them. WRT the event / notification question, I usually find a place for both. I tend to use events if the information is going 'up' the heirachy, and notifications if it's going 'across'. To put it more clearly, I use events for smaller 'happenings', and notifications for larger, system wide 'happenings'. Hope that makes sense! Piers On 4 Aug 2009, at 16:27, Merrill, Jason wrote: Ok thanks Paul, yeah, I know about the concept of loose coupling, I was just wondering how strict people generally follow event-driven loose coupling design when using MVC - so it seems you're saying, for small MVC projects, callbacks are OK, but for large projects, they should really be 100% event driven-loosely coupled. Gotcha - thanks! Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews Sent: Tuesday, August 04, 2009 11:19 AM To: Flash Coders List Subject: Re: [Flashcoders] MVC and Event Architecture Merrill, Jason wrote: I know there is probably no definite right or wrong answer here, and it depends on the type of project, but I'm curious to get your opinion, if you're experienced with the MVC pattern (not frameworks per se that use MVC, I know about, say, Commands in Cairngorm and have checked into the Pure MVC architecture with its use of Notifications [though I only partially understand the Façade - I do something similar I think in a class I call MVC]- just interested in your opinions of raw MVC development). My question is, in practice, when programming with the MVC design pattern, I know the Model is usually completely decoupled from outside classes, but do you usually completely decouple all other classes like views and controllers as well, in favor of dispatching events? Therefore communication between MVC classes are triggered completely by events (seems logical, but its also a heck of a lot of event handling) or do you have some coupling going on (i.e. the controller calls a method in the view telling it to change). Or do you follow what some frameworks do and use Command classes with lots of event handling going on? Trying to find a good mix, I can see advantages and disadvantages both ways. I'm doing a lot of event dispatching, but it seems a bit like overkill in
Re: [Flashcoders] Flash/Flex Font Embedding
://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Kris Range ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] snap to guide AS code?
Are you talking about snapping to a guide you have setup in the Flash IDE? As far as I know you can't snap to that through code. You could easily take a number though ( from your mouse for ex ) and use the Math class to round it to a pixel or to the nearest x pixel if you knew where your guide was already placed. You could as well as do some testing if you wanted to snap to an invisible movieclip or sprite that was to be used as a sort of guide. On Sat, Nov 22, 2008 at 8:09 AM, Rich Rodecker [EMAIL PROTECTED] wrote: no, i mean snap to a guide while your dragging an object. On Sat, Nov 22, 2008 at 7:30 AM, Piers Cowburn [EMAIL PROTECTED] wrote: You can do a bezier tween with something like TweenMax http:// blog.greensock.com/tweenmaxas3/ , is that what you're after? Piers On 22 Nov 2008, at 15:03, Rich Rodecker wrote: I'm looking for some code that can pull of 'snap to guide' in actionscript. I've found some snap to grid code, but all of them are in AS2, so I'm wondering if there might be a better way to do it in AS 3 as well? ___ 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 -- Kris Range ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] sizing an arbitrary loaded swf
or if you are loading the swf files from external data source like xml, put an attribute in your xml of the size needed. component url=/someswf.swf width=500 height=400 / On Thu, Oct 2, 2008 at 9:05 AM, Steve Abaffy [EMAIL PROTECTED] wrote: Just brainstorming here, not sure if this will work. Can you not put a box or something on the stage that is the same size as the stage. If you can access individual components on the stage then get the size of this box and you will know the size of the stage. Just my $0.02 worth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mathews Sent: Thursday, October 02, 2008 10:39 AM To: Flash Coders List Subject: Re: [Flashcoders] sizing an arbitrary loaded swf No, this is not easy. Unfortunately the data that defines the stage size is not directly available in AS code. I believe it is only in the swf file's header, so you would actually have to do a lot of work to figure out what size the swf should be masked at. Steve On Thu, Oct 2, 2008 at 7:36 AM, Andrew Sinning [EMAIL PROTECTED]wrote: I'm using AS3. After loading in an arbitrary swf using the Loader class, getRect and getBounds don't necessarily reveal the internally defined boundaries of the loaded swf, rather they seem to return the boundaries of the stuff inside the loaded swf which can be either smaller or larger than the internally defined boundaries. Am I missing something? I want to load in a swf, create a mask around it so that only the stuff that is supposed to show is shown, and then scale it to fit a target area. This should be easy, right? Thanks! ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Anchor tag in textfield looks clickable, but its not
In our application we are using css styled html text through externally loaded stylesheets and fonts. Everythings been working great. The clients says they want to use anchor links in the text. So we put in some sample html links to test and something is a miss. The links, they show up, they look like links, even act like links visually ( mouseovers work ) but they don't work. A few major differences that I see. - Hand cursor doesn't change - Right clicking on the link doesn't show any way to copy the url - Attaching a TextEvent to the TextField doesn't reproduce any response as well. Has anyone seen this? My text looks pretty basic but maybe I'm missing something. Any ideas? 'span class=classNameThis is sample text. a href=http://somesite.com;Here is a Link/a/span' ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] CJK runtime font embedding
I'm looking for some advice on what others have done for AS3 runtime font embedding, specifically in relation to Chinese/Japanese/Korean languages. Embedding these character sets seems to be a heavy load but the other option of device fonts doesn't seem to exciting either. :) Thanks, Kris Range ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders