[Flashcoders] Seeking Freelance Developer

2007-06-30 Thread Phil Dupré

Hello,

I'm looking for a freelance Flash developer who can create a navigation
system that works almost exactly like this:
http://news.com.com/2104-1006_3-5731398.html

If interested, please email [EMAIL PROTECTED]  Please provide any
links to your work/blog and or resume.  If all goes well, this could lead to
a very steady stream of freelance work if so desired.  Thanks.

~Phil
___
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 Debugger's not up to it.

2007-06-30 Thread Steven Sacks
Heh.  Nothing to do now but get old school and trace out the values you 
want to see.  I personally never use the Flash Debugger for reasons like 
the one you're talking about.  I find it a lot faster to just spit out 
the variables I want to see and debug that way.


Xray is the bomb dot com.  _global.tt() ftw!
___
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] Re: Intermittent buttons -- problem solved

2007-06-30 Thread Clive R Sweeney

>> I have two buttons that navigate back and forth through
>> a series of images. (Flash 8, AS2).
>> They work fine when I first open the SWF. But on the same
>> screen is an input textfield with which a user can add or
>> change a title. The title change is saved when the textfield
>> loses focus (via onKillFocus()).
>>
>> The problem is that once the user inputs a title, the two
>> controller buttons only work intermittently -- sometimes once
>> out of every two clicks, but often worse than that. The only
>> way the buttons will work every time is if the user moves the
>> cursor completely off the button and then back on. In that
>> case the buttons work very dependably.

Muzak wrote:

if you're using any of the v2 components add this to the main timeline

function onMouseDown(){
focusManager.enabled = false;
}

funtion onMouseUp() {
focusManager.enabled = true;
}


Ah, excellent. The focusManager suggestion seems to do the trick. And 
I'll be combining it with Nick Johnston's suggestion --


Why not try storing the title using a setInterval (say every 2 seconds 
and if they make a change to the title it will reset the interval) 
rather than onKillFocus()?


Thank you both very much.

::. clive

___
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[2]: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Amir T Rocker

Thats nice to hear :)

I heard software developers have a nag to complicate things
Guess that would concern me
Thanks for the quick reply. I havent worked with flash for over a 
year now- so i am a bit out of date :)

Please share how to do that without having to work a lot

Amir

Am 10:01 PM 6/30/2007 schrieben Sie:


ATR> I believe they programmed a  AS3 based  3D
ATR> Rasterizer to create this flip - AS3 can do that quite easy since
ATR> it provides all necessities to do so :
ATR>
ATR> ByteArray to hold the pixels
ATR> Matrix to do the transforms
ATR> BitmapData to manipulate and draw  and more 

Flash 8 has everything what is needed for such an effect.

ATR> Besides if content is retrieved from inside a DB
ATR> or from some kind of Backend, chances are you
ATR> would not have a way to transform the content ON
ATR> THE CLIENT - meaning you would have to convert
ATR> the content from Text to Image on the Server -- arrghhh sounds tricky :)

If you already know BitmapData, probably you are familiar with
BitmapData.draw(), too :)

Well, I think you are overcomplicating something, this effect is not
so hard to create as you expect :)

  Attila

___
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] how to call method in sub-class instace?

2007-06-30 Thread Amir T Rocker

Hi stranger ,  :)

I dont think I quite understand what you need, however i will try anyway.
[quote] "How do you get a super-class instance to call an over-riding 
method in a sub-class"


Inheritance assumes that you use a 'general' base class and a 
'specialized' subclass. To make sure I understand you right : You 
need to call a method on a child class from inside the Parent class, 
right ? Does it matter from where you call the method ? As long as 
you have a reference to the subclass instance - call the method directly.


class MySuperClass extends Object {
.. important general code here 
}
class ChildClass extends MySuperClass {
... important specialized code here 
}

var msc:Class = new MySuperClass();

