Document Class with Flash Lite 4.0
I'm developing for Flash Lite (4.0) for the first time and I see that in the properties panel the Document Class section is grayed out. Does this mean that Flash Lite doesn't utilize a Document Class? If so, am I unable to use any external classes? I'm not going to have to code on the timeline am I? (shudder)
I've noticed that I can set a Document Class in the Actionscript Advanced Settings, will that work? Why is it not available through the properties panel?
Thanks for any help.
im wondering the same thing.
my first thought is to include a .as class through a timeline include statement, kind of like as2 practices
Similar Messages
-
Loading text file with flash lite 3.0 problem
Hello,
I recently ran into a problem with loading a plain text file with Flash Lite 3.0.
I know there is a way to load name/value pairs using LoadVars class or XML file using XML class. Both methods work great, but these classes parse the data loaded and I need to load just a plain text - no pairs or xml structure. (its because Im loading specific file format, so I can't make any changes to it)
There is a simple way how to achieve this in Flash using Actionscript 2 by extending the LoadVars class and overriding the onData() method. I used it plenty of times and it works fine.
There is an example of implementation:
// the PlainData.as file
class PlainData extends LoadVars {
function onData(str) {
trace(str)
this.onLoad(true);
// now in the main file
var my_data:PlainData = new PlainData();
my_data.load("my3dmodel.obj");
This code traces unchanged content of my3dmodel.obj file.
The problem comes when I try to run this code using Flash Lite 3.0. The code stops working just by changing player version in publish settings to Flash Lite 3.0. It doesnt display any error, but also doesnt trace any content.
Is there a reason why you cant override onData method in LoadVars class in lite version of flash or am I doing something wrong?
(also overriding onLoad() method works fine in Flash Lite)
OndrejThanks Man
But i m very unhappy !!! :-(
1M data to transfer my mp3 files is very small !!! hehehe
Thanks a lot
See ya
Carlos Eduardo Burko - Curitiba - Brazil - Macromedia
Certified Professional
"biskero" <[email protected]> escreveu na
mensagem
news:e98nrb$a6e$[email protected]..
> Ciao Carlos,
>
> yes you can load mp3. The only issue is that the FL2
will need to load the
> entire mp3 in memory which mean you are limited to the
avalable memory and
> also
> there is a limitation of 1M data transfer.
> Try to create a sample application to test it. You need
to use the
> loadSound
> API.
>
> Alessandro
> -
Access to Samsung Omnia Accelerometer and Microphone with Flash Lite?
Hello everybody,
I' like to ask a few things:
- Is it possible to access the Omnia accelerometer through our flash lite application?
- Is it possible to capture audio from Omnia microphone, through our flash lite app?
Thanks in advance.Hi,
At this time we do not support these features with Flash Lite, we're working on it though!
Regards,
Mark
www.flashmobileblog.com -
HP iPAQ with flash lite compatibility
I'm thinking of purchasing an HP iPAQ for the purpose of
maybe adapting a SWF app to work with this phone/pda device. This
device comes with Windows Mobile 5 For Pocket PC Phone Edition, I
was wondering if anyone knows if this OS is compatible with Flash
Lite. I know that Windows Mobile 5 is, but I wanted ot make sure
the phone edition was as well, the Flash Lite section of this web
site does not mention this OS version.... and when it comes to OS's
I trust nothing!!
If anyone can provide any inpute, I would apreciate it!!!
CarlosFlash lite 3,0 and 3,1 are based on Flash 8, for most of sites you have to have version 9 or earlier...
With Flash lite 3 you can browse only sites like youtube, which has special player version for these phones. (and work only on s60v3, on s60v5 you have to use app)
Flash lite 4 s based on Flash 10. Unfortunately, Flash lite 4 supports only new Nokia Symbian^3 and some Android devices. Browsing web with Flash lite 4 is much better and you can open about 90% flash content... But, it will probably never be avaliable for older (s60v3 and v5) smartphones.
E75 (RM-412) fw: 211.12.01 -
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.
-
Query string with flash lite, possible?
I searched the net and Adobe website, read the complete i-mode document provided by Docomo (on adobe site) and couldn't find any information on the subject. I'm trying to figure out if this is something specific to the Japanese market or all flash lite players react the same way. I will explain my issue.
In flash, you can pass variables as a query string like this:
http://www.mysite.com/myFlashFile.swf?val=1&val2=2 (etc)
Those variables will end up on the root time line. After doing some testing, I cannot receive any of those variables if the version of flash lite is lower than 3.0. It happens for Docomo, AU, Softbank carrier, all japanese ones I tested. If I test with the Docomo emulator, I can reproduce this behavior.
Does this behavior is by design? Nobody seems to be talking about it.
Thank you for any information on the subject.Hi Collin, Did you find the solution? I am facing similar problem where I do not want to send any xml/payload. Invoke PI interface with URL only. Please help.
-
Problem with Flash Lite in Nokia 5800 XpressMusic-Problema con Flash Lite en Nokia 5800 XpressMusic
I've got a problem playing videos in YouTube with my 5800. Recently I updated my version of Flash Lite to 3.1, from that day I can't see correctly videos on YouTube, when the the indicator of the bar reaches 1/4 of the totallity of the bar, the sound and image stop, but the indicator continues playing. If i want to see completly a video I have to put the indicator in the start of the bar and wait the load again. Some idea to fix this problem?
Sorry for my English level.
Tengo un problema reproduciendo vídeos en YouTube con mi 5800. Hace poco actualicé la versión del Flash Lite a la 3.1 y desde entonces no puedo ver correctamente vídeos de YouTube, cuando el indicador de la barra alcanza 1/4 de la distancia total, se detienen el sonido y la imagen, pero el indicador continúa como si siguiera reproduciendo, es decir para el vídeo es como si siguiera reproduciendo pero ni el sonido ni la imagen continúan., para ver los vídeos tengo que llevar el cursor de carga al principio y esperar la carga de nuevo, es un problema realmente molesto. ¿Alguna idea para solucionarlo?Hi,
I have Nokia 5800XM as well. The YouTube videos are playng fine for me. my FW is 40.0.005 with FL3.1
Maybe you need to update your device's firmware and FL version.\
Start Device Manager application on your 5800XM from menu or dialing *#0000#. It will check for new updates and ask you to download them. Remember that these updates are in MBs. I'd recommend update using a WiFi connection or flat-rate data plan.
Best,
// chall3ng3r // -
Need help with flash lite 2.0 update for flash
Hello
I am having trouble with the flash lite 2.0 update. I
installed the update sucessfully and restarted my system. When I
open flash(pro), there are no templates, api's, or emulators of the
flashlite 2.0 phones. Please let me know how I can fix this
problem. ThanksWelcome to the forum.
First thing that I would do would be to look at this Adobe KB Article to see if it helps.
Next, I would try the tips in this ARTICLE.
If that does not help, a Repair Install would definitely be in order.
Good luck,
Hunt -
Flash 8 Documents created with Flash 9 *Solved
I have an issue with opening Flash 8 Documents that have been
created with Flash 9.
When I created a new file in Flash 9 and save it as a Flash 8
Document we are unable to open the file on a computer with just
Flash 8. I have both Flash 8 and 9 installed and can view it fine
in Flash 8.
Is there something that is installed with Flash 9 that would
explain this, or is there something more to this issue?I do it all the time without any problems. What error message
do you get?
Can you open this test file:
http://www.johnkalnin.com/flashhelp/CS3toFlash8.fla
I created it in Flash CS3 and Saved as Flash 8. It opened
fine in Flash 8 for me.
Are you making sure you are creating a AS 2.0 file in CS3 and
not AS3.0? -
Device caching with Flash Lite
Hi, could anyone give me some info on content caching when
using Flash Lite on a device?
I have some swf's that sit on a server and are loaded by a
client.swf that sits on my Nokia N70. Each of the swf's from the
server use shared fonts that reside within a fonts.swf file that
also sits on the server.
Does anyone know if fonts.swf is cached on my device after
it's first loaded, or does the Flash player reload fonts.swf each
time a new .swf that requires it is loaded?
I had thought that if caching doesn't take place, then I
could possibly keep fonts.swf stored locally on my device and have
each of the remote swf's simply use the local copy of fonts.swf for
faster access. Is this possible? And if so, how would I point the
URL property for each shared font back to my local device?
Thanks.
Chi,
FL currently does not feature this option. one thing you can
use is Flyer, which is a PyS60 application to help FL developers
extend thier FL apps.
you can also add any additional features in Flyer.
http://www.felipeandrade.org/flyer/
best,
// chall3ng3r // -
Dear Friends,
I have a flash movie of 2400 frames.which is having 50fps.its
contains few animations.Creatd in flash tru device central 2.1.And
i copies to my Nokia E90.Its playing but it after 12 secs its stops
itself.i tryd my best but result is same.this was my first attempt
using Flash lite 2.1.Plaz help me to solve this problm.
FictiveHawkHi all,
well fictivehawk, will be nice if you can share a link of your flash file. I just wonder how you create the images, graphics and animation. You can minimize the usage of memory if used proper technique while develope the app...i guess, rite? ;D -
Opening other applications with Flash Lite.
I'm sure it is pretty straight forward, but I have no idea
how to link an application to a button in Flash Late. I have
created a series of buttons, most of which launch a URL. This works
fine, but I have no idea how to link the button to the text
messaging, games, music or any other phone application. Someone
please help.
Thanks
Jessmaybe this helps:
fscommand(command:String, parameters:String) : Void
on(release) {
status = fscommand("launch", "path_to_app, arg1, arg2,...,
argn");
for sms messaging:
on(release) {
canSMS = System.capabilities.hasSMS;
if (canSMS) {
myMessage = "sms:4156095555?body=sample sms message";
getURL(myMessage);
Jarek -
How to get started with Flash-Lite
Hi,
I have been a Flash Designer/Developer for around 7 years.
I'm now looking to get into the growing market of creating
Flash apps for mobile devices. At first glance there seems to be a
lot to take in.
I was just wondering if any of you guys could recommend any
good books or online resources on the subject to help get me
started?
Kings regards
Ant> I have been a Flash Designer/Developer for around 7
years.
> I'm now looking to get into the growing market of
creating Flash apps for
> mobile devices. At first glance there seems to be a lot
to take in.
> I was just wondering if any of you guys could recommend
any good books or
> online resources on the subject to help get me started?
There's a ton of information on the Adobe web site, including
and SDK. Start
here
http://www.adobe.com/mobile/special/flashpro8_features/
HTH
Steve
Adobe Community Expert: Authorware, Flash Mobile and Devices
My blog -
http://stevehoward.blogspot.com/
Authorware tips -
http://www.tomorrows-key.com -
Preloader and Document Class BIG question (yeap please help)
Hy,
I know that this its a question posted many, many times, but
after searching the net, reading a lot of books and searching this
forum too, I cant get out with a solution. If I'd say for sure
there is no possibility to create something like this, I just go
back to old methods but is not the scope of Adobe with AS3 to
encourage the use of OOP principle or not?
The problem:
I have a single fla file (AS3) with a single frame on
timeline, frame that its there when you will create the file with
flash. In the library I have different symbols, that for simplicity
are only jpg image, (BitmapData) checked for export for
ActionScript and exported on frame one. An external .as file called
DocumentClass its off course my Document Class
This its all that I want to do with the fla, the goal its to
create, animate etc. only with AS3 in external classes, no timeline
script. I don't want to load external files, XML, or else in this
movie. I just want a single swf after compilation, no additional
files.
Ok, how do I create a preloader that will take care of
starting the logic after the whole swf its loaded and in the same
time shows the user a percentage or a load bar or something that
its not the blank screen when the swf its downloading. I want to do
this without another swf that load this swf, or timeline scripts,
or place all the content on second frame and then gotoAndStop to
the third frame. All this are not solution but cheap tricks, that
are against all this OOP principle that I just continue to read in
books and here from guru programmers.
The big question is:
It is possible to create a preloader, when use a document
class with your fla? And if yes, how?
I know that the Document Class its not instantiated if its
not fully loaded, if that's true when the document class will be
fully loaded? maybe after the whole movie its loaded? And, if its
true, it will never show a percentage bar "while" the movie its
loaded. And if that's true WHY use a document class anyway?
Thank you for reading this and I really wait to get some
answer.I am pretty sure you cannot do self preloader with one frame
and all the objects in the library. I guess the key here is
one-frame design. Screen refreshes (renders) only when all the
scripts in the frame are executed - this is a very important thing
to understand about how Flash works. Yes, you can force screen
refresh with updateAfterEvent() method but it is attached to a
handful of events only (MouseEvent and TimerEvent) but, again, all
this functionality is available only after first frame scripts are
executed. Thus, it seems like the only way to create preloader from
within SWF is to use multiple frames and set library objects to
load in later (not first) frame.
quote:
And if that's true WHY use a document class anyway?
Well, preloader is the last thing that would be on my mind in
terms of using AS3 ability to link DocumentClass to the top movie.
This feature allows for very sophisticated architectural
approaches. It has no connection to preloader as to any other
features developer wants to implement. Neither it depends on or
negates timeline. As a matter of fact, although I love one-frame
applications, I find on numerous occasions that my application
would be more efficient if I used several (at least two) frames.
gotoAndStop is not deprecated. It is a valid MovieClip class'
method. After all, having only one frame doesn't mean not having
frames at all - there is one already. Frames are fundament of
Flash. AS3 did introduce frameless entities like Sprite, etc. but
it doesn't mean that frames are going anywhere.
I would agree that timeline code is inferior to
classed/packaged (read: better organized) code but, still, how is
it not OOP? Frame is an Object, right? Why using timeline is cheap
and not a solution?
On a side note, I see too many times how some authors (and
managers) are pushing their agenda (or close mindedness) onto their
audience with no real substantiation. Claiming that timeline in
Flash is not valid architectural decision from OOP standpoint is
totally wrong. As wrong as strict adherence to design patterns. I
don't think there is sharply defined "right" or "wrong" in
programming. One finds the best optimal solution. The goal is to
create something that works fine. Unless, of course, the process is
the goal - but very few of us can afford focusing on the process. -
I need some info about the Document Class.
Hi,
I need some information about the Document Class, can anybody
tell me where I can find it.
thanksEmad Zedan,
> I need some information about the Document Class, can
> anybody tell me where I can find it.
The concept of the document class was introduced in Flash
CS3. What it
does is allow you to optionally associate a custom AS3 class
with your FLA
in the Flash authoring tool. Your document class effectively
*becomes* the
main timeline. This is your chance to influence the
underlying behavior of
the MovieClip or Sprite instance that serves as the
foundation for your SWF.
If you don't associate a custom document class with your
FLA, the FLA is
associated automatically with a default document class called
MainTimeline,
which extends MovieClip.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."
Maybe you are looking for
-
AI Waveform Scan(scalled array).vi
I am getting data from AI Waveform Scan(scalled array).vi; the output is 2-D array, which I pass through Index array (with index value 0) to get data from one channel. It's output (1-D array) I pass to subvi which is only formula node within while lo
-
Using more than one time capsule
Is it possible to backup my MBP to 2 different time capsules in 2 different locations and have the same backups? for instance, I'd like to back up my MBP at home every hour and also backup at my office every hour when I'm there. I'd like both to back
-
URGENT!!! inlineRendering of URL-Based Portlet problem !!!
Hi there; About one month ago I faced a problem which one of the other member has faced it too. He posted the problem and till now nobody has answered it. Any clue in this following regards? I have deployed a simple url-based portlet on Oracle9iAS po
-
When attempting to enable ARCHIVELOG mode, I received the error ora-19905: log_archive_format must contain %s, %t and %r And now the database will not startup, at all. I have an ASM setup! I've looked at the Docs on Metalink and they don't address fi
-
IE in windows 7 won't downlaod firefox, says file is not available
I had to do a system rcovery on my Toshiba laptop. I can get on the web via my home network but when I tried to download firefox 3.6 from Internet Explorer I get an "unable to open this internet site. The requested site is either unavailable or canno