Re: [Flashcoders] Cross-domain Shared Objects
Hi Everyone, Thanks for replying. I've been playing around with shared objects this afternoon and had 'some' success. What I've done is ... Created a very small SWF that just creates the shared object instance, and has two functions inside it. The first function writes the required data to the shared object and the second function reads the required data from the shared object. I then load this SWF in to my main online SWF using loadMovie, and when I want to store the data I call the first function inside the loaded SWF. This creates a shared object on the computer in the folder path the mirrors the location and filename of the small SWF (not the main SWF). Finally, in my local screensaver EXE/SWF I load the small SWF in from the online location using loadMovie again (requires Internet access) and call the second function that read the data back. Because this is the exact same file that wrote it in the first place it finds the shared object. I have used allowDomain in a few places just to make sure. I will try removing some of these and see what happens. It the moment it seems to work. I have created a screensaver using SWF Studio 3.2 and it is reading in data that was created by my online app!! Still much testing to be done though. Ta, Adrian On 11/07/07, Ivan Dembicki <[EMAIL PROTECTED]> wrote: private Hello Adrian, http://www.bezier.ru/SyntaxHighlighter/ - press settings. set your settings. - is it something like you need? AP> Hi All, AP> I am building an app that allows the user to personalise as screensaver AP> online. AP> 1) User chooses some settings and these are saved to a shared object. AP> 2) User downloads Flash screensaver (made with Screentime for Flash). AP> 3) Screensaver runs and loads in the shared objects from above. AP> 4) User sees personalised screensaver tunning!! AP> Well, that is the theory. But it is looking like there is no way for the AP> local screensaver file to access the shared object that was saved by the AP> online SWF. AP> I have come across the PDF file from Adobe ... AP> http://www.adobe.com/devnet/flashplayer/articles/fp8_security-related_apis.pdf AP> and it says on page 14 ... AP> "There is no mechanism to access shared objects across sandbox boundaries." AP> Has anyone tried to do something similar? AP> Am I going to have to give up on shared objects and use a backend scripting AP> language and database instead? :-( AP> Shared objects was looking like such a neat solution. :-( AP> Any thoughs welcome ... AP> Cheers, AP> Adrian Parr AP> ___ AP> Flashcoders@chattyfig.figleaf.com AP> To change your subscription options or search the archive: AP> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders AP> Brought to you by Fig Leaf Software AP> Premier Authorized Adobe Consulting and Training AP> http://www.figleaf.com AP> http://training.figleaf.com -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com ___ 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: Cross-domain Shared Objects
P.S. I am using Flash 8. On 11/07/07, Adrian Parr <[EMAIL PROTECTED]> wrote: Hi All, I am building an app that allows the user to personalise as screensaver online. 1) User chooses some settings and these are saved to a shared object. 2) User downloads Flash screensaver (made with Screentime for Flash). 3) Screensaver runs and loads in the shared objects from above. 4) User sees personalised screensaver tunning!! Well, that is the theory. But it is looking like there is no way for the local screensaver file to access the shared object that was saved by the online SWF. I have come across the PDF file from Adobe ... http://www.adobe.com/devnet/flashplayer/articles/fp8_security-related_apis.pdf and it says on page 14 ... "There is no mechanism to access shared objects across sandbox boundaries." Has anyone tried to do something similar? Am I going to have to give up on shared objects and use a backend scripting language and database instead? :-( Shared objects was looking like such a neat solution. :-( Any thoughs welcome ... Cheers, Adrian Parr ___ 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] Cross-domain Shared Objects
Hi All, I am building an app that allows the user to personalise as screensaver online. 1) User chooses some settings and these are saved to a shared object. 2) User downloads Flash screensaver (made with Screentime for Flash). 3) Screensaver runs and loads in the shared objects from above. 4) User sees personalised screensaver tunning!! Well, that is the theory. But it is looking like there is no way for the local screensaver file to access the shared object that was saved by the online SWF. I have come across the PDF file from Adobe ... http://www.adobe.com/devnet/flashplayer/articles/fp8_security-related_apis.pdf and it says on page 14 ... "There is no mechanism to access shared objects across sandbox boundaries." Has anyone tried to do something similar? Am I going to have to give up on shared objects and use a backend scripting language and database instead? :-( Shared objects was looking like such a neat solution. :-( Any thoughs welcome ... Cheers, Adrian Parr ___ 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] Coding suffixes and prefixes triggering code hinting
Hi Hans and Arul, Thanks for replying. That has sorted it. All the best, Adrian On 03/07/07, Arul Prasad M L <[EMAIL PROTECTED]> wrote: This is the one: C:\Program Files\Macromedia\Flash 8\en\First Run\ActionsPanel\ActionScript_1_2\ActionsPanel.xml or, you can safely modify the copy of the same file available in ur home directory, in here: C:\Documents and Settings\<>\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\ActionsPanel\ActionScript_1_2 scroll down to the typeinfo nodes. -- Arul Prasad http://arulprasad.blogspot.com On 7/2/07, Adrian Parr <[EMAIL PROTECTED]> wrote: > > Hi All, > > I vaguely remember there being a way of modifying the in-built > triggers for code hinting. > > For example, if you type ... > > ball_mc. > > Flash will detect that you are referring to a MovieClip and provide > the relevant code hints in a little popup window. > > Which is all very nice if you want to use those suffixes. But for my > next project I want to use prefixes instead. For example ... > > mcBall > > Is there an XML file somewhere that I can edit to modify Flash's > automatic code hinting to allow this? > > I realise that strict-typing every reference to a MovieClip would > force the code hinting, but this isn't always possible or practical. > > Thanks in advance, > > Adrian > ___ > 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@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@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] Coding suffixes and prefixes triggering code hinting
Hi All, I vaguely remember there being a way of modifying the in-built triggers for code hinting. For example, if you type ... ball_mc. Flash will detect that you are referring to a MovieClip and provide the relevant code hints in a little popup window. Which is all very nice if you want to use those suffixes. But for my next project I want to use prefixes instead. For example ... mcBall Is there an XML file somewhere that I can edit to modify Flash's automatic code hinting to allow this? I realise that strict-typing every reference to a MovieClip would force the code hinting, but this isn't always possible or practical. Thanks in advance, Adrian ___ 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] Bitmap Class and FileReference.download
Hi All, I am doing some research for an upcoming project ... With the new Bitmap Class and FileReference.download functionality in Flash 8, is it possible to create a drawing app that can grab what the user has drawn (using the Bitmap Class) and then download it to a folder on a webserver as a JPEG (using the FileReference.download method)? Or can I only sample every colour value (using getPixel) and then send a string of these values up to a script (such as PHP) on the server that then creates a JPEG on the fly (using the GD Graphics Library)? Thanks, Adrian Parr ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Bitmap Class and FileReference.download
Hi All, I am doing some research for an upcoming project ... With the new Bitmap Class and FileReference.download functionality in Flash 8, is it possible to create a drawing app that can grab what the user has drawn (using the Bitmap Class) and then download it to a folder on a webserver as a JPEG (using the FileReference.download method)? Or can I only sample every colour value (using getPixel) and then send a string of these values up to a script (such as PHP) on the server that then creates a JPEG on the fly (using the GD Graphics Library)? Thanks, Adrian Parr ___ 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] Can Flash auto update the player itself?
The FlashObject also supports the Flash Player Express Install process as well now. http://blog.deconcept.com/2005/08/13/using-flash-player-express-install- with-flashobject/ Adrian Parr -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold Sent: 02 December 2005 17:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] Can Flash auto update the player itself? http://blog.deconcept.com/flashobject/#download The user has to make a couple clicks but this 1000% better than anything else. wade On Dec 2, 2005, at 10:38 AM, inbox.flash wrote: > > Can flash detect a previous plugin version and auto update > without the user doing anything? > > ___ > 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] Bitmap Class and FileReference.upload
Sorry folks, Should that be FileReference.download ? Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Parr Sent: 02 December 2005 16:22 To: 'Flashcoders mailing list' Subject: [Flashcoders] Bitmap Class and FileReference.upload Hi All, Happy Friday afternoon!! I am doing some research for an upcoming project ... With the new Bitmap Class and FileReference.upload functionality in Flash 8, is it possible to create a drawing app that can grab what the user has drawn (using the Bitmap Class) and then upload it to a server (using the FileReference.upload method)? Thanks, Adrian Parr ___ 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] Bitmap Class and FileReference.upload
Hi All, Happy Friday afternoon!! I am doing some research for an upcoming project ... With the new Bitmap Class and FileReference.upload functionality in Flash 8, is it possible to create a drawing app that can grab what the user has drawn (using the Bitmap Class) and then upload it to a server (using the FileReference.upload method)? Thanks, Adrian Parr ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] water ripple
Here's another example... http://www.kneib.biz/f8files/water_with_f8.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 29 November 2005 14:09 To: Flashcoders mailing list Subject: RE: [Flashcoders] water ripple Yeah I 'figured' it out too ;) You'll have to buffer your MC off stage then 'draw' it's bitmap data into the bitmap the effect is being applied too. M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of eric dolecki > Sent: 29 November 2005 14:03 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] water ripple > > Ok I figured out what Andre Michelle was doing, but he's > using loadBitmap, and I am after applying the effect to a > particular movieclip placed on Stage... > > On 11/29/05, Andreas Rønning <[EMAIL PROTECTED]> wrote: > > > > [EMAIL PROTECTED] wrote: > > > > > > http://andreas.rayon.no/temp/watery.html > > > > > > > > Totally useless. Performance is a big ish. > > > > > > > > - Andreas > > > > > > > > > hmmm? > > > > > > http://www.thesundancekid.net/code/water/ > > > > > > anyway. not really what eric was looking for. > > > > > > Andreas Rønning wrote: > > > > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Hmm what? :P > > > > - Andreas > > ___ > > 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] LoaderClass in Flash 8
Hi All, I am loading in a series of SWFs in to movieclips, as quickly as possible, and I need to know when they are all loaded. I am publishing as Flash 8. Is it best to use the built-in movieClipLoader class or something like Bokel's loaderClass. Is his class redundant these days? I've checked the FlashCoders archive and found a thread from Dec04-Jan05 titled 'Movieclip Loader Class vs Bokel's Loader Class'. And people seemed to prefer Ralf's version. Does anyone know if there is an AS2 version of his class? Any advice would be helpful. Many thanks, Adrian Parr ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders