<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-14398698</id><updated>2012-02-16T23:14:48.598-05:00</updated><title type='text'>Celton's Blog</title><subtitle type='html'>I build web stuff.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-14398698.post-4486064953161244327</id><published>2008-05-09T16:02:00.002-05:00</published><updated>2008-05-09T16:06:37.291-05:00</updated><title type='text'>“Object doesn’t support this property or method” shdoclc.dll/preview.dlg</title><content type='html'>Today I ran into this error when trying to print a page using the print feature of IE6.  The error only occurred on the site I had developed, so it wasn't an issue with the user's machine.  Apparently, the issue was that I had set the id of an img element to "tags".  I changed the id to "tagsImg" and now the error is gone.&lt;br /&gt;&lt;br /&gt;Apparently id="tags" is a reserved word in IE6 that has something to do with the print feature.  Read this blog post and the comments for more info:  &lt;a href="http://meyerweb.com/eric/thoughts/2005/08/26/when-printing-kills/"&gt;http://meyerweb.com/eric/thoughts/2005/08/26/when-printing-kills/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-4486064953161244327?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/4486064953161244327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=4486064953161244327' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/4486064953161244327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/4486064953161244327'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2008/05/object-doesnt-support-this-property-or.html' title='“Object doesn’t support this property or method” shdoclc.dll/preview.dlg'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-322818139397287382</id><published>2007-10-17T18:14:00.000-05:00</published><updated>2007-10-17T18:35:34.111-05:00</updated><title type='text'>Spry Slide Not Working - text disappears</title><content type='html'>Today I was trying to add a simple Spry slide effect to some text on one of my web sites, however the text dissapears in IE7. I managed to cut it down to the most basic code where the problem occurs and it turns out to be a table cell. I took the slide example and cut it down until it doesn't work. This code works fine in Firefox. If you remove the table tags, it also works in IE7. However, with the table tags present, the text doesn't show up at all in IE7 (although the background color does slide up and down). This is using Spry 1.6 prerelease.&lt;br /&gt;&lt;br /&gt;Here's the code:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;/span&gt;&lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional-dtd%22&amp;amp;gt"&gt;&lt;span style="font-size:78%;"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional-dtd"&amp;amp;gt&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;; &amp;lt;html xmlns="&lt;/span&gt;&lt;a href="http://www.w3.org/1999/xhtml%22&amp;amp;gt"&gt;&lt;span style="font-size:78%;"&gt;http://www.w3.org/1999/xhtml"&amp;amp;gt&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;title&amp;gt;Spry Slide Effects Sample&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;link href="../../css/samples.css" rel="stylesheet" type="text/css" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;script src="../../includes/SpryEffects.js" type="text/javascript"&amp;gt;&lt;/span&gt; &lt;span style="font-size:78%;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;.animationContainer&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;height: 220px;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;}&lt;br /&gt;.demoDiv&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;background-color: #CCC; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;height: 200px; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;overflow: hidden;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;}&lt;br /&gt;.hideInitially&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;visibility: hidden;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;&amp;lt;form method="get" action="grow_sample.html"&amp;gt;&amp;lt;input type="button" onclick="slide_hidden.start();" value="Slide Example" /&amp;gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;div class="animationContainer"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;div class="demoDiv hideInitially" id="example5"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Example - Slide from 0% to 100% in 2 seconds&amp;lt;/strong&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;br /&amp;gt;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiam nonumy eirmod tempor invidunt ut labore et dolore magnaaliquyam erat, sed diam voluptua. At vero eos et accusam etjusto duo dolores et ea rebum. Stet clita kasd gubergren, nosea takimata sanctus est Lorem ipsum dolor sit amet.&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;var slide_hidden = new Spry.Effect.Slide('example5', {duration: 500, from: '0%', to: '100%', toggle:true});&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It turns out, if you put the &amp;lt;script&amp;gt; tag below the &amp;lt;/table&amp;gt;, everything works fine.&lt;br /&gt;&lt;br /&gt;Wacky...&lt;br /&gt;&lt;br /&gt;By the way, also if you set the .hideInitially div to "display: none" instead of "visibility:hidden", the same error occurs (in IE7 only). In my opinion, display: none would be much more useful than visibility: hidden. I was able to work around it by using two Spry slide effects - one that only happens when the page loads and initially closes the text (setting it to display:none) and the other that the user clicks on to open and close the text after that.&lt;br /&gt;&lt;br /&gt;Hopefully they'll get these issues fixed in the next release of Spry.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-322818139397287382?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/322818139397287382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=322818139397287382' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/322818139397287382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/322818139397287382'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/10/spry-slide-not-working-text-disappears.html' title='Spry Slide Not Working - text disappears'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-3927660431706251934</id><published>2007-10-10T16:16:00.000-05:00</published><updated>2007-10-17T18:30:14.771-05:00</updated><title type='text'>Community Server Blog Post Approval Process</title><content type='html'>One thing glaringly absent in &lt;a href="http://www.communityserver.org/"&gt;Community Server&lt;/a&gt; is the ability to have multiple blog authors with an approval process. The idea would be to have a blog writers who must submit their blog posts to a blog administrator for publishing. I've been looking into a solution for this and came up with one that should meet our needs for now.&lt;br /&gt;&lt;br /&gt;My idea was to add a new role that would be able to save a blog post, but wouldn't have access to the publish button. To do this, I modified the CreateEditBlogPost.ascx file in \ControlPanel\Blogs\ to hide the publish button for everyone except a specific blog administrator role. Here's the code:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;CSControl:ConditionalContent runat="server"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt; &amp;lt;ContentConditions&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;CSControl:UserInRoleCondition Role="Solutions Blog Administrator"        UseAccessingUser="true" runat="server" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/ContentConditions&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;TrueContentTemplate&amp;gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/TrueContentTemplate&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;FalseContentTemplate&amp;gt;&amp;lt;div style="display: none"&amp;gt;&amp;lt;/FalseContentTemplate&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;/CSControl:ConditionalContent&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&amp;lt;strong&amp;gt;&amp;lt;CP:resourcelinkbutton id="PostButton" runat="server" resourcename="CP_Blogs_CreateEditBlogPost_Post" CssClass="CommonTextButtonBig" /&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;This code would go at the bottom of the CreateEditBlogPost.ascx file where the publish button is now.  As you can see, I just hid the publish button using a div with display:none in every case except when the user's role is "Solutions Blog Administrator".  This allows me to specifically set who can publish to the blog while still allowing everyone else to write to the blog.  Now I should be able to write a csmodule that will send an e-mail to the administrator(s) whenever a new blog is posted so they know they need to review the post and publish it.&lt;br /&gt;&lt;br /&gt;Ideally there would be a permissions set into Community Server so I wouldn't have to hardcode the admin role.  I'm also not sure how it will hold up once we have multiple blogs (and different administrators for each).  But, this should work for now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-3927660431706251934?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/3927660431706251934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=3927660431706251934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/3927660431706251934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/3927660431706251934'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/10/community-server-blog-post-approval.html' title='Community Server Blog Post Approval Process'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-5258278513131953462</id><published>2007-10-09T16:56:00.001-05:00</published><updated>2009-04-10T12:12:22.767-05:00</updated><title type='text'>Extending content to the bottom of the window</title><content type='html'>Here's a nifty little bit of javascript that extends the content of a container (in this case, a td with id "shadow" and a div with id "contentarea") to the bottom of the browser window, regardless of the height of the window. The first function gets the height of the browser and the second function does the extending.&lt;br /&gt;&lt;br /&gt;You can see it in action at &lt;a href="http://www.equitiesfirst.com/"&gt;http://www.equitiesfirst.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;//Gets the height of the browser window &lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;function getheight() { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;var myHeight = 0; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;if( typeof( window.innerWidth ) == 'number' ) {&lt;br /&gt;//Non-IE&lt;br /&gt;myHeight = window.innerHeight;&lt;br /&gt;}&lt;br /&gt;else if( document.documentElement &amp;amp;&amp;amp; ( document.documentElement.clientWidth document.documentElement.clientHeight ) ) {&lt;br /&gt;//IE 6+ in 'standards compliant mode'&lt;br /&gt;myHeight = document.documentElement.clientHeight;&lt;br /&gt;}&lt;br /&gt;else if( document.body &amp;amp;&amp;amp; ( document.body.clientWidth document.body.clientHeight ) ) {&lt;br /&gt;//IE 4 compatible&lt;br /&gt;myHeight = document.body.clientHeight;&lt;br /&gt;}&lt;br /&gt;return myHeight;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//Extends the content to the bottom of the browser window&lt;br /&gt;&lt;br /&gt;function adjustHeight()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;if (document.getElementById) {&lt;br /&gt;var targetElement=document.getElementById('shadow');&lt;br /&gt;&lt;br /&gt;//extend the shadows&lt;br /&gt;targetElement.style.height=String(getheight())+'px';&lt;br /&gt;&lt;br /&gt;//extend the content area (minus the header area)&lt;br /&gt;targetElement=document.getElementById('contentarea');&lt;br /&gt;targetElement.style.height=String(getheight()-413)+'px';&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;window.onresize=adjustHeight;&lt;br /&gt;window.onload=adjustHeight;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-5258278513131953462?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/5258278513131953462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=5258278513131953462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/5258278513131953462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/5258278513131953462'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/10/extending-content-to-bottom-of-window.html' title='Extending content to the bottom of the window'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-6411813899120499350</id><published>2007-03-06T13:05:00.000-05:00</published><updated>2007-03-06T13:36:44.684-05:00</updated><title type='text'>Flex 2 Custom Preloader and Flash Integration</title><content type='html'>I still see a lot of people using the default preloader for Flex in their Flex 2 applications (including me).  However, it's possible to customize the loading screen before your Flex app appears.  Ted Patrick has a post with some nice examples of using gif, png or even swf files as a preloader:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php"&gt;Flex 2 Preloaders&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ted's examples just use simple graphics and animation, however you can integrate Flash into Flex to create a really nice preloader.  You can also integrate Flash throughout your Flex application for consistency (or for added pizzazz).  Jesse Randall Warden has a good article on this as well as a nice example on the third page of his article:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://webddj.sys-con.com/read/329616_1.htm"&gt;Integrating a Flash Interface into Flex 2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-6411813899120499350?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/6411813899120499350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=6411813899120499350' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/6411813899120499350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/6411813899120499350'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/03/flex-2-custom-preloader-and-flash.html' title='Flex 2 Custom Preloader and Flash Integration'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-4844041695277024034</id><published>2007-03-05T17:08:00.000-05:00</published><updated>2007-03-05T17:21:14.241-05:00</updated><title type='text'>Blog posts to remember</title><content type='html'>Rather than taking up space in my crowded bookmarks folder, I thought I'd just blog these two posts and reference them from here.&lt;br /&gt;&lt;br /&gt;Sean Moore has posted an Actionscript 2.0 to Actionscript 3.0 migration cheatsheet which I may find very useful in the near future.  He's also got a lot of other cheatsheets on his site.  If you haven't gotten a chance to check them out I recommend you do.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://actionscriptcheatsheet.com/blog/archives/22"&gt;Actionscript Migration Cheatsheet&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, Alex Ulhmann has updated his distortion effects component.  I made some modifications to the first version of his component to create a iTunes-type image scroller in Flex (sorry, it's not online... yet).  I'm looking forward to seeing what he's done to improve it and what new things I can do with it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.macromedia.com/auhlmann/archives/2007/03/distortion_effe.cfm"&gt;Distortion Effects&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-4844041695277024034?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/4844041695277024034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=4844041695277024034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/4844041695277024034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/4844041695277024034'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/03/blog-posts-to-remember.html' title='Blog posts to remember'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-5835327218930812073</id><published>2007-02-26T10:35:00.000-05:00</published><updated>2007-02-26T10:47:37.571-05:00</updated><title type='text'>Unable to connect to endpoint: {wsdl path}</title><content type='html'>I was getting this obscure error while trying to insert data from Flex 1.5 into a database using a WebService and a stored procedure. Despite the error message, it likely has nothing to do with connection issues between Flex and your WSDL. More likely, it is due to a coding error. You may be trying to pass a complex object into a simple data type (either in your WSDL or in SQL). For me though, I don't think this was the case.&lt;br /&gt;&lt;br /&gt;The problem for me ended up being that I was passing null data (the user, me, had left the input box blank), into a stored procedure that expected data. The weird thing was that if I put a space (or any other character) into that field and then deleted that space before submitting the form, it would go through fine. The error would only occur if I never entered (or deleted) anything in that field at all.&lt;br /&gt;&lt;br /&gt;Anyways, I was able to fix it simply by putting a default value into my input variable in the stored procedure (in this case, a space):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;@city varchar(100) = '&amp;nbsp;  '&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-5835327218930812073?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/5835327218930812073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=5835327218930812073' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/5835327218930812073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/5835327218930812073'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/02/unable-to-connect-to-endpoint-wsdl-path.html' title='Unable to connect to endpoint: {wsdl path}'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-116663327730062918</id><published>2007-02-22T17:26:00.000-05:00</published><updated>2007-02-22T17:29:31.848-05:00</updated><title type='text'>Could not load WSDL: 500 java.net.SocketException: Connection reset</title><content type='html'>I'm in the process of building a Flex 1.5 app that calls two web services on another server. Frequently while testing the app, I would get hit with this error:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Could not load WSDL: 500 java.net.SocketException: Connection reset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;It seemed to happen most often when first loading the app, although it occasionally happened while in the middle of using the app as well. I'm pretty sure it happened every time I made a change to the mxml code. Sometimes none of the data would load in the app when the error occurred and sometimes the data from one of the WSDLs would load (but not the other). To fix it, sometimes I could refresh the page or retry the action and it would work fine, but other times nothing I would do would fix it except for... clearing my browser cache, which would fix it every time. However, in a production environment, that wouldn't do.&lt;br /&gt;&lt;br /&gt;The Internet was pretty quiet on the issue. One suggestion I found for related issues was to update the flex-config.xml file and set the &amp;lt;maxconnections&amp;gt; in the proxy section to 0 (unlimited - the default is 50). That didn't seem to help me though. However, I did find a way you can turn the WSDL proxy off, by adding useProxy="false" to the &amp;lt;mx:Webservice&amp;gt; tag. This did the trick for me. Make sure if you do this that you create a cross domain policy file on your WSDL server otherwise you won't be able to access them anymore. Adobe recommends that you use the proxy unless you have a good reason not to.&lt;br /&gt;&lt;/mx:webservice&gt;&lt;mx:webservice&gt;&lt;/mx:webservice&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-116663327730062918?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/116663327730062918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=116663327730062918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/116663327730062918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/116663327730062918'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2006/12/could-not-load-wsdl-500-java.html' title='Could not load WSDL: 500 java.net.SocketException: Connection reset'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-1627569132082911040</id><published>2007-02-22T09:16:00.000-05:00</published><updated>2007-02-22T10:10:12.222-05:00</updated><title type='text'>Writing a session variable or cookie from Flex</title><content type='html'>One limitation of Flex is that you're not able to create session variables or cookies using actionscript. Flex and Flash do have their own cookie substitute, &lt;a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16194"&gt;Local Shared Objects&lt;/a&gt;, however LSOs can only be used within the Flex app that created them and they definitely can't be read by the browser itself.&lt;br /&gt;&lt;br /&gt;But let's say you have a situation where you have a user login in your Flex app and you want that login to carry over to other pages on your site. The website already contains it's own login which creates a session variable or cookie to determine whether the user has been logged in. What you want to do is create that same variable when the user logs into your Flex app so that when they browse to other pages in your site they stay logged in.&lt;br /&gt;&lt;br /&gt;This can be solved pretty easily using a hidden frame on the same page as your Flex app. Just add a simple iframe tag to your page:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;iframe name="loginHide" frameborder="0" width="700" scrolling="no" height="0"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then create a page that accepts login info in the query string and uses that info to create the session or cookie (the same as your login page). When the user logs in to your Flex app, send the login info to the page you created and target the hidden iframe:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;getURL("loginHidden.aspx?userName="+userName+"&amp;password="+password, "loginHide");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Voila! The variable is created. Of course, this is only one way to do it. If your Flex app exists in a popup window, you could just use javascript in your getURL function to refresh the popup's parent page, sending it the login info in the query string the same way. Or you could even send the login info to any page (target="_blank"), if you don't mind a new web browser window opening when the user logs into your flex app. The hidden frame gets around this problem though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-1627569132082911040?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/1627569132082911040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=1627569132082911040' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/1627569132082911040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/1627569132082911040'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2007/02/writing-session-variable-or-cookie-from.html' title='Writing a session variable or cookie from Flex'/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14398698.post-116654202982600742</id><published>2006-12-19T10:23:00.000-05:00</published><updated>2006-12-19T10:27:09.826-05:00</updated><title type='text'></title><content type='html'>Hey, this is my obligatory first blog post.  Look, I have a new blog!  Now that that's over, we can get on with the meat and potatoes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14398698-116654202982600742?l=celtonshelton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://celtonshelton.blogspot.com/feeds/116654202982600742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14398698&amp;postID=116654202982600742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/116654202982600742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14398698/posts/default/116654202982600742'/><link rel='alternate' type='text/html' href='http://celtonshelton.blogspot.com/2006/12/hey-this-is-my-obligatory-first-blog.html' title=''/><author><name>Curtis</name><uri>http://www.blogger.com/profile/04894261814602963398</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
