RE: [Flashcoders] Mailing Lists and Tools

2013-05-23 Thread Marco Terrinoni
Think Sublime Text 2 has a lot of those functions in the packages repo. You
can also version control via github as well as SVN. 

Reason I switched from DW was due to the CSS pre-processor packages for SASS
and LESS, and LiveReload makes authoring css so much easier.

Tis an amazing text editor, but it's horses for courses really. I still use
DW to setup sites and configure localhost server settings, but that's about
it. 


Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kenneth
Kawamoto
Sent: 23 May 2013 17:15
To: Flash Coders List
Subject: Re: [Flashcoders] Mailing Lists and Tools

I know it's a long tradition to laugh at Dreamweaver as substandard tool,
but I actually use it daily, for two reasons: 
1. Comprehensive jQuery auto-completion/code-hint as well as PHP 2. Built-in
FTP  SVN client Obviously never touch the WYSIWYG editor.

Please let me know if there are alternative with above equipped. I don't
like to be laughed at. But I know none.

Kenneth Kawamoto
http://www.materiaprima.co.uk/



On 23 May 2013, at 16:17, James Merrill wrote:

 I've been moving to StackOverflow for questions, and Reddit's coding 
 subreddits for general programming discussion  Here's a URL that 
 bundles a bunch of good programming subreddits:
 http://www.reddit.com/r/webdev+web_design+html+css+programming+learnpr
 ogramming+design+ProgrammerHumor+html5
 
 As for an IDE, I would highly discourage you from using Dreamweaver. 
 There are much better tools that are cheap/free. I am currently using 
 Aptana, which is Eclipse based and contains tons of helpful features. 
 I am moving towards using SublimeText as my primary IDE. It's 
 extremely streamlined and elegant, and I highly suggest checking it 
 out. Adobe has been working on an IDE called Brackets that looks pretty
cool too.
 
 
 
 
 On Thu, May 23, 2013 at 11:06 AM, Kerry Thompson
al...@cyberiantiger.bizwrote:
 
 I've found Dreamweaver to be a good tool for HTML5. when you get 
 JavaScript under your belt, take a look at JQuery. it will save you a 
 lot of development time.
 
 Mailing lists are pretty quiet these days. I don't know where the 
 programmers congregate, but my colleagues in the French Horn world 
 have moved to a Facebook group.
 
 Cordially,
 
 Kerry Thompson
 On May 23, 2013 9:52 AM, Bryan Thompson br...@swfmagic.com wrote:
 
 I know many developers are migrating towards HTML5/CSS/JavaScript. 
 Google reveals a multitude of results for mailing lists.  I hope to 
 take
 advantage
 of the experience on this list to get some advice on good quality 
 lists like this one.  I also would like recommendations for 
 (Windows) IDE's for JavaScript, or general HTML5 development 
 including all the supporting languages. I have Dreamweaver, but that 
 seems a bit of overkill for a developer.
 
 Thanks in advance guys!
 
 
 
 Bryan Thompson
 
 ___
 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
 
 
 
 
 --
 James Merrill
 ___
 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
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3343 / Virus Database: 3162/6348 - Release Date: 05/22/13


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


RE: [Flashcoders] AS3 finally..

2013-05-21 Thread Marco Terrinoni
Check your junk mail Karl, sent you a PM but may have got filtered

Cheers


Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: 21 May 2013 18:50
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 finally..

Oh well hot dog I can afford that! :)
Thanks all. 

Karl

Sent from losPhone

