List Info

Thread: Double UserRecentPhotos problem




Double UserRecentPhotos problem
user name
2007-11-06 10:00:30
Hi Kelvin,

ok, i downloaded flashr 0.5 and so now .as core are in
dedicated folder.
Well, in UserRecentPhotos.as (that i moved in
/flashr/example/) i changed few rows.

Here is the example:
import com.kelvinluck.flashr.core.Flashr;
import com.kelvinluck.flashr.core.FlashrResponseEvent;
import com.kelvinluck.flashr.core.Person;
import com.kelvinluck.flashr.core.Photo;
import com.kelvinluck.util.LogWrapper;
import com.dynamicflash.utils.Delegate;

class com.kelvinluck.flashr.example.UserRecentPhotos
extends
MovieClip
{
	
	public var _apiKey:String;
	public var _userNsid:String;

	var _target:MovieClip;
	
	function UserRecentPhotos()
	{
		LogWrapper.getInstance().init();
		LogWrapper.getInstance().addTracePublisher();
		_target = this;
		var _flashr:Flashr = Flashr.getFlashr();
		_flashr.apiKey = _apiKey;
		var _flashrResponseListener:FlashrResponseEvent = new
FlashrResponseListener();
		_flashrResponseListener.setSuppressOutput(true);
		_flashrResponseListener.onPeopleGetPublicPhotos =
Delegate.create(this, onPeopleGetPublicPhotos);
		_flashr.peopleGetPublicPhotos(_userNsid, null, 10,1);
	}
	[..cut..]
}

But the only result i have is:
The class or interface
'com.shockwave_india.util.PriorityQueue' could not be
loaded.
The class or interface
'com.shockwave_india.util.PriorityQueue' could not be
loaded.
There is no class or package with the name
'com.kelvinluck.flashr.core.FlashrRequestQueue' found in
package 'com.kelvinluck.flashr.core'.
There is no class or package with the name
'com.kelvinluck.flashr.core.FlashrRequestQueue' found in
package 'com.kelvinluck.flashr.core'.
There is no class or package with the name
'com.kelvinluck.flashr.core.FlashrRequestQueue' found in
package 'com.kelvinluck.flashr.core'.
There is no class or package with the name
'com.kelvinluck.flashr.core.FlashrRequestQueue' found in
package 'com.kelvinluck.flashr.core'.


What's wrong with the code?
I feel lost.


Thanks again,
Davide R

_______________________________________________
Flashr mailing list
Flashrosflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org


Re: Double UserRecentPhotos problem
user name
2007-11-08 09:30:00
Hi,

It sounds like you are missing some of the files from the
download. You 
need to put the entire contents of the src directory from
the downloaded 
zip into the same folder as your fla.

Hope that helps,

Kelvin 

Davide Reppucci <gd labs - www.gdlabs.it> wrote:
> Hi Kelvin,
> 
> ok, i downloaded flashr 0.5 and so now .as core are in
> dedicated folder.
> Well, in UserRecentPhotos.as (that i moved in
> /flashr/example/) i changed few rows.
> 
> Here is the example:
> import com.kelvinluck.flashr.core.Flashr;
> import com.kelvinluck.flashr.core.FlashrResponseEvent;
> import com.kelvinluck.flashr.core.Person;
> import com.kelvinluck.flashr.core.Photo;
> import com.kelvinluck.util.LogWrapper;
> import com.dynamicflash.utils.Delegate;
> 
> class com.kelvinluck.flashr.example.UserRecentPhotos
extends
> MovieClip
> {
> 	
> 	public var _apiKey:String;
> 	public var _userNsid:String;
> 
> 	var _target:MovieClip;
> 	
> 	function UserRecentPhotos()
> 	{
> 		LogWrapper.getInstance().init();
> 		LogWrapper.getInstance().addTracePublisher();
> 		_target = this;
> 		var _flashr:Flashr = Flashr.getFlashr();
> 		_flashr.apiKey = _apiKey;
> 		var _flashrResponseListener:FlashrResponseEvent =
new
> FlashrResponseListener();
> 		_flashrResponseListener.setSuppressOutput(true);
> 		_flashrResponseListener.onPeopleGetPublicPhotos =
> Delegate.create(this, onPeopleGetPublicPhotos);
> 		_flashr.peopleGetPublicPhotos(_userNsid, null,
10,1);
> 	}
> 	[..cut..]
> }
> 
> But the only result i have is:
> The class or interface
> 'com.shockwave_india.util.PriorityQueue' could not be
> loaded.
> The class or interface
> 'com.shockwave_india.util.PriorityQueue' could not be
> loaded.
> There is no class or package with the name
> 'com.kelvinluck.flashr.core.FlashrRequestQueue' found
in
> package 'com.kelvinluck.flashr.core'.
> There is no class or package with the name
> 'com.kelvinluck.flashr.core.FlashrRequestQueue' found
in
> package 'com.kelvinluck.flashr.core'.
> There is no class or package with the name
> 'com.kelvinluck.flashr.core.FlashrRequestQueue' found
in
> package 'com.kelvinluck.flashr.core'.
> There is no class or package with the name
> 'com.kelvinluck.flashr.core.FlashrRequestQueue' found
in
> package 'com.kelvinluck.flashr.core'.
> 
> 
> What's wrong with the code?
> I feel lost.
> 
> 
> Thanks again,
> Davide R
> 
> _______________________________________________
> Flashr mailing list
> Flashrosflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org


_______________________________________________
Flashr mailing list
Flashrosflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )