Re: [Flashcoders] ::dk:: issues with external data and external swf

2006-09-26 Thread DNK

Alain Rousseau wrote:
This may be a scope issue. 

Do you make use _root to reference the lower level of your loaded swf ? 
And are you loading the swf in a movieclip or a Level ? 


Either way _root will reference back to _level0 wich isn't the same scope as
your loaded swf. 
Try replacing "_root" with "this" or a relative path to the movieClip or

textfield you want to target (ex : this._parent.myTextField).

HTH
Alain



In my original posting I had mentioned that there was no use or _root. I 
always use a relative path as opposed to an absolute to avoid scope 
issues. Even if there is no swf to be loaded, etc. I always use "this"


The movie is being loaded into an empty movie clip.

Dustin
___
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] ::dk:: issues with external data and external swf

2006-09-26 Thread Alain Rousseau
This may be a scope issue. 

Do you make use _root to reference the lower level of your loaded swf ? 
And are you loading the swf in a movieclip or a Level ? 

Either way _root will reference back to _level0 wich isn't the same scope as
your loaded swf. 
Try replacing "_root" with "this" or a relative path to the movieClip or
textfield you want to target (ex : this._parent.myTextField).

HTH
Alain

-Original Message-
From: DNK [mailto:[EMAIL PROTECTED] 
Sent: 26 septembre 2006 12:27
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ::dk:: issues with external data and external swf

Bjorn Schultheiss wrote:
>  
> What error is it throwing?
> 
> Regards,
>  
> Bjorn Schultheiss
> Senior Flash Developer
> QDC Technologies
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of dnk
> Sent: Tuesday, 26 September 2006 1:53 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] ::dk:: issues with external data and 
> external swf
> 
> Bjorn Schultheiss wrote:
>> Dk,
>>
>> Is your swf loaded from within the same domain?
>> Are the required remoting classes compiled into your swf?
>>
>>
>> Regards,
>>  
>> Bjorn Schultheiss
>> Senior Flash Developer
>> QDC Technologies
>>

No errors!

Just missing data. Like I said the data is making it into Flash (as
determined with "service capture"), but just not displaying. It displays 
 fine when not loaded into another movie.

d

___
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] ::dk:: issues with external data and external swf

2006-09-26 Thread DNK

Bjorn Schultheiss wrote:
 
What error is it throwing?


Regards,
 
Bjorn Schultheiss

Senior Flash Developer
QDC Technologies

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, 26 September 2006 1:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ::dk:: issues with external data and external swf

Bjorn Schultheiss wrote:

Dk,

Is your swf loaded from within the same domain?
Are the required remoting classes compiled into your swf?


Regards,
 
Bjorn Schultheiss

Senior Flash Developer
QDC Technologies



No errors!

Just missing data. Like I said the data is making it into Flash (as 
determined with "service capture"), but just not displaying. It displays 
fine when not loaded into another movie.


d

___
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] ::dk:: issues with external data and external swf

2006-09-25 Thread Bjorn Schultheiss
 
What error is it throwing?

Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, 26 September 2006 1:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ::dk:: issues with external data and external swf

Bjorn Schultheiss wrote:
> Dk,
>
> Is your swf loaded from within the same domain?
> Are the required remoting classes compiled into your swf?
>
>
> Regards,
>  
> Bjorn Schultheiss
> Senior Flash Developer
> QDC Technologies
>
>   
They are in the same domain, and I created a crossdomain.xml to cover
various hostnames (just in case). The required remoting classes are compiled
in as when the movie is not loaded into another, it runs as it should. The
issue is only when it is loaded into another movie.

Dustin
___
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] ::dk:: issues with external data and external swf

2006-09-25 Thread dnk

Bjorn Schultheiss wrote:

Dk,

Is your swf loaded from within the same domain?
Are the required remoting classes compiled into your swf?


Regards,
 
Bjorn Schultheiss

Senior Flash Developer
QDC Technologies

  
They are in the same domain, and I created a crossdomain.xml to cover 
various hostnames (just in case). The required remoting classes are 
compiled in as when the movie is not loaded into another, it runs as it 
should. The issue is only when it is loaded into another movie.


Dustin
___
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] ::dk:: issues with external data and external swf

2006-09-25 Thread Bjorn Schultheiss
Dk,

Is your swf loaded from within the same domain?
Are the required remoting classes compiled into your swf?


Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Tuesday, 26 September 2006 1:35 PM
To: Flashcoders mailing list
Subject: [Flashcoders] ::dk:: issues with external data and external swf

Hi there - I have a movie in which I use remoting to load images and data.
When run on it's own, it functions perfect. When it is loaded into another
movie, some data does not load. I have used "service capture" 
and my data is in fact returned. Now I am pretty confident with the code
since it runs on it's own perfect. I thought at first that it might be a
scope issue or an issue with the _root time line - but I have ruled that out
as I only use a relative path as opposed to an absolute path.

IS this a known bug? I have been googling for a few hours already.


Thanks in advance!



___
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] ::dk:: issues with external data and external swf

2006-09-25 Thread dnk
Hi there - I have a movie in which I use remoting to load images and 
data. When run on it's own, it functions perfect. When it is loaded into 
another movie, some data does not load. I have used "service capture" 
and my data is in fact returned. Now I am pretty confident with the code 
since it runs on it's own perfect. I thought at first that it might be a 
scope issue or an issue with the _root time line - but I have ruled that 
out as I only use a relative path as opposed to an absolute path.


IS this a known bug? I have been googling for a few hours already.


Thanks in advance!



___
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