Free Download

Site Search

 

Top Download

Showing posts with label Adobe. Show all posts
Showing posts with label Adobe. Show all posts

Friday, July 4, 2008

Flash Lite for BREW Publisher for Flash CS3 Pro

From Adobe Labs

Table of contents [hide]

Flash Lite for BREW Publisher for Flash CS3 Professional (preview release)

This preview release of the Flash Lite for BREW publisher includes a plug-in for Flash CS3 Professional that lets you publish your Flash applications to the native BREW application format.

The Flash Lite Publisher for BREW lets you publish your Flash Lite content to the native BREW application format (MOD and MIF files) for testing on supported BREW handsets. Also included in this installation are files necessary for previewing your Flash Lite application in the BREW Simulator, part of the BREW 3.1 SDK (a separate download and installation).


Note: It is recommended that you download and install the BREW SDK 3.1.5 before installing the Flash Lite Publisher for BREW. This will insure that the necessary files for previewing your Flash Lite applications in the Qualcomm BREW SDK Simulator are installed properly.

Download

(last updated 16 April 2007)

Known Issues

  1. This is only a preview release and not the final version.
  2. The plug-in will only work on English versions of Windows operating systems.
  3. Publishing of MOD/MIF files from within Flash CS3 Professional does work correctly and the published files do work in the BREW SDK Simulator and on supported BREW handsets.

Support

There is no direct support for this preview release of the Flash Lite for BREW Publisher for Flash CS3 Professional and is offered as is. If you have any comments or feedback you can post them in our Adobe Flash Lite: BREW discussion group.

ColdFusion Portlet Toolkit

From Adobe Labs

Table of contents [hide]

Overview

The ColdFusion Portlet Toolkit is a proof-of-concept library that allows you to use ColdFusion as a Portal Application within an IBM WebSphere Portal Server (WSPS version 5 and greater). A Portal Application can serve several different portlets. Every portlet you deploy will run inside the same ColdFusion Portal Application. This toolkit provides one concrete Portlet called CFCPortlet. This Portlet simply passes the requests on to the ColdFusion server. The ColdFusion then invokes CFC methods to render the Portlet, and to perform actions. You can deploy several instances of this Portlet on your Portal Server. The setting cfcName defines which CFC will be used to marshal the Portlet events.

The ColdFusion Portlet Toolkit is a proof-of-concept. As such, all items available in the toolkit are of experimental quality; we have released them "as is" under the Adobe Labs source license.

Download and Installation

To use the ColdFusion Portlet Toolkit, follow these steps:

1. Download the ColdFusion Portlet Toolkit and see the Adobe Labs source license for terms of use.

Note: Your use of this site including software downloads, submission of comments, ideas, feature requests and techniques on this and other Adobe maintained forums, as well as Adobe’s rights to use such materials, is governed by the Terms of Use.

2. Unzip the Portlet toolkit to a directory on your server, for instance c:\cfportlet\.

3. Follow the detailed installation instructions at Portlet Toolkit Directory\docs\admin-guide\index.html

Documentation

The ColdFusion Portlet Developers Guide will be installed at Portlet Toolkit Directory\docs\cf-dev-guide\index.html. Items covered in this guide are:

  • Portlet Overview
  • Your First Portlet
  • Building a Simple Portlet
  • ColdFusion Portlet Reference
  • Converting Existing Code to Portlets
  • Known Issues
  • WebSphere API vs JSR-168

Known Issues

There are a few known limitations in the current version with the following features:

  • DateFormat

The DateFormat function does not work from within a Portlet. Workaround: Use the LSDateFormat function instead.

  • TimeFormat

The TimeFormat function does not work from within a Portlet. Workaround: Use the LSTimeFormat function instead.

  • SetLocale

The SetLocale function does not work from inside a Portlet. No workaround is available.

  • CFFORM

The CFFORM tag with format="flash" does not work inside the Portlet context. No workaround is available.

  • CFCHART

The CFCHART tag with labelformat="currency" may display the generic currency symbol ¤ by default instead of a $. Workaround: The default locale setting on WebSphere is en (English) with no country setting. To deal with this simply set the default locale to en-US. For Example:

You can also set the default locale using a JVM startup argument.

Edit MS Flex Grid in Two Ways

Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

Introduction

Hi all!

This is my second article on Code Project. This is about how to edit MS Flex Grid. I was using TextBox and ComboBox to edit flex grid at run time, for that I had to add reference of Microsoft.VisualBasic.Compatibility and some complex coding to move TextBox or ComboBox on grid. But this is good idea if some one wants to edit grid with some predefined itemsusing ComboBox.

But if you want to text than there is a simple way to do this; that is the use of Text property of MS Flex Grid Control.

Using the code

To edit MS Flex Grid without using TextBox we have to use .Text property and KeyPressEvent of MS Flex Grid Control.

 
Private Sub AxMSFlexGrid1_KeyPressEvent(ByVal sender As Object, ByVal e As AxMSFlexGridLib.DMSFlexGridEvents_KeyPressEvent) Handles AxMSFlexGrid1.KeyPressEvent