var childRef:ChildClass = msc.getChildClassFromList() as ChildClass; 
( I assume the class was stored inside an Array(List)  )
childRef.doDesiredAction( 'execute some really important childClass 
code' ); // there you go :)


[quote] "Furthermore, any input values not caught by the parsers of 
the sub-classes need to get passed back up to the super-class."

Calling a method of the Superclass is easy. Just use 'super'.


var msc:Class = new MySuperClass();
var childRef:ChildClass = msc.getChildClassFromList() as ChildClass; 
( I assume the class was stored inside an Array(List)  )


class MySuperClass extends Object {
.. important general code here 

public function doDesiredAction( arg:String){
super.doGeneralDataProcessing( arg );
}

}

class ChildClass extends MySuperClass {
... important specialized code here 

public function doDesiredAction( arg:String){
super.doGeneralDataProcessing( arg );
}
}

childRef.doDesiredAction( 'calls the super class' ); // there you go :)

[quote] "Does this make sense?"
No offense , but no !!! First as a general rule of thumb: 'Favor 
Composition over Inheritance' [Sierra|Bates] - Inheritance ties you 
down. Say you implement the system as you described
and in 3 months you need to change the BaseClass - suddenly all your 
subclasses, needing to call the base class for processing, must be 
changed since they all depend on your
base class -> Strategy Pattern is recommended over inheritance ( but 
thats just my opinion )

Command Pattern to execute the different Parser Classes.
It seems to me that your classes have high coupling / low Cohesion - 
meaning that you use several classes to get one job done , it may 
seem like a good idea at first ,
using the specialized class A, the base class B, another specialized 
class C and so on to work together and parse the desired data.
However it is advised that each class takes care of One 
Responsibility. I dont want to be pretentious, so if you already know 
all that , please forgive :)
So I assume you have written one parser for each special file format 
- a .xml parser  , a .txt parser, a loadVars parser and so on.
They all extend MySuperParser. So why splitting responsibility of 
parsing data across base and child classes ?
Has the BaseClass features / responsibilities that all subclasses 
need ? if so - fine, just call the base class methods from inside your

specialized subClass Parser BEFORE you do the specialized processing like so :

public function mySubClassSpecializedParsingMethod( specialParam:* ) :void {
super.BaseClassPrepFirst( specialParam );
var preppedData:* = super.getPreppedData(); // I havent 
really tried this line :) see wether it works

this.doSpecializedPrepping( preppedData );
}

If you want to freshen up on Composition over Inheritance - This Book 
is my all time favoured Design Pattern and Bets Practice Programming 
Book !!
HEAD FIRST - DESIGN PATTERNS ( Elisabeth Freeman & Eric Freeman || 
Kathy Sierra || Bert Bates )
This was the best Book about Design Pattern - actually generally 
about good Programming.


I hope I was able to help you a bit - did I get it right ? I hope :)

Best of luck
Amir

P.S.
Lingo is NOT OOP -> dont get me wrong ! lingo rocks!!! but its 
nothing like ActionScript or Java -> Even the Javascript DOM for 
Lingo is strange to say the least :)

But again - lingo rocks!!




Am 11:32 PM 6/29/2007 schrieben Sie:
How do you get a super-class instance to call an over-riding method 
in a sub-class?  I'm using AS2.


I'm parsing data into an object.  The parser method is generalized, 
so it should be in the super-class, I think...  But there are 
exceptions in the sub-classes.  The call to start loading the data 
begins in the super-class, but some of the sub-classes might have 
there own over-riding parser methods.  Furthermore, any input values 
not caught by the parsers of the sub-classes need to get passed back 
up to the super-class.


Does this make sense?  I did this kind of thing all the time with 
lingo, but since I've been reading Moock I'm trying to write better 
OOP.  This has got to be a pretty common thing to run across.


Thanks!

RE: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Jesse Graupmann

You could totally do it with magic. ;)


http://lab.andre-michelle.com/bitmap-particles-2
http://lab.andre-michelle.com/bitmap-particles


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Saturday, June 30, 2007 1:32 PM
To: Rákos Attila; flashcoders@chattyfig.figleaf.com
Subject: Re: AW: [Flashcoders] Turn image around effect?


No need to look for crazy, magical features to pull the trick.


Zeh


___
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: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Zeh Fernando

ATR> Besides if content is retrieved from inside a DB
ATR> or from some kind of Backend, chances are you 
ATR> would not have a way to transform the content ON 
ATR> THE CLIENT - meaning you would have to convert 
ATR> the content from Text to Image on the Server -- arrghhh sounds tricky :)


If you already know BitmapData, probably you are familiar with
BitmapData.draw(), too :)

Well, I think you are overcomplicating something, this effect is not
so hard to create as you expect :)


I'd have to agree.

It's a nice effect, but it looks like the thing is simply divided into 
slices that then have their horizontal scale manipulated (with a small 
delay between slices), nothing more. There's even the typical tearing 
you'd expect from such a solution.


No need to look for crazy, magical features to pull the trick.


Zeh
___
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] adapt architecture to facilitate switching component sets

2007-06-30 Thread Amir T Rocker

Hi JC,

Your solution is quite good. Using an 'Abstract Interface' is always 
encouraged :)

