it seems that this discussion list is abandoned.

13 views
Skip to first unread message

northmantif

unread,
Jan 4, 2011, 7:03:31 AM1/4/11
to BulkLoader users
..

Arthur Debert

unread,
Jan 4, 2011, 12:02:29 PM1/4/11
to bulkload...@googlegroups.com
Hi Northmantif.

Not really.

In the past few months the traffic has lowered a lot...
Also, I'm on a long vacation so a few messages might have slept
through... anyway, this list is answered by volunteers and their
decision to answer or not a particular message will vary,

Best regards and happy new year

On Tue, Jan 4, 2011 at 10:03 AM, northmantif <prak...@gmail.com> wrote:
> ..
>
> --
> You received this message because you are subscribed to the Google Groups "BulkLoader users" group.
> To post to this group, send email to bulkload...@googlegroups.com.
> To unsubscribe from this group, send email to bulkloader-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bulkloader-users?hl=en.
>
>

--
Arthur Debert
www.stimuli.com.br

northmantif

unread,
Jan 7, 2011, 6:44:31 PM1/7/11
to BulkLoader users
Thanks for answer. I wish you the best in new year too.
I came with that suggestion by those spam posts seen here...
but why I came here is just my misunderstanding error event in
bulkLoader.
I have some xml data with paths to images in that xml. Typical
scenario.
But if I misspell the path i.e: <image>imagei5.jpg</image> -where
should be <image>image5.jpg</image>
I succesfully get handling error (ErrorEvent.Error, handleError) in
flash IDE (besides output's error notification).
What is strange if I publish .swf and run it in localhost location I
get #2044 error notification as unhandled in the browser( text=Error
#2036: Didnt finish loading URL: http://localhost/.../images/imagei5.jpg,
and doesn't quite understand how to workaround it. I do misspell in
xml file on purpose, because if wrong path was given I need to load
other data (image) instead.
I resolved that in the error handler function by:
function handleError(e:ErrorEvent)
{
var item = LoadingItem(e.target).id; //output: img4
//trace(loader.itemsLoaded);
loader.remove(item,true);
//trace(loader.itemsLoaded);
loader.add("pathToData/"+myXML.noImage[0],{id:item});
loader.loadNow(item);
}
So then loader gets content from <noImage> tag which is other image...
When error window pops up if I choose CONTINUE, all content loads well
and app works with no issues,
but I want to have my app without that annoying window popped up.
I tried to change listener for loading image from ErrorEvent.ERROR to
IOErrorEvent.IO_ERROR, but it doesnt seem to work.
If I add:
loader.add("pathToData/"+rightImageToLoad).addEventListener(IOErrorEvent.IO_ERROR,handleIOError);
this will never fire that event, which I quess is responsible for
handling that unwanted popup window...
Any ideas?
Regards Pawel

On 4 Sty, 18:02, Arthur Debert <art...@stimuli.com.br> wrote:
> Hi Northmantif.
>
> Not really.
>
> In the past few months the traffic has lowered a lot...
> Also, I'm on a long vacation so a few messages might have slept
> through... anyway, this list is answered by volunteers and their
> decision to answer or not  a particular message will vary,
>
> Best regards and happy new year
>

northmantif

unread,
Jan 8, 2011, 7:17:24 PM1/8/11
to BulkLoader users
Ok. Finally I got it. Added->
loader.addEventListener(BulkLoader.ERROR,onIOLoadingError);
but my fault was I was trying to assign event as BulkLoader object and
not an Event object...lol
Kindest Pawel
Reply all
Reply to author
Forward
0 new messages