Adobe Flash CS5.5 and AS3 – How to create a basic, but clean and simple Flash Preloader

One of the problems many flash developers face is creating a preloader that works correctly. If your like me, my first attempt resulted in asking the question, “Why does my preloader first appear on stage beginning at around 70% complete …

Adobe Flash CS5.5 and AS3 – Classic TextField vs. TLFTextField for password usage

The following demonstrates how to use the Classic TextField and the TLFTextField for the purposes of creating a password behavior type text.

Classic Text

Drag a Text Tool to the stage and call the Instance Name, txtPassword
Choose ‘Classic Text’ …

Microsoft Silverlight 2.0 Beta 2 – Setting Initial Focus on Silverlight Control (Textbox)

(The initial discussion was for Silverlight 2.0 Beta 1)

Step #1

Create a dummy textbox for your initial SL XAML and set the following properties as follows:

Opacity="0" IsReadOnly="True" TabIndex="0"

Step #2

In the ‘loaded’ event of your initial SL …

Microsoft Silverlight 2.0 Beta 2 – InvalidOperationException occurred

Private WithEvents mylogonService As NewsrLogon.IwcfLogonServiceClient


Could not find default endpoint element that references contract
‘SilverlightApplication.srLogon.IwcfLogonService’ in the ServiceModel
client configuration section. This might be because no configuration file was
found for your application, or because no endpoint element matching …

Microsoft Silverlight 2.0 Beta 2 – How to navigate between xaml pages

Add the following to the app.xaml.vb:

 Dim mainUI As Grid = New Grid()

In Private Sub Application_Startup

 Me.RootVisual = mainUI

Add sub:

 Public Sub GoToPage(ByVal nextPg As UserControl)
      Dim app As App = CType(Application.Current, App)
      ' Remove the displayed page