The guideline goes like - 'Program to Abstraction not to Implementation'
Unfortunately AS3 does not (yet:) allow Generics / Collection Type 
safety - so we are still forced to make sure we
do the right types, since Casting to the correct type will probably 
be the biggest Problem for this code. ( MY opinion )
* 'Composite'  is the formal Pattern Name for this type of 
architecture - check it out - its worth it !!


BUT if you are planning on using components anyway, you might as well 
build the app in Flex
which already offers this Architecture as the base of mxml / As3 code 
gen and development.
'Abstract interface' for all Displayable Objects in Flex / AS3 is an 
Interface called
- IFlexDisplayObject ( in flash its i believe 'Sprite' but dont nail 
me on that :)

- UIComponent is the base class from which each Component MUST be subclassed
So if you use flex there would be no need for you to 're-invent' the 
wheel :) no offense I dont mean to imply that you would not be capable
but if you are like me ( like a bit lazy :) you will find the offered 
component framework in flex quite

AMAZINGLY GOOD 

Your designer can change ANYTHING and EVERYTHING on the compos inside 
the Design View ( No Coding !!! )
and you can glue functionality on the comps using DataBinding and a 
robust event dispatching model.


As an Example - I built a VideoConference Tool Application( like 
breeze or spreed )  - first in Flash 8 - I had to implement all 
necessary compos so the designer could 'design' them creatively :) ( 
Man i wanted to kill that guy )
Sounded much like what you are planning on doing - I took me about 3 
Months of just implementing compos - from a simple numeric stepper to 
the expandable scroll Accordeon
- altogether around 24 components - boy it was a bitch - and then had 
to add Domain Logic. Due to this enormous workload I completely 
fragged the deadline - project was killed


For my own personal satisfaction I restarted the project myself - 
this time in Flex and it took me about 6 - 7 months to complete it. 
Now the Tool is in Beta and
running. Lesson for me was: Use Flex  Unless you need to animate 
or draw something - use Flex. It harnesses so much power !
And you can really concentrate on your business logic instead of 
having to waste your time on building low-level application components.
AND even if you need to show something done in flash ( animated / 
tweened / handdrawn ) you can import and display in Flex.


I hope I was able to answer your question right and to give you some 
ideas / Suggestions.
Feel free to contact me if you have any questions regarding Flex / AS 
3 , I'll be glad to answer them.


Best regards

Amir

Certified Flash Developer
Sun Certified Java Programmer (I.T.)



Am 07:32 AM 6/30/2007 schrieben Sie:

Hi,

we are looking into using another component set than the v2 architecture.
However we don't want to switch over and over again, and frankly as the
architecture developer I dont want anything to do with components at all.

So I was thinking about a setup where I write component interfaces such as
IComboBox and a set of wrappers such as V2ComboBoxAdapter implements
IComboBox.
Next a designer creates a view, and puts something in his view like (im
making it up as I'm typing) :

getComboBox (id:String):IComboBox {
return AbstractFactory.create (V2Adapters.COMBO_BOX, _root.cbPersons);
}

In terms of being independent of my views, I can just start putting an app
together and if the designer dude wants to skin it differently or use a
whole other component set he is free to do so, even mix and match is an
option.

The main thing I'm wondering about is whether I'm gruesomely
overcomplicating things and just causing a heckload of work for no good
reason other than that I am not familiar with a single very good component
set that satisfies all the designer needs (I'm not saying they don't exist,
I'm saying I don't have enough experience in any of them to make a
wellformed decision, and don't really have the time to test them one by
one:)).

Hope this makes any sense!
greetz
JC
___
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] adapt architecture to facilitate switching component sets

2007-06-30 Thread Robert Sanders
Sounds to me that your over complicating a bit.  What you probably could 
do is provide a base set of classes for you model/data and then one or 
more adapters to add the needed conversion to and from framework 
specifics.  In general I think that while ease of reuse is a great idea, 
you aren't going to be able to achieve it 100% anyway, so its best to 
find a compromise between ease of use and ease of reuse (amongst other 
considerations).  In general it seems to be that actually switching a UI 
framework is a major undertaking to begin with (they usually have all 
sorts of changes required not just of the model code but also of the 
skins, graphics, etc) that it is usually best to pick one and stick with 
it until or unless it becomes less painful to switch than to keep using 
the existing framework.



Hans Wichman wrote:

Hi,

we are looking into using another component set than the v2 architecture.
However we don't want to switch over and over again, and frankly as the
architecture developer I dont want anything to do with components at all.

So I was thinking about a setup where I write component interfaces 
such as

IComboBox and a set of wrappers such as V2ComboBoxAdapter implements
IComboBox.
Next a designer creates a view, and puts something in his view like (im
making it up as I'm typing) :

getComboBox (id:String):IComboBox {
return AbstractFactory.create (V2Adapters.COMBO_BOX, _root.cbPersons);
}

In terms of being independent of my views, I can just start putting an 
app

together and if the designer dude wants to skin it differently or use a
whole other component set he is free to do so, even mix and match is an
option.

The main thing I'm wondering about is whether I'm gruesomely
overcomplicating things and just causing a heckload of work for no good
reason other than that I am not familiar with a single very good 
component
set that satisfies all the designer needs (I'm not saying they don't 
exist,

I'm saying I don't have enough experience in any of them to make a
wellformed decision, and don't really have the time to test them one by
one:)).

Hope this makes any sense!
greetz
JC
___
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[2]: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread R�kos Attila

ATR> I believe they programmed a  AS3 based  3D
ATR> Rasterizer to create this flip - AS3 can do that quite easy since
ATR> it provides all necessities to do so :
ATR> 
ATR> ByteArray to hold the pixels
ATR> Matrix to do the transforms
ATR> BitmapData to manipulate and draw  and more 

Flash 8 has everything what is needed for such an effect.

ATR> Besides if content is retrieved from inside a DB
ATR> or from some kind of Backend, chances are you 
ATR> would not have a way to transform the content ON 
ATR> THE CLIENT - meaning you would have to convert 
ATR> the content from Text to Image on the Server -- arrghhh sounds tricky :)

If you already know BitmapData, probably you are familiar with
BitmapData.draw(), too :)

Well, I think you are overcomplicating something, this effect is not
so hard to create as you expect :)

  Attila

___
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: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Amir T Rocker

Hi guys ,

I believe they programmed a  AS3 based  3D 
Rasterizer to create this flip - AS3 can do that quite easy since

it provides all necessities to do so :

ByteArray to hold the pixels
Matrix to do the transforms
BitmapData to manipulate and draw  and more 

I am currently working on building a 3D Graphics 
Engine in AS3 - and if anybody would come to me 
and ask me to program something like this -
that would be the way I would go about it ( 
but I am a programmer - so my solutions are often 
very programmer centric - not an animator :)
next week I will contact the developer and ask 
him/them  how he / they do/did that :) if he tells :)

I am VERY curious wether or not I guessed right 
What do you guys think about that - would you say my suggestion is correct ?

I made a couple of screenshots and noticed that 
the lines are definitely DRAWN BY FLASH @RUNTIME 
- look at the Alias its almost nonexistent
therefore I believe they are probably using a 
Bresenham Algo on a BitmapData to draw lines.


Think about it, its not as hard as it may sound - 
all you need is a simple Polygon whithout any 
depth - no camera , it runs in a fix perspective mode.
Then you create a transform matrix ( rotation 
only ) and transform the Polygon in place ( only inside model space ).
The next step would be to create a simple concat 
Matrix that does the Model-to-Perspective and the 
Perspective to Screen transform.
Done ! well I admit its a shot in the blue - but 
as i said thats how I would do it.
Second question would be the maintainability of 
'flippable' content - If they were to use images 
they would need to 'recreate' each image once its 
content changes - even twice if they would use 
two images per flip - doesnt sound maintainable to me :)
Besides if content is retrieved from inside a DB 
or from some kind of Backend, chances are you 
would not have a way to transform the content ON 
THE CLIENT - meaning you would have to convert 
the content from Text to Image on the Server -- arrghhh sounds tricky :)


Anyone finds out ... let us know ... this flip is 
done VERY NICELY - nice craftmanship


Have a nice Weekend

Amir

Am 08:12 PM 6/29/2007 schrieben Sie:

If you check the code they are using bitmap classes from
http://www.group94.com/. Ask em about com.group94.graphics.TransformImage.
It looks like its using triangles and texture bitmapFills.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Dittgen
Sent: Friday, June 29, 2007 3:50 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: AW: [Flashcoders] Turn image around effect?

have you tried to contact their developer directly? ;-)

2007/6/29, Peter Oliver Geller <[EMAIL PROTECTED]>:
> But when you use the image distortion effect (Bitmap Data)
> with a two image flip, it´s tricky to program your mask on the point of
> intersection where the image turns around, because on that moment you
> display the front and backside and I think group94 use another type of
> technique which is definitely easier.
>
> Hmm or you can really simple do a gradient alpha flow on the two images in
> an inversely direction?
>
> Thanks
> Peter
>
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Cedric
> Muller
> Gesendet: Freitag, 29. Juni 2007 11:40
> An: flashcoders@chattyfig.figleaf.com
> Betreff: Re: AW: [Flashcoders] Turn image around effect?
>
> maybe by creating the illusion of only one image that is front and
> back ??
> My guess is that there are two images flipped in the same time: one
> from visible to invisible and the other one from invisible to visible
>
> hth,
> Cedric
>
> > I know the card flip effect,
> > but I think its more like the effect Jesse Graupmann posted.
> >
> > The question is how ja shows the image backside???
> > I have no idea how to combine the image distortion to switch from
> > front to
> > backside and vice versa?
> >
> > Any ideas?
> >
> > Peter
> >
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > Pedro
> > Taranto
> > Gesendet: Donnerstag, 28. Juni 2007 19:37
> > An: flashcoders@chattyfig.figleaf.com
> > Betreff: Re: [Flashcoders] Turn image around effect?
> >
> > Card Flip Effect:
> > http://pixelfumes.blogspot.com/2006/07/business-card-flip-effect-
> > class-with.
> > html
> >
> > --Pedro Taranto
> >
> >
> > Peter Geller escreveu:
> >> Hi list,
> >>
> >>
> >>
> >> can somebody give me an answer how this turn around effect was
> >> made when
> >> you click on the speech bubble?
> >>
> >>
> >>
> >> http://www.ja-ik-doe-mee.be/
> >>
> >>
> >>
> >> Or is it done with a visual flatted 3D Image made with
> >> http://www.flashsandy.org/ ?
> >>
> >>
> >>
> >>
> >>
> >> Another nice technique which interests me is used on this side:
> >>
> >> http://lab.mathieu-badimon.com/ same technique?
> >>
> >>
> >>
> >> Maybe some of you have a link for me how this is done?
> >

Re: [Flashcoders] MP3 Attaching issues and Streaming issue on IE

2007-06-30 Thread Steven Sacks
You might also want to try embedding an mp3 in a swf and loading the swf 
instead.

___
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] MP3 Attaching issues and Streaming issue on IE

2007-06-30 Thread Steven Sacks

Looks right to me.

That is pretty much how it's done.  I know it sucks, but it's these 
little tricks that you gotta do to get things to work consistently 
across browsers.


In the greater scheme of things, this is relatively minor when you take 
into account the insanely dumb stuff that XHTML/JS/CSS developers have 
to do to make things look consistent across all browsers.  I learned 
Flash to escape from that world, but there are still stupid workarounds 
you have to do to manage Flash's shortcomings.


On the bright side, you're a very resourceful developer since you 
figured out a solution.  :)


___
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] MP3 Attaching issues and Streaming issue on IE

2007-06-30 Thread Itai Asseo

I just finished a project where I needed to use MP3s on demand.

So the first issue was when I used the attachSound method. It worked  
perfectly until I tried loading the movie using a loadMovie method  
from another movie clip.  it appeared as though my attached files  
(with an ID name) could not be found or where not included... even  
when I tried giving them IDs in the main movie (which was a big  
compromise) the loaded movie wasn't able to find them.


so I abandoned this method

then I came across an even more strange bug. When I actually streamed  
the MP3s using the loadSound method, and set streaming to 'false', IE  
browsers (and ONLY IE browsers) had the most bizarre reaction  
they played the MP3s the first time they loaded, but once the MP3s  
were chached, it refused to play them... it's as if it wasn't able to  
load them if they were already loaded  (note that I only tried  
this when the clip was included as a loadMovie in another swf). when  
I changed streaming to 'true' the problem went away, but I wasn't  
happy with it, since the mp3 wasn't playing smoothly in slower  
connections...stopping them immediately and having them played onLoad  
didn't work as well


my solution was to pass a variable from the PARAM flashVars tag  
indicating browser=ie


here's the idiotic code I had to end up with:

my_sound.loadSound(_root.path+"wavs/sc_2_"+myNum+".mp3",true);
if (_root.browser!="ie"){
my_sound.stop();
my_sound.onLoad = function(success:Boolean) {
if (success) {
my_sound.start();
}
}
}


If anyone could shed light on the issue i'd be very grateful

Itai

___
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] Flash Debugger's not up to it.

2007-06-30 Thread John McCormack
I am getting increasingly frustrated trying to debug in the Flash IDE.

I see some, but not all of the variables I expect to see as I step through 
code. Also, when I step to the next line I step to some unexpected line.

A google search throws up: trace(), step over/into/outof and our wonderful Xray 
but nothing on making the Flash debugger do a proper job. Perhaps I am missing 
something. Can anyone throw any light on this inadequate behaviour?

In desperation.

John
___
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