On May 21, 2013, at 11:44 AM, mike g mike.ogr...@gmail.com wrote:

 $8.49 here:
 http://www.ebay.com/ctg/Essential-ActionScript-3-0-Colin-Moock-2007-Pa
 perback-/59066703
 
 On Tue, May 21, 2013 at 9:02 PM, Matt S. mattsp...@gmail.com wrote:
 
 You can get Moock's book for $26 on Powells:
 http://www.powells.com/biblio/1-9780596526948-6
 
 Its been out for a while now though, so I would hit your local used 
 bookstore, I'm willing to bet there's a few copies out there, you can 
 probably score it for $10 or something.
 
 Not that Moock doesn't deserve full-price for this invaluable 
 resource of course! And whatever you pay, it's simply required 
 reading if you're serious about AS3.
 
 .m
 
 
 
 On Mon, May 20, 2013 at 11:57 PM, Karl DeSaulniers 
 k...@designdrumm.com
 wrote:
 
 Thank you John. Yes, I have already watched some really good tuts on 
 gotoandlearn and plan to watch more when I start working on my project.
 My book is from lynda.com too. Going to invest in Moocks book as 
 suggested earlier as well. Just need to gen some funds. :)
 
 Karl DeSaulniers
 Design Drumm
 http://designdrumm.com
 
 
 
 On May 20, 2013, at 10:30 PM, John R. Sweeney Jr. wrote:
 
 Or subscribe to http://www.lynda.com
 
 Excellent training tutorials on tons of software. Very in-depth, 
 but
 you
 do pay for it.
 
 If you know AS2,  check out www.gotoandlearn.com. Many free 
 tutorials
 on specific tasks, but you'll see them working and their AS3 code, 
 so you can start making the correlation between what is different in 2
versus 3.
 
 
 
 John R. Sweeney Jr.
 Senior Interactive Multimedia Developer OnDemand Interactive Inc 
 Hoffman Estates, IL 60169
 
 
 
 
 On May 20, 2013, at 9:25 PM, Rick Hassen wrote:
 
 but you may want to consider getting a good AS3 book.
 
 
 ___
 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
 ___
 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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3336 / Virus Database: 3162/6341 - Release Date: 05/20/13


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


RE: [Flashcoders] Adobe Flash future

2013-05-09 Thread Marco Terrinoni
Everything James said. Also where once the Creative suite provided an entire
pipeline for workflow I can honestly say we barely touch it anymore. A
little FW and PS. Maybe a little Illustrator from time to time but that's
it. With their new licensing model I think they're singing their own death
certificate because most savvy designers know the software doesn't change
much over a short enough period to warrant a monthly subscription and will
find alternatives



Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of James
Merrill
Sent: 09 May 2013 16:19
To: Flash Coders List
Subject: Re: [Flashcoders] Adobe Flash future

From my perspective as a former Flash Developer at an Ad agency, I 
can't
imagine us getting any more serious Flash work. These days we still use
Flash for banner ads, but that's it. We've tried using Adobe Edge to do
HTML5 banners, but it was an awful experience. I rest ALL of my blame on
Adobe for both of these situations, not the underlying technologies.

If you're betting on Adobe, you're going to lose. They've royally screwed up
how they handled this whole Flash fiasco in the last five years. I have ZERO
faith in their Edge HTML5 platform, and I suggest that you don't buy the
hype. Adobe makes good designs software, and that's it.

As AS3 Flash developers, we understand the complexities of RIA's much better
than your average Javascript programmer. We've been doing AJAX far before
it was popularized in mainstream web development. It was sendAndLoad to us
in AS2. We understand animation, interactivity, and user experience much
more than most. That's our strength, and it transcends Flash. A lot of you
may not believe me, but it's becoming a reality that you can make Flash
quality experiences in modern browsers.

As for coding HTML5/CSS/JS in an opensource IDE with Greensock JS, Angular,
or even Jquery, it's getting better. Javascript is not as elegant as AS3,
actually it's more akin to AS2... But progress is being made with new
releases of ECMAScript, and MV* frameworks like Backbone and Angular.

I miss the good ole days of Flash... But times are exciting as a web
developer, I've found some comfort in embracing the change.



On Wed, May 8, 2013 at 3:42 PM, Kevin Newman capta...@unfocus.com wrote:

 On 5/8/13 2:20 PM, John R. Sweeney Jr. wrote:

 Please tell me another software that I can build an app that runs on 
 PC/MAC/Linux/iPad/Android/Web (non-mobile)?

 NME / haXe, or with a bit of additional work, Xamarin (with the 
 various Mono ports) - or Unity3D - based on the same tech. There are 
 dozens of C/C++ based cross platform frameworks as well - Cocos2D,
