Tag Archive for 'html'

29
Nov

Getting URL Parameters in Flex Actionscript

Get the full url with the host name and port in actionscript?

There are several methods to help with this:

getHostName()
getPort()
getProtocol() -such as http or https
getContext() -The path after the hostname but before the url parameters

29
Nov

Exception Handling with Flex

A common hurdle a developer may face is dealing with exceptions in BlazeDS. When an exception is thrown in Java, how do we handle this in flex? Here is a simple and flexible approach inspired by Scott Morgan.

1. Create a Java Class that extends RuntimeException.

package com.flexpasta.exception;
public class FlexException extends RuntimeException
{
public FlexException(String message)
{
super(message);
}
}

Continue reading ‘Exception Handling with Flex’

28
Nov

Creating a simple image gallery with the Flex TileList control

Flex Photo gallery in Flex using the TileList control, Image control, and the PopUpManager class.

Full code after the jump.

View MXML

<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="vertical"verticalAlign="middle"

backgroundColor="white">
<mx:Style>

 Continue reading 'Creating a simple image gallery with the Flex TileList control'
26
Nov

HTML Tags And Attributes Supported by Flash Player

list tags and their attributes that are supported by flash player

This list applies to TextArea, TextFields and other controls that are html enabled.

Anchor tag (<a>)

Creates a hypertext link.

  • href
  • target

Bold tag (<b>)

Renders text as bold.

Continue reading ‘HTML Tags And Attributes Supported by Flash Player’



Get Adobe Flash playerPlugin by wpburn.com wordpress themes