[Flashcoders] Re: #SharedObject not so shared (Rákos Attila)
EEColor, I remember asking the same question years ago. The answer was something like this: SharedObject.getRemote(my_so, rtmp:/./.., /); I am not completely sure and do not have time to test it. As I forgot my mailing list password I couldnt search the archives... And next to that, I'm not sure if it still works in the current players. Yeah, good thinking, it was originally mentioned here http://www.thoughtsabout.net/blog/archives/03.html As mentioned on the blog, (and I've tested this) and it sadly no longer works in Flash 8, or 9. Rakos, Movies running in different sandboxes cannot access shared objects of each other. Yes, that makes sense, except for 2 things: 1) As far as I can tell, they should NOT be in separate sandboxes, they use the exact same code, and are installed in next to the same folder. As far as I can tell there is no way to specify the domain for a projector to get the desired behavior. 2) It's also inconsistent. First run it WILL use the same sandbox as the Flash IDE/etc, then later something will trigger the generation of a new sandbox (install a second version of the app, or view pandora) then all further requests go against the new sandbox instead of the original. Meaning the Flash Player changes it's mind about which domain it thinks it belong to! My best guess, likely due to it running in a projector without access to URL information, it's making stuff up. It doesn't make sense to me. ___ 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] #SharedObject not so shared
We are running into a baffelling behavior using SharedObject. We have a a few Desktop Flash applications: One is a main application, the other an update utility for the main app. They use a Flash Cookie to find each other, as the main app could be installed anywhere (USB, C). The apps are based in Director using the Flash8 Xtra. Say we start with a completely empty SharedObjects folder Running the main app sets a cookie into a folder like Flash Player\#SharedObjects\BFYLPV7P\localhost\02000.sol via a call like var so : SharedObject = SharedObject.getLocal (02000, /); where / should see the root of the Flash Cookies. then say Pandora (or any other flash based website using cookies) runs it generates a new sandbox Flash Player\#SharedObjects\2S7GJDMQ\pandora.com and then all future read requests are against that new '2S7GJDMQ' folder instead of the BFYLPV7P folder, and then neither the app or the updater, can see the old shared local object folder anymore. Which in the case of it containing lots of persistent configuration data, is the equivalent of clearing the Browser cache and forgetting everything. Trying to understand how it's created, I can delete the contents of the shared Objects folder and then republish in the Flash IDE and get a new hash for the folder every time so it seems to be either random or time based. It's not as far as I can tell the behaviour documented, it's certainly not behaving as I would expect. Anybody have any ideas? ___ 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] Parse/ Create swf via Actionscript 3.0
Curious if anybody knows of a library or is interested in working on one for swf creation via actionscript? In AS3, via ByteArray manipulations it's possible to read/decompile swf file as a stream of bytes, and also generate create an swf entirely via actionscript! e.g. http://www.bytearray.org/?p=17 this could be used for generator or swfmill like functionality, embedding graphics instead of having to constantly load them, even web based live preview of the file being created. I know the swf specification exists in order to figure out. So I could figure it out, but wanted to see if anybody else had started on this first. https://www.adobe.com/cfusion/entitlement/index.cfm?e=file%5Fformat There is already one that parses the top level tags, it's surprisingly simple. From here: http://flashpanoramas.com/blog/ At the moment, I'm most interested in reading/generating the shape script Class/LinkageID tags, embedding jpg/gifs created from editors. ___ 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] You Tube + Progressive download of flvs
As others have mentioned, progressive download is just a file like a 5MB Jpeg as far as the browser is concerned. The reason youtube can get away with this is the majority of content is small (a few minutes) and heavily replayed so progressive is a much better deal. Google on the other hand has some hour long videos and wants to index them so jumping around makes sense. Streaming - need to be able to jump to any point: not needed in youtube, most videos are small, played from start to finish - care about DRM - have extra overhead for streaming media servers - don't care as much about repeat plays (since nothing is ever cached on the harddrive...ever, every second of video has to come from the server) Progressive - no need to jump ahead of what's downloading - can use conventional edge servers (e.g. akamai) with normal webservers to accelerate downloads - want to avoid replay bandwidth costs. ___ 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] Re: OT: Is this done in processing?
The correct term for the technique is Frustrated Total Internal Reflection. http://en.wikipedia.org/wiki/Total_internal_reflection The cool thing is the technique is fairly approachable with off the shelf parts and open source software. Processing, Java, Flash can all be used. http://nuigroup.com/forums/ http://nuigroup.com/ Jeffery Han has also formed a company around it http://www.perceptivepixel.com/ Though I can say having used mulitouch input devices, tablet pcs, and touchscreens, whiteboards before. They are cool, but not something you can use all day, the ergonomics just aren't correct, and for typing the error rate is high because there isn't any tactile feedback. Troy Gardner -How you live your seconds, is how you live your days, is how you live your life... http://www.troygardner.com -my world http://www.troyworks.com - building Rich Internet Applications http://www.intrio.com -helping bridge the gap between the humans and machines. Home of the Flickey ___ 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] AS3.0 Object.registerClass replacement?
Trying to port a project from AS 2.0 to AS 3.0, and they've removed linkageIDs and Object.registerClass, which is used heavily in this to modularize the application and I'm somewhat lost trying to find a suitable replacment. The project has multiple ui only swfs, and one script.swf shared among them, and it's via Object.registerClass that they are bound together (lazy dynamic binding). This is because the team is divided into purely designers/animators who can't script mostly on Mac (e.g. specific fonts), and mostly coders who can't be trusted with a designer toolkit. In AS3.0 I understand that we can use ApplicationDomain.getDefinition(Circle)[1]; which will return a class that represents an item in the library swf, but then it's still a movieclip unless the movie is compiled with all the script, thus would either have to have a Mixin type or be composed into another class in order to be turned into another class. Both of these seem messy, and there is no way to know when they are put onto stage, if the components are laid out in the IDE, as Object.registerClass does automatically. Any ideas? [1] demonstration of modularizing swfs in As3.0 http://iteratif.free.fr/blog/index.php?2006/07/11/44-bibliotheque-partagee-sous-flash-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
[Flashcoders] RE: reverse play FLV?
I don't think it's possible unless you encode everyframe as a keyframe which can make the file pretty large. This also affects scrubbing in the video stream...jumping will take you to the nearest keyframe after. As the video playhead can only jump to keyframes, and like tweens it needs the before and after frames to figure out what to do. Video 'tweens' (interframes) are currently one way. Troy Gardner -How you live your seconds, is how you live your days, is how you live your life... http://www.troygardner.com -my world http://www.troyworks.com - building Rich Internet Applications http://www.intrio.com -helping bridge the gap between the humans and machines. Home of the Flickey ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders