tag:blogger.com,1999:blog-6843566830671277353.post1340788535009043559..comments2023-12-11T22:56:18.291-08:00Comments on Codedependent: Post: Fix PrefixChet Haasehttp://www.blogger.com/profile/03250991041464602854noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-6843566830671277353.post-67353383583603047502009-04-05T00:20:00.000-07:002009-04-05T00:20:00.000-07:00I would prefer that the PREFIX itself be randomly ...I would prefer that the PREFIX itself be randomly generated in the form of F^x, thus suggesting "F of x". X should be calculated using an HMAC-SHA1 algorithm based on the time of day in Kasistan (in the number of milliseconds that have transpired since January 1, 1970 at 12:00am, of course) and the weather in Elbonia. In this case, F will be equal to the centrifugal force of the sun on the earth at that very moment. Now we have obfuscated the actual prefix well enough that if we want to stick with "Button", then so be it :-)<BR/><BR/>cheers!Dan Orlandohttp://danorlando.comnoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-21408272694319282272009-04-04T20:44:00.000-07:002009-04-04T20:44:00.000-07:00I suppose the program Icon will need to change as ...I suppose the program Icon will need to change as well. Fs instead of Fx. That might be shortsighted though. I propose F? This should not be thought of as F question mark. Contrary; it stands for F wild card. A timeless solution with the door open for arguing it should be F*Unknownhttps://www.blogger.com/profile/07535725343591533433noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-78326121680375538542009-04-02T07:49:00.000-07:002009-04-02T07:49:00.000-07:00Naming the namespace "s" by default doesn't fix th...Naming the namespace "s" by default doesn't fix the HitTester problem, does it? :)Borekhttp://www.borber.com/noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-48926133042284154032009-04-01T19:42:00.000-07:002009-04-01T19:42:00.000-07:00I generally agree with Robin here, but I think tha...I generally agree with Robin here, but I think that weather patterns aren't really random enough. I would say that you should use the decay of a radioactive isotope.<BR/><BR/>Also, with this new change, I think that it's important that people use good naming conventions for their variables. Every single variable should be named 'llll', unless it conflicts with a previous 'llll' in the same scope, in which case the names 'lll1', 'll1l', etc, should be used instead. Also, when using the or operator, never leave spaces between it and variables it's comparing. This should ensure well obfuscated code for all involved.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-80667533372943995942009-04-01T16:32:00.000-07:002009-04-01T16:32:00.000-07:00I think you should have stayed with OnButt. Canva...I think you should have stayed with OnButt. Canvass can kiss your OnButt. Yeah. like it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-13217538282463977552009-04-01T16:14:00.000-07:002009-04-01T16:14:00.000-07:00Harry: Yes, this will be simplified for first time...Harry: Yes, this will be simplified for first time users of Flex4, or for anyone using just the Spark component set. But explaining the simplicity angle wasn't the intent of this particular blog...Chet Haasehttps://www.blogger.com/profile/03250991041464602854noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-52938141012318111382009-04-01T16:02:00.000-07:002009-04-01T16:02:00.000-07:00How's it going to be for somebody learning Fle...How's it going to be for somebody learning Flex for the first time starting on version 4? There will be so much archeology in the autocomplete and docs that it's going to be very confusing for a lot of newcomers.<BR/><BR/>Time for a clean break?<BR/><BR/>I hope there's an option to just totally exclude the Halo library when developing a new Flex 4 project so that every time I start typing <but..., I don't need to use the down-arrow key to specify for autocomplete that I'm using a Flex 4 button. (Especially since the packages listed in alphabetical order will default to Halo (mx) instead of Gumbo (s)).Harry B. Garlandhttps://www.blogger.com/profile/04506383915654934825noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-60855688805916939002009-04-01T15:19:00.000-07:002009-04-01T15:19:00.000-07:00I like the idea of the Fully Obfuscated Occasional...I like the idea of the Fully Obfuscated Occasionally Long component names, but I generate my all my Flex code from one 14.6Mb XML file.<BR/><BR/>Would it be possible to have the obfuscated names deterministicly created based upon measurable, but randomised data, perhaps weather patterns, or migratory paths of birds?Robin Harrisonhttp://predestinationparadox.comnoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-54257822623404239832009-04-01T11:34:00.000-07:002009-04-01T11:34:00.000-07:00We'll put our CSS Namespaces specification up on o...We'll put our CSS Namespaces specification up on open source soon, but we'll be using the CSS-3 proposal for @namespace and the corresponding prefix syntax.<BR/><BR/>For the default namespace in a style sheet...<BR/><BR/>@namespace "library://ns.adobe.com/flex/spark";<BR/>Button { color:#CC0000;}<BR/><BR/>If you needed to disambiguate between components in two namespaces, you'd use prefixes:<BR/><BR/>@namespace s "library://ns.adobe.com/flex/spark";<BR/>@namespace mx "library://ns.adobe.com/flex/halo";<BR/><BR/>s|Button {color:#CC0000;}<BR/>mx|Button { color:#00CC00;}<BR/><BR/><BR/>Note that the mapping of these namespace qualified type selectors to ActionScript class names happens in the same way that MXML tags are mapped to ActionScript classes. That is, information from SWC catalogs and top level manifests configured for namespaces in /frameworks/flex-config.xml.Pete Farlandhttp://blogs.adobe.com/petenoreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-10711724026414555392009-04-01T11:20:00.000-07:002009-04-01T11:20:00.000-07:00How are you guys planning to handle Style Declorat...How are you guys planning to handle Style Declorations? Will you be adding namespaces to the stylesheets<BR/><BR/>fx:Button {<BR/> color: #cc0000;<BR/>}Unknownhttps://www.blogger.com/profile/17719832411008019802noreply@blogger.comtag:blogger.com,1999:blog-6843566830671277353.post-261119976839170402009-04-01T11:02:00.000-07:002009-04-01T11:02:00.000-07:00You should have followed JavaFXs lead and just lau...You should have followed JavaFXs lead and just launched Spark with no visual components whatsoever. Prefix problem solved!Unknownhttps://www.blogger.com/profile/12736916214936986737noreply@blogger.com