MarmaladeSDK, etc.
 Some scripting engines, CoronaSDK, LoomScript, etc. I still think 
 Flash has an edge (except maybe over Xamarin), but tell that to Adobe.

 I wish Adobe was as enthusiastic about defending Flash as you are. 
 That would go a long way toward convincing potential buyers, that the 
 platform isn't going to evaporate tomorrow. As I said in another post 
 - Flash and AIR are great tech, but Adobe's public support is 
 nonexistent, which is sad, because it wouldn't take much.

 Kevin N.


 __**_
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.**com 
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://cha
 ttyfig.figleaf.com/mailman/listinfo/flashcoders




--
James Merrill
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3272 / Virus Database: 3162/6308 - Release Date: 05/08/13


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


RE: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

2013-01-25 Thread Marco Terrinoni
Not too sure about conferences. We have UX in London but not sure how much
focus is on JS.

On the forum / educational side I have found the following resources
invaluable: 

CSS
www.css-tricks.com
Chris Coyier's screencasts and blog posts are awesome for learning simple
and advanced css authoring and keeping up-to-date with best practices. 

Experts Exchange
http://www.experts-exchange.com/
This is a subscription based service but the quality of programming advice
for every language including JS is well worth it

For IDE's it's difficult and for me, the single biggest barrier to entry
because of the huge number of development options. The key is to find a
workflow that works best for you but the following resources I cannot
recommend highly enough:
- Sublime Text 2
- Wordpress (Bones HTML5 Development Theme)
- CSS using SASS (Compass.App)
- Greensock Animation Library

Sublime Text 2 - Text Editor
http://www.sublimetext.com/2
There are thousands of extensions and packages I don't know where to begin

If you're learning HTML5 then learning responsive design techniques is a
must - this involves using CSS media queries so once you have grasped the
basics of CSS, be sure to move to using pre-processing language like SASS or
LESS - there's a great article on css tricks about the benefits and merits
of each method. I use SASS and it's sped up my whole development  process 10
fold!). To do this on Windows I use compass.app

http://compass.handlino.com/
If you're using Mac, then Codekit includes libraries for compass.

I do a lot of web development in Wordpress, there are a lot of great
resources out there but if you're really looking to learn best practices for
Responsive Web Design then you cannot go wrong with the Bones HTML5 Theme,
amazingly well commented
http://themble.com/bones/


Animation:
jQuery is obviously ubiquitous but if you're a flasher then you've probably
used Tweenmax in AS3 and if you loved using that as much as I did then you
should definitely try the new Greensock for JavaScript library. 
http://www.greensock.com/
It provides a nice, familiar syntax and a ton of plugins that make animation
in html5 a lot easier than using jQuery plugins which seem to have a short
shelve life due to continual updates of the jQuery library (Can also be used
on conjunction with jQuery).

I haven't tried Sencha yet but look forward to dipping my toe soon.

If you're looking to develop purely in Javascript using MVC design patterns
then a framework like backbone.js , dojo or node.js get a lot of mentions
though I haven't looked into any of this seriously yet.


Cheers


Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
Jason
Sent: 24 January 2013 19:18
To: Flash Coders List
Subject: RE: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

Thanks Dave - I have found a few of my answers on Stack Overflow in the
past, I like it. Is it web browser only or can you subscribe like a mailing
list? I think I prefer that format. 

Jason Merrill
Instructional Technology Architect II
Bank of America  Global Learning 
 703.302.9265 (w/h)







-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Dave Watts
Sent: Thursday, January 24, 2013 2:12 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

 Oh, and as a side note, does Fig Leaf host a similar mailing list like
this but for Javascript / AJAX'y stuff?

We do not. I personally tend to just rely on StackExchange for JS questions.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule,
and provides the highest caliber vendor-authorized instruction at our
training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

--
This message, and any attachments, is for the intended recipient(s) only,
may contain information that is privileged, confidential and/or proprietary
and subject to important terms and conditions available at
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended
recipient, please delete this message.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2890 / Virus Database: 2639/6056 - Release Date: 01/25/13

RE: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

2013-01-25 Thread Marco Terrinoni
Cheers IMA

Will check out createjs for sure



Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ima
Newsletta
Sent: 25 January 2013 15:36
To: Flash Coders List
Subject: Re: [Flashcoders] Re: OT: Interactive conferences (Merrill, Jason)

Hello mates,
I think that the list is missing one of the most important js library for
flashist of of there, that is the createjs http://www.createjs.com/ As you
all, I'm a flashist (10 years of experience) that had to (re)learn html and
javascript.
When I began to use createjs, in particular easeljs I was really pleased
because it seemed to me to program (quite) exactly as in Flash.

A demo is worth 1000 words so here it is 2 demos I made in html/js by using
that library (obviously I use also a lot jquery as support and the greensock
libs for tweening):

Monkey Island - Insult Swordfighting Game http://www.int33h.com/test/mi/

Dungeon Master Social Demo
http://www.int33h.com/test/dm/

I'm really pleased by the results.
I stronlgy suggest that if you want to learn html/js then you have to begin
with createjs.



Il 25/01/2013 16:15, John McCormack ha scritto:
 Some great resources throughout these posts.
 Thank you so much.

 Personally, I hope Adobe come storming back with some new tools next 
 iteration.

 John

 On 25/01/2013 13:03, Marco Terrinoni wrote:
 Not too sure about conferences. We have UX in London but not sure how 
 much
 focus is on JS.

 On the forum / educational side I have found the following resources
 invaluable:

 CSS
 www.css-tricks.com
 Chris Coyier's screencasts and blog posts are awesome for learning 
 simple
 and advanced css authoring and keeping up-to-date with best practices.

 Experts Exchange
 http://www.experts-exchange.com/
 This is a subscription based service but the quality of programming 
 advice
 for every language including JS is well worth it

 For IDE's it's difficult and for me, the single biggest barrier to entry
 because of the huge number of development options. The key is to find a
 workflow that works best for you but the following resources I cannot
 recommend highly enough:
 - Sublime Text 2
 - Wordpress (Bones HTML5 Development Theme)
 - CSS using SASS (Compass.App)
 - Greensock Animation Library

 Sublime Text 2 - Text Editor
 http://www.sublimetext.com/2
 There are thousands of extensions and packages I don't know where to 
 begin

 If you're learning HTML5 then learning responsive design techniques is a
 must - this involves using CSS media queries so once you have grasped 
 the
 basics of CSS, be sure to move to using pre-processing language like 
 SASS or
 LESS - there's a great article on css tricks about the benefits and 
 merits
 of each method. I use SASS and it's sped up my whole development  
 process 10
 fold!). To do this on Windows I use compass.app

 http://compass.handlino.com/
 If you're using Mac, then Codekit includes libraries for compass.

 I do a lot of web development in Wordpress, there are a lot of great
 resources out there but if you're really looking to learn best 
 practices for
 Responsive Web Design then you cannot go wrong with the Bones HTML5 
 Theme,
 amazingly well commented
 http://themble.com/bones/


 Animation:
 jQuery is obviously ubiquitous but if you're a flasher then you've 
 probably
 used Tweenmax in AS3 and if you loved using that as much as I did 
 then you
 should definitely try the new Greensock for JavaScript library.
 http://www.greensock.com/
 It provides a nice, familiar syntax and a ton of plugins that make 
 animation
 in html5 a lot easier than using jQuery plugins which seem to have a 
 short
 shelve life due to continual updates of the jQuery library (Can also 
 be used
 on conjunction with jQuery).

 I haven't tried Sencha yet but look forward to dipping my toe soon.

 If you're looking to develop purely in Javascript using MVC design 
 patterns
 then a framework like backbone.js , dojo or node.js get a lot of 
 mentions
 though I haven't looked into any of this seriously yet.


 Cheers


 Marco Terrinoni - Director
 MULARAM  PRODUCTIONS
 web design // animation // illustration
 uk: +44 7876 652 643
 e: ma...@mularam.com
 w: www.mularam.com

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com
 [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill,
 Jason
 Sent: 24 January 2013 19:18
 To: Flash Coders List
 Subject: RE: [Flashcoders] Re: OT: Interactive conferences (Merrill, 
 Jason)

 Thanks Dave - I have found a few of my answers on Stack Overflow in the
 past, I like it. Is it web browser only or can you subscribe like a 
 mailing
 list? I think I prefer that format.

 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning
   703.302.9265 (w/h

RE: [Flashcoders] Loader Max Question

2011-03-24 Thread Marco Terrinoni
Thanks again Chris

 

I did experiment with the reparenting before my last post but kept getting
coercion errors so there must be something I'm not getting.I have posted on
the Gaia support forum and hopefully that will provide the final missing
pieces (as I write this I've just realized why keep getting the coercion
error - I've not set type to sprite in the xml file - what a goon!)

 

That, along with the rest of your suggestions will help no end

 

Thanks again!

 

 

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris Foster
Sent: 23 March 2011 22:21
To: Flash Coders List
Subject: RE: [Flashcoders] Loader Max Question

 

Hi Marco,

Nice work so far!  OK, my first suggestion would be that you register
for the Gaia forum and post this kind of question there. Most of what
you're asking about here relates to best practices for working within
Gaia (with a little crossover into plain ol' AS3 knowledge). The folks
on the forum are very helpful with this kind of 'how should I be doing
this?' question.

That being said, I *think* what you want to do is treat each jpeg asset
as a Gaia 'BitmapSpriteAsset' - This next bit is straight from the Gaia
docs:

---
BitmapSpriteAsset (AS3 only)

This is a version of the BitmapAsset that you can add interactivity to
because BitmapSpriteAssets are wrapped inside a Sprite container, and
the asset provides a proxy to the Sprite methods. Set the type=sprite
in the asset node to turn a BitmapAsset into a BitmapSpriteAsset.

import com.gaiaframework.api.IBitmapSprite;
//
IBitmapSprite(assets.myBitmap).buttonMode = true;
IBitmapSprite(assets.myBitmap).addEventListener(MouseEvent.CLICK,
onClickBitmap);

---

Then you can easily create your own container MovieClip, reparent the
jpeg asset (because you can now treat it as a Sprite) into your new
MovieClip, create a textfield in your MovieClip, and create any
interactivity (via Sprite events like ) and tweening you want. Here's an
example of how to add the interactivity you want to the loaded image
(which is now treated as a Sprite)

---
public var loadedImage:BitmapSpriteAsset = new BitmapSpriteAsset();
loadedImage.addEventListener(MouseEvent.MOUSE_OVER,
myMouseOverEventHandler)
--

To access linkURL and caption attributes in yoru asset XML I think you
need your XML asset node to look like this:
asset id=myAssetID src=myAsset.jpg type=sprite
linkURL=http://www.random.com; caption=Caption text for my loaded
image/

...and in your Design.as where you have the line:
myBitmap = IBitmap(assetArray[i]).content;

you *should* be able to access the 'linkURL' and 'caption' attributes of
the node something like this:
var caption:String = assetArray[i].node.@caption

I'm a little fuzzy on the specific syntax, but I now you can definitely
access the XML content of your 'assets' XML, so try searching the Gaia
forums if my suggestion doesn't work immediately.

Hope that's some help...
C:



-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Marco
Terrinoni
Sent: Thursday, 24 March 2011 3:42 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Loader Max Question

Many thanks for the tip Chris, I decided to try and load the assets via
an
external xml file as jpgs  instead of swfs to make the application as
scalable as possible without having to recompile anything as suggested.
I
still have some way to go, I've got the jpgs loading and positioned
where I
want them on the stage but am still struggling to:



a) Convert the bitmap to a movieclip - and reference 'linkURL' attribute
in
the xml file

b) add captions - I have two lines that need to be added, one for the
title,
another for the date.



I have followed the advice in the Gaia documentation - loading the
assets
xml file into the index page in the site.xml file with the following
code in
my index.as



var assetNodes:XMLList =
IXml(assets.projectAssets).xml.asset;

var
designPage:IPageAsset =
Gaia.api.getPage(index/nav/design);


Gaia.api.addAssets(assetNodes, designPage);

TweenMax.to(this, 0.3,
{alpha:1, onComplete:transitionInComplete});

}



Then In my design.as file

   

}