Select Case e.keyAscii

Case 30 To 136

AxMSFlexGrid1.Text += Chr(e.keyAscii)

Case 8

If AxMSFlexGrid1.Text <> "" Then AxMSFlexGrid1.Text = Mid(AxMSFlexGrid1.Text, 1, Len(AxMSFlexGrid1.Text) - 1)

Case 13 And AxMSFlexGrid1.Col <> 2

AxMSFlexGrid1.Col = 2

Case 13 And AxMSFlexGrid1.Col = 2

AxMSFlexGrid1.Rows = AxMSFlexGrid1.Rows + 1

AxMSFlexGrid1.Col = 1

AxMSFlexGrid1.Row = AxMSFlexGrid1.Row + 1

End Select

End Sub

In second techinque I have used a function name moveTextBox to move TextBox at appropriate posiotion and to sent enter text in Grid I have used .Textproperty of Grid control.

 
Private Sub moveTextBox()
TxtEntry.Visible = True
TxtEntry.Left = VB6.TwipsToPixelsX(AxMSFlexGrid2.CellLeft + VB6.TwipsToPixelsX(AxMSFlexGrid2.Left)) + 17
TxtEntry.Top = VB6.TwipsToPixelsY(AxMSFlexGrid2.CellTop + VB6.TwipsToPixelsY(AxMSFlexGrid2.Top)) + AxMSFlexGrid2.Top
TxtEntry.Width = VB6.TwipsToPixelsX(AxMSFlexGrid2.CellWidth)
TxtEntry.Height = VB6.TwipsToPixelsY(AxMSFlexGrid2.CellHeight)
TxtEntry.BringToFront()
TxtEntry.Focus()
End Sub

On TextBox's KeyDown event I have assigned TextBox's .Text property to Flex Grid's .Text property

 
Private Sub TxtEntry_KeyDownEvent(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TxtEntry.KeyDown
If AxMSFlexGrid2.Col = 1 Then
If e.KeyCode = Keys.Enter Then
AxMSFlexGrid2.Text = TxtEntry.Text
TxtEntry.Clear()
AxMSFlexGrid2.Col = 2
End If
End If
End Sub

On EnterCell event of Grid Control I have called this function.


Private Sub AxMSFlexGrid2_EnterCell(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxMSFlexGrid2.EnterCell
If AxMSFlexGrid2.Col = 2 Then
Call moveCombo()
If AxMSFlexGrid2.get_TextMatrix(AxMSFlexGrid2.Row, 2) <> "" Then
CmbEntry.Text = AxMSFlexGrid2.get_TextMatrix(AxMSFlexGrid2.Row, 2).ToString
Else
CmbEntry.Text = ""
End If
Else
CmbEntry.Visible = False
End If
If AxMSFlexGrid2.Col = 1 Then
Call moveTextBox()
If AxMSFlexGrid2.get_TextMatrix(AxMSFlexGrid2.Row, 1) <> "" Then
TxtEntry.Text = AxMSFlexGrid2.get_TextMatrix(AxMSFlexGrid2.Row, 1).ToString
Else
TxtEntry.Clear()
End If
Else
TxtEntry.Visible = False
End If
End Sub

Thanx And Happy Coding..

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

suresh suthar


Hi All.
I am Suresh Suthar from Mumbai India.
I am a Software Developer working in a private firm as a .NET developer.
I born and brought up in a small village Sewari in Rajasthan.
I started my carrier as a data entry operator in 2006. After that I started learning VB 6.0 and VB.NET 2005.
Now I am developing software using VB.Net 2005
and SQL Server 2000/2005.

Here you will some cool source code and a lots of stuff on
SQL Injection, Code Injection, Encription/Decription, Live project, Tutorials on VBScript,JavaScript,Cold Fusion, C#
and many more...

http://www.programmer2programmer.net/
Occupation: Web Developer
Location: India India


http://www.codeproject.com/KB/grid/EditMSFlexGrid.aspx

AIR Badge

From Adobe Labs

Additional Seamless Install Badge with new look and feel

Last update: 2/25/2008

Overview

We have been working hard to create an additional seamless install badge sample for launch. Actually, Grant Skinner (gskinner.com) developed this sample badge for us so that it would be available in time for launch. The badge is "BETA QUALITY", so you may discover bugs. Please report any bugs. You can report bugs at Adobe AIR wishlist or on the Adobe AIR forums. We may post updates to this badge sample on this wiki periodically based on feedback.

This sample badge has a new look and feel with additional detection logic and leverages AIR's "launch now" capability.

You should consider using this sample badge if:

  1. Want a new look and feel (it looks cool!)
  2. Intend to continue distributing a beta 3 application until you port to AIR 1.0. (Logic handles these situations much more gracefully)
  3. Want to leverage the application detection and "launch now" feature
  4. Want a simple way to upgrade end users to correct Flash Player version using express install
  5. Want to provide "help" links

Download

Download Install Badge (113 KB)

Features and Capabilities

  1. Leverages SWFObject to upgrade end-user to supported Flash Player version (Version: 9,0,115,0). Badge installer uses SWFObject embed method by Geoff Stearns. Developers can disable this feature.
    • Flash Player detection:
      • If Flash Player is not installed, text and Flash Player download center links are displayed to end-user. End user must install the Flash Player manually
      • If unsupported Flash Player version is installed (Flash Player 7, Flash Player 8, or pre Flash Player 9,0,115,0) , end-user prompted to upgrade the Flash Player inline via the Express Install feature. Upon successful upgrade the install badge is displayed.
  2. Additional detection logic to handle Beta 3 application deployments when end-user has Adobe AIR 1.0 installed. Please see list below for expected behaviors
    • 'Handling for Beta 3 based applications'
      • If application requires Adobe AIR Beta 3 and no Adobe AIR runtime is installed, badge will install Adobe AIR Beta 3 runtime plus application.
      • If application requires Adobe AIR Beta 3 and Adobe AIR Beta 3 is the only installed runtime, badge will install the application only.
      • If application requires Adobe AIR Beta 3 and Adobe AIR 1.0 is installed, badge will display download links requesting end-users to download the Adobe AIR Beta 3 runtime and application manually. The Adobe AIR 1.0 runtime does not support downloading or installing Beta versions.
    • 'Handling of AIR 1.0 based applications
      • 'If application requires Adobe AIR 1.0 and no Adobe AIR runtime is installed, badge will install Adobe AIR 1.0 runtime plus application.
      • If application requires Adobe AIR 1.0 and Adobe AIR 1.0 runtime is installed, badge will install the application only.
      • If application requires Adobe AIR 1.0 and Adobe AIR Beta 3 is installed, badge will install the Adobe AIR 1.0 runtime plus application
  3. Includes capabilities to detect and launch ("launch now") installed applications. Note: Application must have opted-in to be detected and launched. Pleas see Adobe AIR documentation for details on how to make your application detectable.
  4. Provides customizable "help" text and links. This allows end users who encounter problems installing the application to get more information
  5. Customizable text display

Please see the "Getting Started Guide" for features, parameters, documentation. All necessary files including the source code can be found in the .zip file.


Additional Resources


Adobe AIR documentation: http://www.adobe.com/support/documentation/en/air/

Adobe AIR dev guide for Flash: http://livedocs.adobe.com/air/1/devappsflash/

Adobe AIR dev guides for HTML and Ajax: http://livedocs.adobe.com/air/1/devappshtml/

SWFObject documentation: http://blog.deconcept.com/swfobject/

Adobe Developer Center http://www.adobe.com/devnet/air/

Flex:Open Source

From Adobe Labs

Table of contents [hide]

Adobe to Open Source Flex

On April 26, Adobe announced strategic plans to move the development of Flex to an open source model.

Overview

Adobe is announcing plans to open source Flex under the Mozilla Public License (MPL). This includes not only the source to the ActionScript components from the Flex SDK, which have been available in source code form with the SDK since Flex 2 was released, but also includes the Java source code for the ActionScript and MXML compilers, the ActionScript debugger and the core ActionScript libraries from the SDK. The Flex SDK includes all of the components needed to create Flex applications that run in any browser - on Mac OS X, Windows, and Linux and on now on the desktop using “Apollo”.

Developers can use the Flex SDK to freely develop and deploy Flex applications using either Adobe Flex Builder or an IDE of their choice.

License

The source code for the Flex SDK will be available under the Mozilla Public License (MPL). The MPL will allow full and free access to the source code, allowing developers to download, extend, and contribute to the source code for the Flex compiler and framework classes. The Flex SDK will also be available under a commercial Adobe license. Offering a choice of licenses serves the needs of enterprise Flex customers and partners.

Mozilla Public License FAQ: http://www.mozilla.org/MPL/mpl-faq.html

The annotated Mozilla Public License (explained in layman’s terms) http://www.mozilla.org/MPL/MPL-1.1-annotated.html

Schedule

The source code for the Flex framework is already available within the free distribution of the current Flex 2 SDK. By this summer, Adobe plans to put in place most of the infrastructure (public bug database and public daily builds) required to run the Flex SDK as an open source project. We expect to complete the transition to a fully open source project (source code for the compiler, infrastructure for community contributions, etc.) by early 2008.

Currently Supported Platforms

  • Windows XP, Server 2003, or Windows Vista Professional/Ultimate with Java 1.4 (Sun, IBM, or BEA) or 1.5 (Sun)
  • Mac OS X 10.4.x, Java 1.5 (as shipped from Apple) on PowerPC and Intel processor
  • Redhat Enterprise Linux 3 or 4, Suse 10, Java 1.4 (Sun, IBM, or BEA) or 1.5 (Sun)
  • Solaris 9, 10, Java 1.4 or 1.5 (Sun) Compilers only

More Information and FAQ

This FAQ will provide all the details and hopefully answer all your questions.

How can I ask more questions?

You can participate in our discussion group.