Using variables in Flash lite 1.1
I tried using this line and got the error that I need to
export to Flash 5.
var myString:String = "my book";
How do you create a variable using Flash lite 1.1?
Bob
Please refer to:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=472&threadid=1234827&fo rumid=68
Similar Messages
-
Is it good to use xmlrpc in flash lite 2.1
Hi Friends,
I am new developer to flash lite and i want to use xmlrpc
protocol in my Application.
So is there any body who can suggest should i use it or not.
Regards
Ashishi have one j2me application which uses j2me xmlrpc and server
only support xmlrpc protocol. and i want to do same xmlrpc protocol
for flash lite application..
I searched also in google but not getting good search..
Regards
Ashish -
Can we use Alchemy with Flash Lite?
Alchemy can be used with Flash Lite or is it useful only for flash 8?
Alchemy requires Flash 10 and AS3, neither of which are currently supported by Flash Lite.
-
Hi
I am new to Flash lite and i am currently working on an app
for Nokia N95 for a school project. Can anyone tell my how i can
get the phone to connect to a database and then pullout data and
show them on the phone?
MortenHi Morten,
First you will need to be proficient (but not expert) in 3
technologies, databases (eg MySQL), server scripting (eg PHP) and
Flash Lite.
Then in MySQL, you set up the database to store the data.
Write a PHP script to read the data in the database, then parse and
'print' that data into name>value (eg
&variable1=data1&variable2=data2) pairs which Flash Lite
can then read as variables and values. Then you need to use
loadVars() in Flash Lite to read the name>value pairs from the
PHP script.
Thats it in its basics, there are more detailed examples in
the
Adobe Mobile and
Devices Developer Center.
Regards -
Adobe Flash Lite 3 - Nokia asha 200
what is the use of adobe flash lite 3 in nokia asha 200?
Moderator's Note: The subject was amended as the post was moved to the appropriate board.HellKing, could you double-check with FlashTester.org, please? You have to put that URL into an SMS, save that as draft, and then click on it (this open the native Internet browser). Then, you can check the version.
-
LoadVars-using send to pass a variable from flash to php
For the life of me, I've tried everything:
I've researched LoadVars on Adobe forum, used David Powers'
books, googled 'flash to php', LoadVars, etc. and tried
sendAndLoad, send, and using $_POST, $_GET, $_REQUEST.
$HTTP_POSTVARS but I keep getting this same error. any advice
please?
I have a Unix server running Apache/PHP 4 - LoadVars worked
to load name-value pairs into an array -see thread)
My goal with this simple app is to prototype being able to
pass a variable from flash to a variable in php.
Parse error: syntax error, unexpected T_VARIABLE in
flash_to_SQL.php on line 5
Actionscript 2.0 code:
var c :LoadVars = new LoadVars();
c.testing = "123FOUR";
c.send ("
http://127.0.0.1/flash_to_SQL.php","_self","POST");
php code: (I also tried $_POST, $_GET, $_REQUEST.
$HTTP_POSTVARS)
<?php
//mysql 4.1.2, php 4 , NO mysqli
ecbo $_REQUEST ['testing'];
/?>var formData:LoadVars = new LoadVars();
formData.fname = "Name";
formData.send("
http://www.website.com/flash_php.php",
formData, "POST");
<?php
$name = $_POST['fname'];
echo $name;
?> -
Using Flex 2 SDK to compile for Flash Lite 2.0
As I understand Flash Lite 2.0 is a stripped down version of
Flash 7 (that is ActionScript 2.0) with a couple of things added
for mobile specific things. But is it possible to use the free Flex
2 SDK to compile a SWF that will run on Flash Lite 2.0 (or Flash 7
for that matter).
ZarathrustaI'm not familiar with Flash Lite 2.0, so maybe I shouldn't be
answering this, but I've used the SDK for several projects and I
believe that like Flex Builder it requires at least Flash 8. So, if
FL is comparable to Flash 7, I doubt if it would work. Just my
humble opinion, but hope it helps.
Later,
Andy C.(never #) -
[Apps] Name Card Application developed using Adobe AIR and Adobe Flash Lite
An University student currently undergoing his research
project had developed this application in order to help him with
his research project. Please kindly try the application and take
the survey form provided at the bottom of this message.
This application allows you to store name card details. The
application compromise of both PC (Windows / Mac) and a mobile
phone component. Users will be entering the name cards information
using the PC component and he will be sending it to the phone. The
phone component will read the data created by the user and display
it accordingly.
This application requires Adobe AIR and Adobe Flash Lite to
work.
Please click on the following URL for more information.
http://www.pda4x.com/read.php?tid=68835
Note: I sincerely hope that the Administrator will not delete
this message.Great Job!
-
How to use Flash Lite 2.1 as ActiveX component in WM application
How to embed Flash lite 2.1 as an ActiveX component in
Windows Mobile application(in C#)?
From where can i include the supporting flash lite 2.1 dll's.
Thanks in advance.
Waiting for your reply.I'm having a similar (or the same) problem: I want to embed a
flash lite (2.0) as an ActiveX component into Windows Mobile. I'm
using Visual Studio 2005 (VC). For the desktop it works pretty
well, but for the mobile emulator, the flash component shows no
video. No errors are thrown.
could you solve your problem, kts_82?
Thank you. -
AS3.0 External Interface: Pass variables to flash using javascript
Hello all,
I am looking for a simple and straightfoward example of how I can pass the value of a variable into flash using javascript.
Specifically, I'd like to use javascript to pass the filename of an external video file that I would like to load into my flash movie.
I'd also like to call a function in the SWF that plays the movie once the filename as been passed to the flash movie.
External Inferface looks like the way to go.
I've found a few decent AS2.0 examples, but converting them to AS3.0 has proven difficult and many of the examples are much too complex for what I am trying to do.
If you have any code samples or tutorials showing the HTML/Javascript and the associated actionscript I'd really appreciate it!
Thanks!
Timif you create a swf (eiTest.swf) and html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>eiTest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript">
function thisMovie(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName];
} else {
return document[movieName];
function f1(value) {
thisMovie("eiTest").jsF(value);
</script>
</head>
<body onload="f1('yourfilename.ext');">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="eiTest" width="550" height="400"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="eiTest.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#869ca7" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="eiTest.swf" quality="high" bgcolor="#869ca7"
width="550" height="400" name="eiTest" align="middle"
play="true" loop="false" quality="high" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</body>
</html>
you can use:
import flash.external.ExternalInterface;
ExternalInterface.addCallback("jsF", asF);
function asF(fileS:String):void{
trace(fileS); -
Photo editing software using Flash Lite
Hi all, I had been searching for an answer to this question
for quite some time and did not find any. Please help. Is it
possible to create a photo editing software using Flash Lite for
Nokia devices? Am expecting features such as brightness, contrast,
cropping, save and load function, etc... I am not expecting to
create it myself, but outsourcing the development.
If you know of any good development house, please let me
know.I've used GIMP for years, which is a powerful photo editing program.
-
How to Use Flash Lite 2.1 on Nokia N70-1
I have downloade Flash Lite 2.1(S60-v2) from the Adobe web site to my new Nokia N70-1. But I can't see any use for it since it doesn't integrate with the default browser or the pre-installed Opera browser as the Flash Player on the PC does with Internet Explorer or Firefox. Can anyone please help me to sort this out. Thank you in advance for your support.
If you downloaded it from Adobe's developer site, then it is a developer version, and it'll work with "standalone" Flash Lite files stored locally on the phone (there's no browser support, no browser plugins included).
-
Can we use flash lite 3.0 generated SWF in html as normal SWF?
Hi all
I would like to us the flash lite generated swf in a html page as normal flash file do.
I would like to pass the flash vars to SWF(flash lite) and load the swf with the parameters
is it necessary to have a flashlite 3 player in the mobile?
any work around?
thanks in advance.My problem is
I have a html page which displays the list of videos when the user select the video from the mobile browser
I need to load the SWF in the mobile with the selected video with options play and back
as you said we cant pass FlashVars to SWF (not supported) is there any other option which full fill my requirement?
thanks in advance. -
Serious bugs in Flash Lite 2.1
I've noticed some pretty serious problems when when working
with Flash Lite 2.1 on on a device, on a device simulator, and on
the Flash 8 emulator. There were no Object watches or any other
kind of behind-the-scenes mayhem when I found these bugs. Here's
just a small list of issues that have gone wrong (among other
things):
1. The Number data type is flaky at best. When doing a
trace() on a variable of type Number, the value will change from
signed to unsigned depending on what was done with the variable
even if the actual contents haven't changed. For example I tried
doing a bitwise OR on a Number that had 0xFFFFFFFF in it, and the
interpretation switched from unsigned to signed.
2. It seems that when I do an add 0 to a _y member of one of
my MovieClips the contents of my movie EXPAND AND SKEW to extreme
extents. I don't even know how this is possible, because nowhere in
my application do I modify _width/_height, or any scale property
values of ANY MovieClip objects (only read them).
3. When testing my app on a device (LG VX8000), Flash Lite
began IGNORING certain core language operations (adding / creating
an empty movie clip / etc..) RANDOMLY if I start mashing keys fast
enough (happens sometimes even if I don't mash keys).... operations
which work 100% of the time in the Flash 8 device emulator both
with a low and high FPS rate.
4. When retrieving _y and _height properties of a MovieClip,
in certain places these properties were INTERCHANGED WITH EACH
OTHER if I didn't add trace() calls to print their values before
hand. Taking out the trace() calls caused the values to continue
being swapped.
These are pretty serious issues that are making my app
unstable all around. My application is entirely based on the basics
of ActionScript 2.0. I can assure people reading this that the
problems are not because of bugs within my application. Has anyone
come across any of these problems before? Can anyone at Adobe
provide information or workarounds/support.
It's a shame to see such huge bugs in the Flash Lite
VM.Hello,
I'm the PM for Flash Lite, and thank you for your interest in
our products.
Let me clarify the purpose of the Windows Mobile 5 release of
Flash Lite. As you are aware, we license Flash Lite to our OEM
customers so that they may integrate Flash Lite into their mobile
phones. Flash 7 SDK is not targeted at regular mobile phones - just
the pocketPC.
There are differences between Flash Lite and Flash Player 7
in that FP7 supports video and Flash Lite 2.1 does not. this is the
most fundamental difference between the two.
If you are building content that you expect will run not only
on PocketPC, but other mobile phones as well, then FL2.1 for WM5 is
a good starting place to test and try out your content because when
OEMs ship phones with Flash Lite 2.1 already preinstalled, your
content is "good to go".
Flash Lite 2.1 authoring is supported as an "add on" to the
Flash 8 authoring tool. Please check out our Flash 8 tool section
on Adobe.com here
http://www.adobe.com/devnet/devices/
- select the Flash Lite 2.1 for Flash Professional 8.
You will need to use Flash 8 authoring with update for Flash
Lite 2.1 to create/author your content.
CDK = Content Development Kit - contains tips, samples etc.
Flash Player 7 SDK - this is a kit not for developers, but
for companies that may want to embed Flash Player 7 into their
devices such as set top boxes or game consoles. We give these
customers source code of the Flash 7 player.
The Flash Player 7 for PocketPC will play back Flash 7 and
prior versions of Flash content.
I would encourage you to read up on more of our online
resources and as you get more familiar with Flash, you will
definitely see that it is a very compelling application development
platform and join the thousands of other flash developers.
best regards,
Vinay -
Flash Lite Interaction with JavaScript
Hi,
I try to call SetVariable() from javascript to Flash Lite 2.1
(WM2005 - PIE), the function is undefined.
Do you know a way to pass variables to Flash?
Thanks
AlainTo my knowledge, Flash Lite 2.1 for Windows Mobile is only
available to developers as a standalone player not as an activeX
control for PIE. The standalone would not be integrated with the
browser and would not respond to javascript.
Are you sure you are using Flash Lite 2.1 or are you using
Flash 7 ActiveX for PPC types of devices?
Maybe you are looking for
-
My mac book panic'd 3 times in 1 hr. 2 of them because of my airport and once because of my cisco vpn. 1) What's wrong with my airport? Why does it join any open network even though I set the "ask before joining a network" The panic happened once in
-
Selfservice option is not coming up in Home workcenter in portal
Hi Experts, The following 'Self Service views' are not available in the path in portal Home ==>Self-Services==> Self-Services Overview action i have taken 1) Set the evryone group permission in system admininstration. Is this issue related to uploadd
-
Class organisation of a GUI based application
I am interested in some tips on how to organise classes in a application that has a GUI. I am not sure how many classes should i have. Should there be a new custom class for every component i use? Or should i make custom classes only for containers l
-
Hello, I have created the VBox component below with a number of buttons in it, what I am trying to do is change the style of the pressed button to the style "mainButtonSelected" and ensure the previous selected button has it's style set to "mainButto
-
Pixel Aspect Ratio used by Adobe OnLocation
QUESTION: What is the pixel aspect ratio used when AVI T1/T2 formatted files are generated? CASE 1: After specifying AVI T2, recording video and importing it into Premiere 6.5 (With Matrox RT100) it says that PIXEL ASPECT RATIO is 0.889 and audio 48K