override public function
transitionIn():void


{

super.transitionIn

RE: [Flashcoders] Loader Max Question

2011-03-23 Thread Marco Terrinoni
Many thanks for the tip Chris, I decided to try and load the assets via an
external xml file as jpgs  instead of swfs to make the application as
scalable as possible without having to recompile anything as suggested. I
still have some way to go, I've got the jpgs loading and positioned where I
want them on the stage but am still struggling to:

 

a) Convert the bitmap to a movieclip - and reference 'linkURL' attribute in
the xml file

b) add captions - I have two lines that need to be added, one for the title,
another for the date. 

 

I have followed the advice in the Gaia documentation - loading the assets
xml file into the index page in the site.xml file with the following code in
my index.as

 

var assetNodes:XMLList =
IXml(assets.projectAssets).xml.asset;

var designPage:IPageAsset =
Gaia.api.getPage(index/nav/design);

 
Gaia.api.addAssets(assetNodes, designPage);

TweenMax.to(this, 0.3,
{alpha:1, onComplete:transitionInComplete});

}

 

Then In my design.as file



}

override public function transitionIn():void


{

super.transitionIn();

TweenMax.to(this, 0.3, {
alpha:1, onComplete:transitionInComplete } );

var assetArray:Array = page.assetArray;

var len:int =
assetArray.length;

for (var i:int = 0; i  len;
i++)





{

trace(assetArray[i]);

myBitmap =
IBitmap(assetArray[i]).content;

myBitmap.visible = true;

myBitmap.x=(i % 4) * 240; 

myBitmap.y = int(i / 4) *
180 + 60; 

myBitmap.alpha = 0;

TweenMax.to(myBitmap, 0.5, {
delay:1, alpha:1, ease:Circ.easeInOut } );



}  

 

 

Should I be creating a movieclip in the design.fla file with a dynamic text
field that serves as a container for the bitmap array and create a button
array from that? If possible I'd also like to add ROLL_OVER and OUT effects
i.e. ROLL_OVER fires the caption whose y position and alpha are then tweened
in and are visible.ROLL_OUT = reverse and makes the caption invisible. 

 

Any help would be awesome

 

 

Many thanks

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Chris Foster
Sent: 21 March 2011 21:39
To: Flash Coders List
Subject: RE: [Flashcoders] Loader Max Question

 

Hi Marco,

I've always found it much easier to let the Gaia framework manage my
loading by adding items (like SWFs, images, mp3, flv etc.) as assets to
the Gaia page. It's easier because I don't have to write code to solve
the kind of problem you're asking about...

The Gaia documentation is pretty thorough about how you can use the
assets... In the case of your SWFs it looks like you'd need to create
some buttons onstage (like a menu screen) and give them each a 'click'
event handler to make the loaded SWF visible (and to hide any other
loaded SWFs that are currently visible).

Here's the docco on using assets:
http://www.gaiaflashframework.com/wiki/index.php?title=Assets#How_To_Use
_Assets

Probably the most useful and important thing to know is that once your
SWF assets are loaded, they're positioned at 0,0 and their 'visible'
property is set to false. To display them, all you need to do is set the
'visible' property to true.

And assuming that 'captions' means a single text title for each asset,
you can place this info in an attribute of the asset node in Gaia, like
this:

asset id=mySWF src=something.swf caption=Insert Caption/

...and then access this XML via E4X by using the 'node' property of the
asset, like this:

assets.mySWF.node.@caption

...and use that to populate a textfield. Keeping the caption in the XML
means you can easily change the SWF as well as the caption without
needing to recompile anything later.

Hope that helps,
C

[Flashcoders] Loader Max Question

2011-03-21 Thread Marco Terrinoni
Hi all

 

I am using Loadermax to load an array of swf files into a Gaia project file,
this all works fine but I would like to know how I would go about creating a
link for each swf file and adding other information externally such as
captions? Here is my code

 

 

//create an array of image file names

var urls:Array =
[brakes.swf,

 
hp_xmas.swf,

 
drambuie.swf,

 
ftfe.swf,

 
hillbillyAnim.swf

 
];

 


 




//create the LoaderMax queue
into which we'll put the ImageLoaders

_queue = new
LoaderMax({name:childQueue, requireWithRoot:this.root, maxConnections:1,
onChildComplete:_childCompleteHandler});



//loop through the file
names, create an SWFLoader and place it on the stage using special
properties like x, y, width, height, etc. The images will also be scaled to
fit within the width/height defined.

for (var i:int = 0; i 
urls.length; i++) {

 
_queue.append( new SWFLoader(urls[i], {

 
container:this,

 
x:(i % 4) * 240, 

 
y:int(i / 4) * 180 + 60, 

 
width:220, 

 
height:160, 

 
bgColor:0x141414}) );

}







//prepend all of the urls in
the LoaderMax instance with assets/swf

 
_queue.prependURLs(assets/swf/);



//start loading

_queue.load();

}



// EVENT HANDLERS




function
_childCompleteHandler(event:LoaderEvent):void {

TweenMax.to(event.target,
0.5, {delay:1, ease:Circ.easeInOut});

trace(loaded +
event.target);

}

 

 

 

Many thanks in advance!

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

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


[Flashcoders] Duplicate varibale definition

2011-03-16 Thread Marco Terrinoni
Hi everybody

 

I'm sure some of you have experience with this issue

 

I'm trying to write an array for all my navigation buttons and one of the
functions is a MouseEvent  clickHandler which is used for all buttons to
navigate to external pages. Below is my code:

 

 

var webArray: Array = [apoc_mc, ballards_mc, buyapowa_mc, cds_mc,
chrysalis_mc, dr_mc, girliepants_mc, hillbilly_mc, hpXmas_mc, kagemusha_mc,
mularam_mc, ouol_mc, trainerace_mc, uds_mc, ves_mc, villas_mc, webrel_mc];

 

for (var i:int = 0; i 
webArray.length; i++) {

webArray[i].buttonMode =
true;

 
webArray[i].addEventListener(MouseEvent.CLICK, clickHandler);

}

 

 

function
clickHandler(event:MouseEvent):void {

switch (event.currentTarget)
{





case apoc_mc:

var request:URLRequest = new
URLRequest(http://www.mularam.com/projects/apoc.php;);

navigateToURL(request,
_self);

break;





case ballards_mc:

var request:URLRequest = new
URLRequest(http://www.mularam.com/projects/ballards.php;);

navigateToURL(request,
_self);

break;   

 

And so on for each different nav element. I receive warning 3596 and
although the file publishes and works I am trying to improve my AS3 skills
and would like to know what the proper way of doing this is (without writing
separate functions for all nav elements if possible). I'm also using an
array because I'm calling other functions for Mouse ROLL_OVER and ROLL_OUT
states 

 

Many thanks in advance for any advice

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

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


RE: [Flashcoders] Duplicate varibale definition

2011-03-16 Thread Marco Terrinoni
 

 

Thank you Tom - works perfectly now!

 

Henrik - I'd love to know more about your use of component definitions, do
you have any recommended reading material?

 

Thanks again

 

 

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e:  mailto:ma...@mularam.com ma...@mularam.com  
w:  http://www.mularam.com/ www.mularam.com 

 

From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik
Andersson
Sent: 16 March 2011 18:31
To: Flash Coders List
Subject: Re: [Flashcoders] Duplicate varibale definition

 

The way I would do it is to assign each clickable object the url it
needs to go to in a property and then use a single event listener that
reads the property to know what url to use.

If I was in a really fancy mood I would look into using a component
definition to allow the url to be easily set without scripting.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1498/3510 - Release Date: 03/16/11

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


[Flashcoders] How to view and edit alternate content

2010-11-12 Thread Marco Terrinoni
Hi there

I have created a flash site using Gaia Framework which scaffolds xhtml pages 
for browsers that don't support flash. I am in the middle of creating the 
alternate content but cannot find a way to view and edit these pages because my 
flash browser is automatically detected and swfObject is overwriting alternate 
content with flash.

Is there a way I can use actionscript 3.0 to create a button which will display 
this content for the user? 


Many thanks in advance!

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com  
w: www.mularam.com 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to view and edit alternate content

2010-11-12 Thread Marco Terrinoni

Cheers guys

Both these suggestions are perfect

Many thanks

Marco Terrinoni - Director
MULARAM  PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: ma...@mularam.com
w: www.mularam.com

- Original Message - 
From: Henrik Andersson he...@henke37.cjb.net

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, November 12, 2010 12:38 PM
Subject: Re: [Flashcoders] How to view and edit alternate content



Run the flash player uninstaller? They actually provide one, just for
cases like this.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.449 / Virus Database: 271.1.1/3250 - Release Date: 11/11/10 
07:34:00


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


[Flashcoders] Gaia - TransitionIn

2010-11-04 Thread Marco Terrinoni

Hi there

I'm having some trouble with a site created in Gaia Framework - the index file 
runs before the preloader has finished. I was told this is not a Gaia issue 
because transitionIn is not called until after the preloader has finished and 
to leave frame 1 blank as a first step toward fixing this and do not go to 
frame 2 and beyond until transitionIn is called. I have tried numerous ways but 
all without success - by moving the content to frame 2 I get output error: 

Cannot access a property or method of a null object reference. at 
com.vanellensheryn::IndexPage$iinit()

Below is my index page class file - any help would be greatly appreciated.

package com.vanellensheryn
{
 
 import com.gaiaframework.templates.AbstractPage;
 import com.gaiaframework.events.*;
 import com.gaiaframework.debug.*;
 import com.gaiaframework.api.*;
 import flash.display.*;
 import flash.events.*;
 import flash.net.URLRequest;
 import flash.net.navigateToURL;
 import com.greensock.TweenMax;
 import com.greensock.easing.*;
 import com.greensock.plugins.*;
 
 TweenPlugin.activate([AutoAlphaPlugin, TransformMatrixPlugin, TintPlugin, 
RemoveTintPlugin]);
 
 
 public class IndexPage extends AbstractPage
 { 
  
  
  
  public var container_mc:MovieClip;
  public var gel:MovieClip;
  public var nav_bg:MovieClip;
  public var btn_mailto:SimpleButton;
  public var btn_mularam:SimpleButton;
  public var btn_riba:SimpleButton;
 
  
  public function IndexPage()
  {
   super();
   alpha = 0;
   
   btn_mailto.addEventListener (MouseEvent.CLICK, buttonClickHandler);
   btn_mailto.addEventListener(MouseEvent.ROLL_OVER, over1);
   btn_mailto.addEventListener(MouseEvent.ROLL_OUT, out1);
   btn_mularam.addEventListener (MouseEvent.CLICK, buttonClickHandler2);
   btn_mularam.addEventListener(MouseEvent.ROLL_OVER, over1);
   btn_mularam.addEventListener (MouseEvent.ROLL_OUT, out1);
   
   btn_riba.addEventListener (MouseEvent.CLICK, buttonClickHandler3);

   
   TweenPlugin.activate([ColorTransformPlugin]); 
   
   
   function over1(event:MouseEvent):void {
   TweenMax.to(event.target, 0.75, {colorTransform:{tint:0xFF9900}, 
ease:Back.easeInOut});
  }
   function out1(event:MouseEvent):void {
   TweenMax.to(event.target, 0.75, {colorTransform:{tint:0xCC}, 
ease:Back.easeInOut});
  }
   
  }
  
  
  private function buttonClickHandler (e:MouseEvent):void
  {
  
   var request:URLRequest = new URLRequest(mailto:i...@vanellensheryn.com;);
   navigateToURL(request, _self);
  }
  
  private function buttonClickHandler2 (e:MouseEvent):void
  {
  
   var request:URLRequest = new URLRequest(http://www.mularam.com;);
   navigateToURL(request);
  }
  
  private function buttonClickHandler3 (e:MouseEvent):void
  {
  
   var request:URLRequest = new 
URLRequest(http://www.architecture.com/TheRIBA/AboutUs/RIBAMembers.aspx;);
   navigateToURL(request);
  }
  
  
  override public function transitionIn():void 
  {
   super.transitionIn(); 
   TweenMax.to(this, 0.3, { alpha:1, onComplete:transitionInComplete } );
   
   }
   
  
  
  override public function transitionOut():void 
  {
   super.transitionOut();
   TweenMax.to(this, 0.3, {alpha:0, onComplete:transitionOutComplete});
  }
 }
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders