Re: [Flashcoders] XML Gallery Viewer

2011-06-08 Thread John R. Sweeney Jr
When your in a pinch, you could look into one of the components at
www.flashden.com or www.flashloaded.com and look at the methods and
properties that you have access too. Then you can do a lot of custom stuff
around or over that component.

Not the best way, but when time is short, it can work.

Good luck,
John


on 6/8/11 12:53 AM, Bassam M at sense...@gmail.com wrote:

> Jason I knew all this but I was hoping to save time.
> Thanks


John R. Sweeney Jr.
Interactive Multimedia Developer


OnDemand Interactive Inc
945 Washington Blvd.
Hoffman Estates, IL 60169
Office/Fax: 847.310.5959
Cellular: 847.651.4469
www.ondemandinteractive.com


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


Re: [Flashcoders] XML Gallery Viewer

2011-06-07 Thread Bassam M
Jason I knew all this but I was hoping to save time.
Thanks

On Tue, Jun 7, 2011 at 5:50 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> >> but I need to have the fla source file to modify the code
>
> I think a better approach is to:
>
> 1. Learn how to load XML and get the data.
> 2. Learn how to create display objects with code, animate and present them.
> 3. Learn how to load external images.
>
>
>  Jason Merrill
>  Instructional Technology Architect
>  Bank of America  Global Learning
>
>
>
>
>
> ___
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
> Sent: Tuesday, June 07, 2011 3:24 AM
> To: Flash Coders List
> Subject: [Flashcoders] XML Gallery Viewer
>
> Hi Guys
> I need AS2 xml gallery viewer, it should be thumbnail and big image
> something like this http://www.flashgallery.org/demo.html
> but I need to have the fla source file to modify the code
>
> Thanks
> Bassam
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> --
> This message w/attachments (message) is intended solely for the use of the
> intended recipient(s) and may contain information that is privileged,
> confidential or proprietary. If you are not an intended recipient, please
> notify the sender, and then please delete and destroy all copies and
> attachments, and be advised that any review or dissemination of, or the
> taking of any action in reliance on, the information contained in or
> attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a
> solicitation of any investment products or other financial product or
> service, an official confirmation of any transaction, or an official
> statement of Sender. Subject to applicable law, Sender may intercept,
> monitor, review and retain e-communications (EC) traveling through its
> networks/systems and may produce any such EC to regulators, law enforcement,
> in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling of
> EC, and EC may be archived, supervised and produced in countries other than
> the country in which you are located. This message cannot be guaranteed to
> be secure or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of Bank of America
> Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
> Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
> Condition to Any Banking Service or Activity * Are Not Insured by Any
> Federal Government Agency. Attachments that are part of this EC may have
> additional important disclosures and disclaimers, which you should read.
> This message is subject to terms available at the following link:
> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
> consent to the foregoing.
> ___
> 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] XML Gallery Viewer

2011-06-07 Thread Merrill, Jason
>> but I need to have the fla source file to modify the code

I think a better approach is to:

1. Learn how to load XML and get the data.
2. Learn how to create display objects with code, animate and present them.
3. Learn how to load external images.


 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning 





___

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
Sent: Tuesday, June 07, 2011 3:24 AM
To: Flash Coders List
Subject: [Flashcoders] XML Gallery Viewer

Hi Guys
I need AS2 xml gallery viewer, it should be thumbnail and big image something 
like this http://www.flashgallery.org/demo.html
but I need to have the fla source file to modify the code

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

--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML Gallery Viewer

2011-06-07 Thread Karl DeSaulniers

google is your friend

try..
"Flash AS2 xml gallery example"

Best,
Karl

On Jun 7, 2011, at 2:24 AM, Bassam M wrote:


Hi Guys
I need AS2 xml gallery viewer, it should be thumbnail and big image
something like this http://www.flashgallery.org/demo.html
but I need to have the fla source file to modify the code

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


Karl DeSaulniers
Design Drumm
http://designdrumm.com

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


[Flashcoders] XML Gallery Viewer

2011-06-07 Thread Bassam M
Hi Guys
I need AS2 xml gallery viewer, it should be thumbnail and big image
something like this http://www.flashgallery.org/demo.html
but I need to have the fla source file to modify the code

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


Re: [Flashcoders] XML GALLERY

2005-12-20 Thread Jose Maria Barros
Ok..sorry to bother...but i have one question...its possible to insert
this code in a movie clip? because ive tried.. putting _root in
all..but it didnt worked. Ive wanted to put this in other movie
because i wanted to this code load after and animation

Thanks...

On 12/20/05, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
> OK..ive found it..i forgot to put the "this" in the thumbHolder Variable...
>
> On 12/20/05, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
> > Heelo---well ive  made some "progress", but the problem is that it
> > only shows one thumbnail of the xml grid--..can anyone help me?
> >
> >
> > ///XML
> > myPhoto = new XML();
> > myPhoto.ignoreWhite = true;
> > myPhoto.onLoad = function(success) {
> > //portfolioTag = this.firstChild;
> > gridx = 58;
> > gridy = 58;
> > num = 0;
> > for (i=0; i<3; i++)
> > for (j=0; j<3; j++) {
> > this.picHolder = 
> > this.firstChild.childNodes[i+(j*3)];
> > this.thumbHolder = 
> > thumbnails.createEmptyMovieClip("thumbnail"+num, num);
> > thumbHolder._x=gridx*i;
> > thumbHolder._y=gridy*j;
> > num++;
> > this.thumbLoader =
> > this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
> > 
> > this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
> > this.thumbHolder.main = 
> > this.picHolder.attributes.main;
> > this.thumbHolder.onRelease = function() {
> > loader.loadMovie(this.main);
> > };
> > }
> > };
> > myPhoto.load("design.xml");
> >
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML GALLERY

2005-12-20 Thread Jose Maria Barros
OK..ive found it..i forgot to put the "this" in the thumbHolder Variable...

On 12/20/05, Jose Maria Barros <[EMAIL PROTECTED]> wrote:
> Heelo---well ive  made some "progress", but the problem is that it
> only shows one thumbnail of the xml grid--..can anyone help me?
>
>
> ///XML
> myPhoto = new XML();
> myPhoto.ignoreWhite = true;
> myPhoto.onLoad = function(success) {
> //portfolioTag = this.firstChild;
> gridx = 58;
> gridy = 58;
> num = 0;
> for (i=0; i<3; i++)
> for (j=0; j<3; j++) {
> this.picHolder = this.firstChild.childNodes[i+(j*3)];
> this.thumbHolder = 
> thumbnails.createEmptyMovieClip("thumbnail"+num, num);
> thumbHolder._x=gridx*i;
> thumbHolder._y=gridy*j;
> num++;
> this.thumbLoader =
> this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
> 
> this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
> this.thumbHolder.main = 
> this.picHolder.attributes.main;
> this.thumbHolder.onRelease = function() {
> loader.loadMovie(this.main);
> };
> }
> };
> myPhoto.load("design.xml");
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML GALLERY

2005-12-20 Thread Jose Maria Barros
Heelo---well ive  made some "progress", but the problem is that it
only shows one thumbnail of the xml grid--..can anyone help me?


///XML
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
gridx = 58;
gridy = 58;
num = 0;
for (i=0; i<3; i++)
for (j=0; j<3; j++) {
this.picHolder = this.firstChild.childNodes[i+(j*3)];
this.thumbHolder = 
thumbnails.createEmptyMovieClip("thumbnail"+num, num);
thumbHolder._x=gridx*i;
thumbHolder._y=gridy*j;
num++;
this.thumbLoader =
this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);

this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
this.thumbHolder.main = this.picHolder.attributes.main;
this.thumbHolder.onRelease = function() {
loader.loadMovie(this.main);
};
}
};
myPhoto.load("design.xml");
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] XML GALLERY

2005-12-20 Thread Martin Wood

looks like your xml and your code dont match.

the debugger says your xmlnode has attributes thmb and main, your code 
says 'swf' and 'link'


?

maybe thats it.

martin


Jose Maria Barros wrote:

ups..sorry..forgot..well...it doesnt download the thumbnails..here is
the code in the debugger

Variable _level0.picHolder = [object #6, class 'XMLNode'] {

  }
Variable _level0.thumbHolder = [movieclip:_level0.thumbnails.thumbnail8]
Variable _level0.thumbLoader = undefined

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


Re: [Flashcoders] XML GALLERY

2005-12-20 Thread Jose Maria Barros
ups..sorry..forgot..well...it doesnt download the thumbnails..here is
the code in the debugger

Variable _level0.picHolder = [object #6, class 'XMLNode'] {

  }
Variable _level0.thumbHolder = [movieclip:_level0.thumbnails.thumbnail8]
Variable _level0.thumbLoader = undefined


On 12/20/05, Morten Barklund Shockwaved <[EMAIL PROTECTED]> wrote:
> Jose Maria Barros wrote:
> > Hello! Im trying to do a portfolio gallery with a grid and small
> > thumbnails with xml.
> >
> > I ve been doing some tutorials to help me..but this thing doesnt work.
> >
> > [snip]
> >
> > The xml file is made correctly and the path for the images is
> > link="imagens/somepic.jpg"
>
> The problem is...? Not loading? Not clickable? Not right size? :)
>
> --
> Morten Barklund - Information Architect - Shockwaved
> Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
> Phone: +45 7027 2227 - Fax: +45 3369 1174
> ___
> 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] XML GALLERY

2005-12-20 Thread Morten Barklund Shockwaved

Jose Maria Barros wrote:

Hello! Im trying to do a portfolio gallery with a grid and small
thumbnails with xml.

I ve been doing some tutorials to help me..but this thing doesnt work.

[snip]

The xml file is made correctly and the path for the images is
link="imagens/somepic.jpg"


The problem is...? Not loading? Not clickable? Not right size? :)

--
Morten Barklund - Information Architect - Shockwaved
Gothersgade 49, 4th floor - DK-1123 Copenhagen K, Denmark
Phone: +45 7027 2227 - Fax: +45 3369 1174
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] XML GALLERY

2005-12-20 Thread Jose Maria Barros
Hello! Im trying to do a portfolio gallery with a grid and small
thumbnails with xml.

I ve been doing some tutorials to help me..but this thing doesnt work.

i wanted this:

 1 2 3
 4 5 6
 7 8 9

The xml file is made correctly and the path for the images is
link="imagens/somepic.jpg"

And here is the AS..

///XML
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {

gridx=55;
gridy=55;
num=0;
for (i=0; i<3; i++)
for (j=0; j<3; j++) {
picHolder = this.firstChild.childNodes[i+(j*3)];
thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+num, num);
thumbHolder._x=gridx*i;
thumbHolder._y=gridy*j;
num++;

thumbLoader = thumbholder.createEmptyMovieClip("thumbnail_image", 0);
thumbLoader.loadMovie(picHolder.attributes.link);
thumbHolder.main = picHolder.attributes.swf;

thumbHolder.onRelease = function() {
loader.loadMovie(this.main);
};
//}
};

myPhoto.load("design.xml");



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