Closed GoogleCodeExporter closed 9 years ago
I'm having the exact same problem. This doesn't seem to work in CS5.
Original comment by zerominu...@gmail.com
on 5 Apr 2011 at 10:10
I'm experiencing the same issue in Flash CS4 on Mac OS X 10.6.6.
Original comment by stephen....@gmail.com
on 7 Apr 2011 at 2:13
you need to add the flex.swc to your library path. The flex.swc is distributed
with CS5 and should be in the Flash configuration folder, like
"Configuration\ActionScript 3.0\flex_sdk\4.0.0\frameworks\libs\"
Original comment by k...@bit-101.com
on 7 Apr 2011 at 2:25
Original comment by k...@bit-101.com
on 7 Apr 2011 at 2:26
Hey Keith,
Awesome, thanks for the quick response can't wait to start using
MinimalConfigurator!
For anyone else reading this thread using Flash CS4 (on Mac?) the libaray path
to the flex.swc is:
$(AppConfig)/ActionScript 3.0/libs/flex_sdk_3/frameworks/libs/
Original comment by stephen....@gmail.com
on 7 Apr 2011 at 2:33
Adding flex.swc didn't fix the issue for me. But adding framework.swc did.
Flash IDE > Publish > Profile > ActionScript settings > Library Path >
[ path-to-sdk ]/frameworks/libs/framework.swc
Original comment by bruno.im...@gmail.com
on 30 Nov 2011 at 5:54
Dear Keith,
I would like to use your package to Using a MinimalComps’ Scrollbar as mentioned below. I'm using flash cs5.5 version. So I downloaded your package minimalcomps and I copied the folder assets and com folder within my project actionscript 3 flash folder. I downloaded as well the package flex_sdk_4.6.0.23201B last version on my desktop. I downloaded as well the following Component_Ronda class:
package com.bit101.components
{
import mx.core.*;
public class Component_Ronda extends FontAsset
{
public function Component_Ronda()
{
return;
}// end function
}
}
and I copy it within the folder components of your package I downloaded.
Finally I've used publish setting to import framework.swc or flex.swc as you
can see in figure 2 attached. When I run the project , as you can see in figure
1 attached I get the following error message;
Impossible to find definition of basic class FontAsset!
Than appear a message within a window that suggest to me to find the right path where is located the class FontAsset. I set the right path but it does not work. I'm getting cracy but I'm still not able to sort out the matter. Please help me to find out the solution in order to run correctly my project.
Thanks in advance. Looking forward to hearing from you I attend here my best
regards to you,
Salvatore Mandarini
--------------------------------------------------------
import flash.display.Sprite;
import flash.geom.Rectangle;
import com.bit101.components.VScrollBar;
import flash.events.Event;
var sprite:Sprite = new Sprite();
sprite.graphics.beginFill(0xeeeeee);
sprite.graphics.drawRect(0, 0, 100, 500);
sprite.graphics.endFill();
sprite.graphics.lineStyle(0);
for(var i:int = 0; i < 100; i++)
{
sprite.graphics.lineTo(Math.random() * 100, Math.random() * 500);
}
sprite.scrollRect = new Rectangle(0, 0, 100, 100);
addChild(sprite);
var scrollbar:VScrollBar = new VScrollBar(this, 100, 0, onScroll);
scrollbar.setThumbPercent(100 / sprite.height);
scrollbar.maximum = sprite.height - 100;
scrollbar.pageSize = 100;
scrollbar.lineSize = 1;
function onScroll(event:Event):void
{
sprite.scrollRect = new Rectangle(0, scrollbar.value, 100, 100);
}
Original comment by sasa78...@gmail.com
on 22 Jan 2012 at 8:57
Attachments:
This post helped me in same problem:
http://www.thewhitewood.com/?p=550
Original comment by sat...@mail.ru
on 18 Feb 2012 at 8:30
Original issue reported on code.google.com by
dgrisha...@gmail.com
on 22 Mar 2011 at 3:01Attachments: