[Flashcoders] HTML templates in Flash

2006-04-27 Thread Alejandro Diaz
Hello again everyone,

Does anyone know of any documentation or explanation about some of the
variables in the Flash  HTML template files?

For example, the actual name of the file is sent through a variable named
$PO, but I seem to be unable to find anything regarding how to break this
down (since this variable apparently has a whole bunch of code in it, not
just the file name) and edit the file name.
I am basically trying to create a couple of HTML templates that have a
?myVariable=myValue  after the .swf, and I can't seem to find any
documentation or any other information online on how to do this.

Thanks in advance!
-Alex
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] HTML templates in Flash

2006-04-27 Thread Alejandro Diaz
Thanks! the explanation of some of those variables and a bit of thinking got
me to do exactly what I wanted.

In case anyone is interested, what I ended up doing is just doing away with
using $PO and $PE and building the file name using $TI and adding .swf? plus
the variables I am trying to pass.  I had to add in some of the other
parameters in that list that were part of $PO/E, like quality, etc. but that
link you sent me had the information I needed for that.

Thanks!
-Alex


On 4/27/06, Geoff Stearns [EMAIL PROTECTED] wrote:

 this page has a list of all the stuff:

 http://www.123flashchat.com/flash/20_publish16.html



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Flash Player 6 on PSP

2006-04-27 Thread Alejandro Diaz
Disappointing. I was eagerly awaiting for this to add to my reasons
for getting a PSP, but it seems that either it simply can't handle it
(which I find hard to believe, after seeing the games it runs), or
Sony is intentionally crippling things.

The PSP seems to be the poster child of missed opportunity, and it
apparently all because of an insatiable need to control everything
that goes on it by Sony, to the point of suffocation.

On 4/27/06, clark slater [EMAIL PROTECTED] wrote:
 I have been testing side by side performance of SWF content on a pocket pc
 (Asus 636) versus PSP and the difference is stunning. Surprisingly the
 performance of the Flash 6 player on the PPC is much, much better than on
 the PSP.

 Not what I expected, comparing a device running the Windows PPC platform to
 a dedicated gaming device.

 I can only see that this will add significant fuel to the conspiracy fire in
 respect of an intentionally neutered Flash player for the PSP.

 Clark
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] HTML templates in Flash

2006-04-27 Thread Alejandro Diaz
Unfortunatelly, I am sort of forced to use .swf? as it is one of the
requirements for the delivery of the flash movies I am working on (I
deliver them using a couple of different values only, it always remain
very short). But I will certainly take your advice when I am doing
similar projects not constrained by the requirements of this one

I am now writing a JSFL command so I can just export to each of those
two different templates with a shortkey, rather than having to select
template / profile each time.

Thanks once again!

On 4/27/06, Chris Hill [EMAIL PROTECTED] wrote:
 This information is in the help files, but pretty hidden:
 http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0824.html

 On a similar note I've got a flashObject template that I use:
 http://ubergeek.tv/article.php?pid=111

 But I'd like it so that Flash will automatically copy over the
 SWFObject.as for me. Is this possible?

 Thanks
 C


 Alejandro Diaz wrote:
  Hello again everyone,
 
  Does anyone know of any documentation or explanation about some of the
  variables in the Flash  HTML template files?
 
  For example, the actual name of the file is sent through a variable named
  $PO, but I seem to be unable to find anything regarding how to break this
  down (since this variable apparently has a whole bunch of code in it, not
  just the file name) and edit the file name.
  I am basically trying to create a couple of HTML templates that have a
  ?myVariable=myValue  after the .swf, and I can't seem to find any
  documentation or any other information online on how to do this.
 
  Thanks in advance!
  -Alex
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Counter in function assigned inside a for loop

2006-03-31 Thread Alejandro Diaz
Thanks guys! I was cracking my head over this one (lack of sleep
didn't help much), and of course, figures that right around the time I
send this question I stop receiving all emails from Flashcoders (did
it break for anyone else?).

Anyways, great help and pointers and I will experiment with these
tonight. Thank you all!

-Alex
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Counter in function assigned inside a for loop

2006-03-30 Thread Alejandro Diaz
Heya guys,

I am assigning the button behaviors to a set of movieclips through a
for loop, however, I am coming up against something where I know what
is happening, but don't know how to fix it.

Basically, inside that for loop I assign each of the button behaviors
as a function but I don't know how to evaluate the counter in the
function, rather than having it just literally written into it.
instead of section_+ _root.i  being  section_1, section_2, etc...it
is literally written in each of the buttons as section_+_root.i  and
so each button has exactly the same code and all go to the last
section (last value of i) when clicked.

How can I have it so that each function has the proper code it in? is
this even the proper way to go about this? Is there a way to 'force'
the evaluation of that counter in that function when it is being
assigned to the MC?



code:

function buttonBehavior ():Void  {
for (_root.i=1;_root.i8;_root.i++) {
_root[mb_+_root.i].onRollOver = function() {
   this.gotoAndPlay(over);
}
_root[mb_+_root.i].onRollOut = function() {
   this.gotoAndPlay(out);
}
_root[mb_+_root.i].onRelease = function() {
   _root.gotoAndPlay(display_frame);
   loadMovie(section_+_root.i+.swf, load_target);
}


}
}

(btw, I added the _root. to each of the i's so that the function could 'see' it.

thanks in advance!
-Alex
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] best flash actionscript book/reference

2006-03-11 Thread Alejandro Diaz
I second the recommendation to the Safari bookshelf service to get these. So
far it has paid itself back multiple times. I pretty much keep Moock's
Actionscript for Flash MX there constantly (although this one book takes up
2 of my 10 slots) for quick reference.

So far the most useful bit is being able to do a search for exactly what you
need, and it lets you know where in your books you can find it, as well as
other books not yet in your library.

(no affiliation with Oreilly here either btw)

On 3/10/06, Anggie Bratadinata [EMAIL PROTECTED] wrote:

  I think this book is nice:
 
  Object-Oriented Programming with ActionScript 2.0
 
  Robin Haffner, James Talbot, Jeff Tapper.
  Published by New Riders.

 Indeed, it is a very nice book! Somehow it made me stop reading Moock's
 book :)

 --
 Anggie Bratadinata
 Web|Graphic|Flash
 Jl. Raya Langsep 21
 Malang - East Java
 I N D O N E S I A
 http://design.ibshastautama.com


 Eskil Janson wrote:
  As a complement to Moocks brilliant, but sometimes very detailed
  information, I think this book is nice:
 
  Object-Oriented Programming with ActionScript 2.0
 
  Robin Haffner, James Talbot, Jeff Tapper.
  Published by New Riders.
 
  If you are a little less experienced programmer, you may want to
  download the errata for the book, since at least
  the erlier versions of the book was full of typos.
 
  regards
 
  /Eskil
 
  murder design skrev:
  so after not having coded in flash for about 5 years (lots of changes)
  and
  getting hardcore back into actionscript, and ESPECIALLY this list :P
  (love
  you all!) ... whats a good reference with examples for all flash as2.0
  etc
  methods objects properties etc. whats the best all around intermediate
 or
  beginner to advanced flash AS book out there.? thanks guys!
 
  -edward
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] negative depths and dynamically duplicated movie clips

2006-02-10 Thread Alejandro Diaz
Greetings all,

Hoping someone can help me out a bit in this conundrum here.
I am trying to have a dynamically duplicated movie clip that is created
whenever the user moves the mouse. When I have 'normal' values for depth (as
in anything over 0), the code works perfectly, but I need this to be
underneath all the content that is non-dynamic, and once i set the dept to
negative, the movie stops working correctly.

After a bit of reading, i found that the depth in duplicateMovieClip() is
reserved from -16383 to -1 for author-time content, leaving the single value
of -16384 to put dynamically created content underneath everything else.  Is
there any work around or trick (outside of puting the entire author time
content into a movie clip and telling that to be at a specific, higher
value) to 'free up' some more of that negative depth real estate?

Thanks in advance!
-Alex
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] negative depths and dynamically duplicated movie clips

2006-02-10 Thread Alejandro Diaz
Yep! that did it
Attaching the clips to a placeholder clip, rather than duplicating a clip
already on the stage did the trick. I guess each movie clip has its own
'depth stack', so I can put as many duplicates as I want, and they are all
where they should be, based on the placeholders position on the root depth
stack.

Thanks!
-Alex




 On 2/10/06, j.c.wichman [EMAIL PROTECTED] wrote:
 
  Hi,
  Don't know if this would solve it, but I think one way would be to order
  your timeline like this:
 
  Toplayer: all my non-dynamic stuff
  Not-so-top-layer: dummyholder clip
 
  Now on mouse move you simply attach your clips to the dummyholder.
  Since the dummy holder is on a layer below the rest of your stuff, all
  should be ok.
 
  Greetz
  Hans
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash stock ticker

2005-12-23 Thread Alejandro Diaz
Thanks for your reply Jason,

One of the concerns I had with doing the instances was that I was
erroneously thinking of a previous project, in which the size of each of
those instances would be different, but for this specific project I can
force the width of each stock data (all the info including names and prices)
to be set to a specific value, making the whole animation possible, in terms
of smoothness.

How do you suggest I do the detection to know if they are out of the viewing
area? My guess is based on the dimensions of the clip and its location i'll
be able to check if it is 'visible', but do you know of any other methods?

Thanks once again,
-Alex


On 12/22/05, Merrill, Jason [EMAIL PROTECTED] wrote:

 In absence of that, any hints of tips anyone can offer would be of
 great
 help. The way I have done some somewhat similar projects involved
 creating a
 large movie clip from the loaded data, and then calculating the width
 of
 that movie clip to use in its looping animation (using 2 instances to
 make
 it seamless).  The problem I foresee with that is that this has the
 potential of being very long, and thus might not animate smoothly.
 Does
 anyone have any general suggestions I should consider as I plan this
 project?

 Instead of making a big 'ol movie clip in a library and
 animating/tweening that, I would instead make a single movie clip which
 has a text field, and attach that to the stage, populate the stock data,
 and tween/animate with actionscript,  - you would create and destroy
 instances when they leave and exit the view area, and the data is
 dynamic for each clip.  That to me would be a better/more elegant
 approach, and if you do it right, will perform much better too.

 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









 NOTICE:
 This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received it in error,
 please notify the sender immediately and delete the original. Any other use
 of this e-mail by you is prohibited.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash stock ticker

2005-12-23 Thread Alejandro Diaz
Unfortunately, this project can't be done on Flash 8, but I certainly would
be using that if I could :)

On 12/22/05, eric dolecki [EMAIL PROTECTED] wrote:

 .cacheAsBitmap might be your best friend here :)

 edolecki

 On 12/22/05, Merrill, Jason [EMAIL PROTECTED] wrote:
 
  In absence of that, any hints of tips anyone can offer would be of
  great
  help. The way I have done some somewhat similar projects involved
  creating a
  large movie clip from the loaded data, and then calculating the width
  of
  that movie clip to use in its looping animation (using 2 instances to
  make
  it seamless).  The problem I foresee with that is that this has the
  potential of being very long, and thus might not animate smoothly.
  Does
  anyone have any general suggestions I should consider as I plan this
  project?
 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash stock ticker

2005-12-22 Thread Alejandro Diaz
Greetings everyone,

I will potentially be asked in the coming months to create a dynamic
flash-powered stock ticker, being fed data from a MySQL database. I already
have done some flash remoting before which is likely what I will do on this
project, but my question concerns more the animation aspect of the ticker.

I guess the first question is: does anyone know of a package (open source or
commercial) which offers a customizable, adminable stock ticker component?

In absence of that, any hints of tips anyone can offer would be of great
help. The way I have done some somewhat similar projects involved creating a
large movie clip from the loaded data, and then calculating the width of
that movie clip to use in its looping animation (using 2 instances to make
it seamless).  The problem I foresee with that is that this has the
potential of being very long, and thus might not animate smoothly.  Does
anyone have any general suggestions I should consider as I plan this
project?

Thank you very much in advance,
Alex
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders