Need help creating video class

I have the following code (most of which came from adobe
sample code) that I'm trying to use to create a simple class that
will connect to a flash media server. But, I've never done classes
in flash before so I'm not sure how to do a few things.
1. In my connect method, I'd like to have it return a boolean
value determined by whether or not it was able to connect. But
since I am using addEventListener for the NetStatusEvent, I'm not
sure if I can do that or how.
2. Is there a way to make it so that if the value of my
sErrMsg variable changes, it throws some kind of event to the swf
that is using this class? I figured if I could do that, I could do
away with requirement #1.
Thanks.
package {
import flash.display.Sprite;
import flash.events.*;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
public class VideoPlayer extends Sprite {
private var vidUrl:String = "filename";
private var server:String = "rtmp:/localhost/app";
private var conn:NetConnection;
private var stream:NetStream;
private var vWidth:Number = 300;
private var vHeight:Number = 200;
private var string sErrMsg = "";
public function set VideoUrl(sVid:String):void{
vidUrl = sVid;
public function set FlashMediaServer(sFMS:String):void{
server = sFMS;
public function get ErrorMessage():String{
return sErrMsg;
public function VideoPlayer(){}
public function Connect():void{
if (server.length > 0){
conn = new NetConnection();
conn.addEventListener(NetStatusEvent.NET_STATUS,
statusHandler);
conn.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrHandler);
conn.connect(server);
private function
securityErrHandler(event:SecurityErrorEvent):void{
sErrMsg = event;
private function statusHandler(event:NetStatusEvent):void{
switch (event.info.code){
case "NetConnection.Connect.Success":
connectStream();
break;
case "NetStream.Play.StreamNotFound":
sErrMsg = "Unable to locate video";
break;
case "NetConnection.Connect.Failed":
sErrMsg = "Unable to connect to server";
break;
private function connectStream():void{
if (vidUrl.length > 0){
var stream:NetStream = new NetStream(conn);
stream.addEventListener(NetStatusEvent.NET_STATUS,
statusHandler);
var video:Video = new Video();
video.width = vWidth;
video.height = vHeight;
video.attachNetStream(stream);
stream.play(vidUrl);
addChild(video);
private function onMetaData(infoObject:Object):void{
var key:String;
for (key in infoObject){
if (key == "width")
vWidth = infoObject[key];
if (key == "height")
vHeight = infoObject[height];
}

I would suggest going to the book Killer Game Programming by Andrew Davison. In his book he has several classes that can accomplish the effects that you want. There are full explanations and you can download the code.
Here is the link:
http://fivedots.coe.psu.ac.th/~ad/jg/index.html
Ex. Page Flipping //Double Buffering & Page Flipping in Chapter 4
Sprite management //3D Sprite Chapter 18; Animated 3D Sprites Chapter 19
Collision Detection //Sprite Bounding Box & Defining a Sprite in Chapter 11
Rendering loop //Rendering the Game in chapter 4
Peace
trusting in the Lord

Similar Messages

  • Need Help with new Classes / methods

    Hi, I need to create a class called Proposition. It include a Proposition object with 3 variables
    Name, Description, Value
    This is the constructor I wrote:
    private String name;
    private String description;
    private boolean value;
    public Proposition(){
              name = "name";
              description = "description";
              value = false;
    }Now I need a method that give values to the 3 variables in the proposition object:
         public Proposition setProp(String line){
              StringTokenizer ST1 = new StringTokenizer(line, ".");
              String ValidLine = ST1.nextToken()+".";
              StringTokenizer ST2 = new StringTokenizer(ValidLine, "=");
              name = CutSpace(ST2.nextToken());
              description = (ST2.nextToken()).trim();
              value = false;
              return name;
              return description;
              return value;
         }An example of String line is: v = we are in Vancouver.
    When I run the program, I got error message with the 3 return statements saying found String/Boolean while Proposition is needed. I'm not quite sure how to write the return statements. Can any1 help?
    Thx!

    Your setProp() method should not be returning anything. After all it is setting not getting. So just declare it as
    public void setProp(String line){and remove the return statements.

  • Uber Noob Needs Help Creating website!

    I need help creating my webpage: It has a textbox on it were
    the user enters a URL and it then redirects the end user to that
    URL when they press the GO Button. It also has a check box saying
    "Hide my IP", If the end user clicks this box and then clicks go
    they will be directed to the website they stateted in the Textbox
    but this time it shall mask there IP Address so they can bypass
    proxys and surf anonomosly. Please can someone give me some HTML
    code i could use for this site or a Link to a website that can give
    me the code.

    I assume the application is connecting to Oracle using an application ID/password. If so, check to see if that user has a private synonyn to the table. If so drop it since you have a public synonym.
    Verify that the public synonym is in fact correct. Drop and recreate the public synonym if you cannot select against the synonym name using an ID that can perform select * from inhouse.icltm where rownum = 1. That is if this other user cannot issue select * from icltm where rownum = 1 without an error.
    Check that the application ID has the necessary object privileges on the table.
    Queries you need
    select * from dba_synonyms
    where table_owner = 'INHOUSE'
    and table_name = 'ICLTM'
    You may find both public and private synonms. Either fix or delete. (Some may reference someelses.icltm table if one exists)
    select * from dba_tab_privs
    where table_name = 'ICLTM'
    and owner = 'INHOUSE'
    Note - it is possible to create mixed case or lower case object names in Oracle by using double quotes around the name. Do not do this, but do look to see that this was not done.
    You could also query dba_objects for all object types that have the object_name = 'ICLTM'
    HTH -- Mark D Powell --

  • Need Help With Videos on Zen V P

    I need help putting videos on my Creative Zen V Plus. I convert them to avi using Super Converter and I drag and drop them into the folder for the videos on my zen. When I turn on my Zen and go to the videos the video is there however when I try to play it it says video format not supported.

    Original?Creative software after internet upgrades easy convert any video to Zen format and automaticaly transfere it to player.

  • Need help moving videos/photos from Galaxy S4 to iMac

    need help moving videos/photos from Galaxy S4 to iMac
    Samsung's utility Kies is awful
    Hlpe please

    did this
    import photos from android to mac
    got this, try it
    http://www.phototransferapp.com/help/android/transfer_photos_from_your_android_t o_your_mac/
    or use the first link to try some of the google hits for ways to get photos from android devices into osx

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

  • NEED HELP remove Video Gallery

    I am importing the video gallery dynamically via Flash professional and in need of help how to remove the sound and where to put the code so the sound stops playing while viewing the otehr pages.
    package 
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.ui.Keyboard;
        import flash.filters.DropShadowFilter;
        import flash.net.URLLoader;
        import flash.text.*;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.Font;
        import flash.net.*;
        import flash.events.MouseEvent;
        import flash.display.Loader;
        import flash.display.BitmapData;
        import flash.events.ProgressEvent;
        import flash.display.Graphics;
        import flash.net.URLRequest;
        import fl.video.*;
        //import gs.*;
    //    import gs.easing.*;
        //Classes for guesture support for mobile devices
        import flash.ui.Multitouch;
        import flash.ui.MultitouchInputMode;
        import flash.events.TransformGestureEvent;
        //Custom classes
        import com.other.TextHandle;
        import com.other.Mp3Player;
        //Greensock tween class for better tweens
        import com.greensock.*;
        import com.greensock.TweenMax;
        import com.greensock.TweenLite;
        import com.greensock.easing.*;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import com.greensock.events.LoaderEvent;
        import com.greensock.plugins.*;
        TweenPlugin.activate([VolumePlugin]);
        public class Portfolio extends MovieClip
            //Declare movieclips for backgrounds
            var myBg1:MovieClip;
            var myBg2:MovieClip;
            var myBg3:MovieClip;
            var myBg4:MovieClip;
            var myBg5:MovieClip;
            var myBgHome:MovieClip;
            //Declare movieclips for nav buttons
            var myBtn01:MovieClip;
            var myBtn02:MovieClip;
            var myBtn03:MovieClip;
            var myBtn04:MovieClip;
            var myBtn05:MovieClip;
            var mybackBtn:MovieClip;
            var player:Mp3Player
            //var slideItem:SlideItem;
            var tempContainer:Sprite;
            var hiddenOptions:Boolean;
            var optionsMenu:MovieClip;
            var myXML:XML;
            var myLoader:URLLoader = new URLLoader();
            var myThumb:Loader;
            var myTextField:TextField;
            var myTxt:TextField;
            // Video Classes
            var thumbWidth:Number;
            var thumbHeight:Number;
            var thumbX:Number;
            var thumbY:Number;
            var videoX:Number;
            var videoY:Number;
            var myVideos:XMLList;
            var totalVideos:int;
            var videoContainer:MovieClip;
            var thumbs:MovieClip;
            var titles:MovieClip;
            var videoPlayer:FLVPlayback;
            // ImageGallery Classes
            public function Portfolio()
                myLoader.load(new URLRequest("myFirstXML.xml"));
                myLoader.addEventListener(Event.COMPLETE, processXML);
                // constructor code
                firstPage();
                makeMenu();
                homePage();
                /* EXAMPLE OF USING GESTURE SUPPORT ON A MOBILE DEVICE */
                Multitouch.inputMode = MultitouchInputMode.GESTURE;
                //slideItem = new SlideItem();
                /* Center the image */
                //slideItem.x = stage.stageWidth * 0.5;
                //slideItem.y = stage.stageHeight * 0.5;
                //addChild(slideItem);
                //listeners('add', slideItem); //see function for more detail
                // TextHandle Class for TextFields
                var Intro:TextHandle = new TextHandle("My Portfolio","Arial");
                //OR with more optional details e.g. var a:TextHandle = new TextHandle("some text","Cooper Black",150);
                addChild(Intro);
                //Mp3Player Class for loading in sounds
                player = new Mp3Player();
                player.play('DwightQ3.mp3');
                /*Blur filter API*/
                var dropShadow:DropShadowFilter = new DropShadowFilter();
                dropShadow.color = 0x000000;
                dropShadow.blurX = 3;
                dropShadow.blurY = 3;
                dropShadow.angle = 45;
                dropShadow.alpha = 0.5;
                dropShadow.distance = 5;
                var filtersArray:Array = new Array(dropShadow);
                Intro.filters = filtersArray;
            // VIDEO GALLERY
            public function VideoGallery()
                // constructor code
                var myXMLLoader:URLLoader = new URLLoader();
                myXMLLoader.load (new URLRequest("myVideoXML.xml"));
                myXMLLoader.addEventListener (Event.COMPLETE, processXML);
            function processXML (e:Event):void
                myXML = new XML(e.target.data);
                //Get attributes from XML document
                thumbWidth = myXML.@THUMB_WIDTH;
                thumbHeight = myXML.@THUMB_HEIGHT;
                thumbX = myXML.@THUMB_X;
                thumbY = myXML.@THUMB_Y;
                thumbX = myXML.@VIDEO_X;
                thumbY = myXML.@VIDEO_Y;
                //Get Element information from VIDEO tags
                myVideos = myXML.VIDEO;
                //Count the number of Elements with VIDEO tags
                totalVideos = myVideos.length();
                makeContainers();
                callThumbs();
                makePlayer();
            function makeContainers():void
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = 20;
                thumbs.y = 400;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
                titles = new MovieClip();
                titles.x = 20;
                titles.y = 330;
                videoContainer.addChild(titles);
            function callThumbs ():void
                for (var i:Number = 0; i <totalVideos; i++)
                    trace(myVideos[i].THUMB);
                    var thumbURL = myVideos[i].THUMB;
                    var thumbLoader = new Loader();
                    thumbLoader.name = i;
                    thumbLoader.load(new URLRequest(thumbURL));
                    thumbLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,thumbLoaded);
                    //Change spaces for thumnails vertically
                    thumbLoader.x = (thumbHeight+90)*i;
                    var thumbTitle = myVideos[i].TITLE;
                    var titleTXT:TextField = new TextField();
                    titleTXT.text = thumbTitle;
                    titleTXT.y = thumbTitle;
                    //Change spaces for thumbnails horizontally
                    titleTXT.x = (thumbWidth + 1)*i;
                    titleTXT.width = thumbWidth;
                    titleTXT.height = thumbHeight;
                    titleTXT.wordWrap = true;
                    titles.addChild (titleTXT);
            function thumbLoaded (e:Event):void
                var myThumb:Loader = Loader (e.target.loader);
                thumbs.addChild(myThumb);
            function makePlayer():void
                videoPlayer = new FLVPlayback();
                videoPlayer.skin ="SkinUnderPlaySeekStop.swf";trace("noerror");
                videoPlayer.skinBackgroundColor = 0x0099FF;
                videoPlayer.skinBackgroundAlpha = 0.85;
                videoPlayer.x = 100;
                videoPlayer.y = 30;
                //240p settings for 16:9 resolution
                //width would = 320 on 4:3 resoloution
                videoPlayer.width = 432;
                videoPlayer.height=240;
                //480p settings for 16:9 resolution
                //.width would = 640 on 4:3 resoloution
                //videoPlayer.width = 854;
                //videoPlayer.height = 480;
                //1280x720p or 1920x1080p are unliely on most current mobile devices
                videoContainer.addChild(videoPlayer);
                videoPlayer.source = myXML.VIDEO.URL[0];
                //Skip some time in the video (Do not need this if you want to start at the beginning of video)
                videoPlayer.playheadTime = Math.random()*0;
                smoothVideo()
                videoPlayer.addEventListener(fl.video.VideoEvent.COMPLETE,completePlay);
                //Once recieved metadata then do something
                videoPlayer.addEventListener(MetadataEvent.METADATA_RECEIVED,onVideoDataRecived);
                //videoPlayer.addEventListener(VideoEvent.STATE_CHANGE,videoHandler);
            function smoothVideo()
                var myVideo = videoPlayer.getVideoPlayer(0);
                myVideo.smoothing = true;
            function onVideoDataRecived(e:MetadataEvent)
                trace(videoPlayer.totalTime);
                //trace(videoPlayer.bytesLoaded);
                //trace(videoPlayer.bytesTotal);
                //videoPlayer.playheadTime = 50;
            function playVideo (e:MouseEvent):void
                var videoURL = myVideos[e.target.name].URL;
                trace (videoURL);
                videoPlayer.source = videoURL;
                //videoPlayer.autoPlay = false;
            function onOverThumb (e:MouseEvent):void
                var myThumb:Loader = Loader(e.target);
                myThumb.alpha = 0.5;
            function onOutThumb (e:MouseEvent):void
                var myThumb:Loader = Loader (e.target);
                myThumb.alpha = 1;
            function completePlay (e:fl.video.VideoEvent):void
                videoPlayer.alpha = 0.2;
            function stopVideo(evt:MouseEvent): void {
            FUNCTIONS THAT:
                     RECEIVE THE MOUSE EVENTS FROM THE MENU
                     CLEAR THE MENU EVENT LISTENERS
                     CLEAR THE SCREEN
                     GOTO THE REQUIRED PAGE FUNCTION
            function gotoPage1(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                firstPage();
                loadImage(0);
                loadImage2(1);
                maketext()   
            function gotoPage2(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                secondPage();
            function gotoPage3(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                thirdPage();
            function gotoPage4(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fourthPage();
            function gotoPage5(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fifthPage();
                makeContainers(); trace ("moo");
                callThumbs(); trace ("boo");
                VideoGallery(); trace ("weee");
            function gotoHomePage(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                homePage();
                //player.play("DwightQ3.mp3");
            FUNCTIONS THAT:
                     MAKE THE PAGES
            function homePage()
                myBgHome = new BgStripes();
                addChild(myBgHome);
                makeMenu();
                trace("Homepage");
            function firstPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("firstpage");
            function secondPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("secondpage");
                myBtn04 = new btnDesign();
                myBtn04.x = 100;
                myBtn04.y = 100;
                addChild(myBtn04);
                myBtn04.addEventListener(MouseEvent.CLICK, gotoPage4);
                myBtn05 = new btnMedia();
                myBtn05.x = 400;
                myBtn05.y = 100;
                addChild(myBtn05);
                myBtn05.addEventListener(MouseEvent.CLICK, gotoPage5);
            function thirdPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("thirdpage");
            function fourthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fourthpage");
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = thumbX;
                thumbs.y = thumbY;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
            function fifthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fifthpage");
                    function clearScreen()
                //Clear all movieclips from the display list
                    while (numChildren > 0){ removeChildAt(0); }
            function clearMenuListeners()
                //Remove event listeners to prevent double ups when menu is added again
                myBtn01.removeEventListener(MouseEvent.CLICK, gotoPage1);
                myBtn02.removeEventListener(MouseEvent.CLICK, gotoPage2);
                myBtn03.removeEventListener(MouseEvent.CLICK, gotoPage3);
                mybackBtn.removeEventListener(MouseEvent.CLICK, gotoHomePage);
            function makeMenu()
                //Place buttons and add event listeners to receive mouse clicks
                myBtn01 = new mcAbout();
                myBtn01.x = 260;
                myBtn01.y = 500;
                addChild(myBtn01);
                myBtn01.addEventListener(MouseEvent.CLICK, gotoPage1);
                TweenMax.to(myBtn01, 0.5, {x:260, y:450});
                myBtn02 = new mcPortfolio();
                myBtn02.x = 400;
                myBtn02.y = 500;
                addChild(myBtn02);
                myBtn02.addEventListener(MouseEvent.CLICK, gotoPage2);
                TweenMax.to(myBtn02, 0.5, {x:400, y:450});
                myBtn03 = new mcContact();
                myBtn03.x = 540;
                myBtn03.y = 500;
                addChild(myBtn03);
                myBtn03.addEventListener(MouseEvent.CLICK, gotoPage3);
                TweenMax.to(myBtn03, 0.5, {x:540, y:450});

    use:
    package 
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.ui.Keyboard;
        import flash.filters.DropShadowFilter;
        import flash.net.URLLoader;
        import flash.text.*;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.Font;
        import flash.net.*;
        import flash.events.MouseEvent;
        import flash.display.Loader;
        import flash.display.BitmapData;
        import flash.events.ProgressEvent;
        import flash.display.Graphics;
        import flash.net.URLRequest;
        import fl.video.*;
        //import gs.*;
    //    import gs.easing.*;
        //Classes for guesture support for mobile devices
        import flash.ui.Multitouch;
        import flash.ui.MultitouchInputMode;
        import flash.events.TransformGestureEvent;
        //Custom classes
        import com.other.TextHandle;
        import com.other.Mp3Player;
        //Greensock tween class for better tweens
        import com.greensock.*;
        import com.greensock.TweenMax;
        import com.greensock.TweenLite;
        import com.greensock.easing.*;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import com.greensock.events.LoaderEvent;
        import com.greensock.plugins.*;
        TweenPlugin.activate([VolumePlugin]);
        public class Portfolio extends MovieClip
            //Declare movieclips for backgrounds
            var myBg1:MovieClip;
            var myBg2:MovieClip;
            var myBg3:MovieClip;
            var myBg4:MovieClip;
            var myBg5:MovieClip;
            var myBgHome:MovieClip;
            //Declare movieclips for nav buttons
            var myBtn01:MovieClip;
            var myBtn02:MovieClip;
            var myBtn03:MovieClip;
            var myBtn04:MovieClip;
            var myBtn05:MovieClip;
            var mybackBtn:MovieClip;
            var player:Mp3Player
            //var slideItem:SlideItem;
            var tempContainer:Sprite;
            var hiddenOptions:Boolean;
            var optionsMenu:MovieClip;
            var myXML:XML;
            var myLoader:URLLoader = new URLLoader();
            var myThumb:Loader;
            var myTextField:TextField;
            var myTxt:TextField;
            // Video Classes
            var thumbWidth:Number;
            var thumbHeight:Number;
            var thumbX:Number;
            var thumbY:Number;
            var videoX:Number;
            var videoY:Number;
            var myVideos:XMLList;
            var totalVideos:int;
            var videoContainer:MovieClip;
            var thumbs:MovieClip;
            var titles:MovieClip;
            var videoPlayer:FLVPlayback;
            // ImageGallery Classes
            public function Portfolio()
                myLoader.load(new URLRequest("myFirstXML.xml"));
                myLoader.addEventListener(Event.COMPLETE, processXML);
                // constructor code
                firstPage();
                makeMenu();
                homePage();
                /* EXAMPLE OF USING GESTURE SUPPORT ON A MOBILE DEVICE */
                Multitouch.inputMode = MultitouchInputMode.GESTURE;
                //slideItem = new SlideItem();
                /* Center the image */
                //slideItem.x = stage.stageWidth * 0.5;
                //slideItem.y = stage.stageHeight * 0.5;
                //addChild(slideItem);
                //listeners('add', slideItem); //see function for more detail
                // TextHandle Class for TextFields
                var Intro:TextHandle = new TextHandle("My Portfolio","Arial");
                //OR with more optional details e.g. var a:TextHandle = new TextHandle("some text","Cooper Black",150);
                addChild(Intro);
                //Mp3Player Class for loading in sounds
                player = new Mp3Player();
                player.play('DwightQ3.mp3');
                /*Blur filter API*/
                var dropShadow:DropShadowFilter = new DropShadowFilter();
                dropShadow.color = 0x000000;
                dropShadow.blurX = 3;
                dropShadow.blurY = 3;
                dropShadow.angle = 45;
                dropShadow.alpha = 0.5;
                dropShadow.distance = 5;
                var filtersArray:Array = new Array(dropShadow);
                Intro.filters = filtersArray;
            // VIDEO GALLERY
            public function VideoGallery()
                // constructor code
                var myXMLLoader:URLLoader = new URLLoader();
                myXMLLoader.load (new URLRequest("myVideoXML.xml"));
                myXMLLoader.addEventListener (Event.COMPLETE, processXML);
            function processXML (e:Event):void
                myXML = new XML(e.target.data);
                //Get attributes from XML document
                thumbWidth = myXML.@THUMB_WIDTH;
                thumbHeight = myXML.@THUMB_HEIGHT;
                thumbX = myXML.@THUMB_X;
                thumbY = myXML.@THUMB_Y;
                thumbX = myXML.@VIDEO_X;
                thumbY = myXML.@VIDEO_Y;
                //Get Element information from VIDEO tags
                myVideos = myXML.VIDEO;
                //Count the number of Elements with VIDEO tags
                totalVideos = myVideos.length();
                makeContainers();
                callThumbs();
                makePlayer();
            function makeContainers():void
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = 20;
                thumbs.y = 400;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
                titles = new MovieClip();
                titles.x = 20;
                titles.y = 330;
                videoContainer.addChild(titles);
            function callThumbs ():void
                for (var i:Number = 0; i <totalVideos; i++)
                    trace(myVideos[i].THUMB);
                    var thumbURL = myVideos[i].THUMB;
                    var thumbLoader = new Loader();
                    thumbLoader.name = i;
                    thumbLoader.load(new URLRequest(thumbURL));
                    thumbLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,thumbLoaded);
                    //Change spaces for thumnails vertically
                    thumbLoader.x = (thumbHeight+90)*i;
                    var thumbTitle = myVideos[i].TITLE;
                    var titleTXT:TextField = new TextField();
                    titleTXT.text = thumbTitle;
                    titleTXT.y = thumbTitle;
                    //Change spaces for thumbnails horizontally
                    titleTXT.x = (thumbWidth + 1)*i;
                    titleTXT.width = thumbWidth;
                    titleTXT.height = thumbHeight;
                    titleTXT.wordWrap = true;
                    titles.addChild (titleTXT);
            function thumbLoaded (e:Event):void
                var myThumb:Loader = Loader (e.target.loader);
                thumbs.addChild(myThumb);
            function makePlayer():void
                videoPlayer = new FLVPlayback();
                videoPlayer.skin ="SkinUnderPlaySeekStop.swf";trace("noerror");
                videoPlayer.skinBackgroundColor = 0x0099FF;
                videoPlayer.skinBackgroundAlpha = 0.85;
                videoPlayer.x = 100;
                videoPlayer.y = 30;
                //240p settings for 16:9 resolution
                //width would = 320 on 4:3 resoloution
                videoPlayer.width = 432;
                videoPlayer.height=240;
                //480p settings for 16:9 resolution
                //.width would = 640 on 4:3 resoloution
                //videoPlayer.width = 854;
                //videoPlayer.height = 480;
                //1280x720p or 1920x1080p are unliely on most current mobile devices
                videoContainer.addChild(videoPlayer);
                videoPlayer.source = myXML.VIDEO.URL[0];
                //Skip some time in the video (Do not need this if you want to start at the beginning of video)
                videoPlayer.playheadTime = Math.random()*0;
                smoothVideo()
                videoPlayer.addEventListener(fl.video.VideoEvent.COMPLETE,completePla y);
                //Once recieved metadata then do something
                videoPlayer.addEventListener(MetadataEvent.METADATA_RECEIVED,onVideoD ataRecived);
                //videoPlayer.addEventListener(VideoEvent.STATE_CHANGE,videoHandler);
            function smoothVideo()
                var myVideo = videoPlayer.getVideoPlayer(0);
                myVideo.smoothing = true;
            function onVideoDataRecived(e:MetadataEvent)
                trace(videoPlayer.totalTime);
                //trace(videoPlayer.bytesLoaded);
                //trace(videoPlayer.bytesTotal);
                //videoPlayer.playheadTime = 50;
            function playVideo (e:MouseEvent):void
                var videoURL = myVideos[e.target.name].URL;
                trace (videoURL);
                videoPlayer.source = videoURL;
                //videoPlayer.autoPlay = false;
            function onOverThumb (e:MouseEvent):void
                var myThumb:Loader = Loader(e.target);
                myThumb.alpha = 0.5;
            function onOutThumb (e:MouseEvent):void
                var myThumb:Loader = Loader (e.target);
                myThumb.alpha = 1;
            function completePlay (e:fl.video.VideoEvent):void
                videoPlayer.alpha = 0.2;
            function stopVideo(evt:MouseEvent): void {
            FUNCTIONS THAT:
                     RECEIVE THE MOUSE EVENTS FROM THE MENU
                     CLEAR THE MENU EVENT LISTENERS
                     CLEAR THE SCREEN
                     GOTO THE REQUIRED PAGE FUNCTION
            function gotoPage1(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                firstPage();
                loadImage(0);
                loadImage2(1);
                maketext()   
            function gotoPage2(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                secondPage();
            function gotoPage3(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                thirdPage();
            function gotoPage4(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fourthPage();
            function gotoPage5(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                fifthPage();
                makeContainers(); trace ("moo");
                callThumbs(); trace ("boo");
                VideoGallery(); trace ("weee");
            function gotoHomePage(e:MouseEvent)
                clearMenuListeners()
                clearScreen();
                homePage();
    videoPlayer.stop();
                //player.play("DwightQ3.mp3");
            FUNCTIONS THAT:
                     MAKE THE PAGES
            function homePage()
                myBgHome = new BgStripes();
                addChild(myBgHome);
                makeMenu();
                trace("Homepage");
            function firstPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("firstpage");
            function secondPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("secondpage");
                myBtn04 = new btnDesign();
                myBtn04.x = 100;
                myBtn04.y = 100;
                addChild(myBtn04);
                myBtn04.addEventListener(MouseEvent.CLICK, gotoPage4);
                myBtn05 = new btnMedia();
                myBtn05.x = 400;
                myBtn05.y = 100;
                addChild(myBtn05);
                myBtn05.addEventListener(MouseEvent.CLICK, gotoPage5);
            function thirdPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("thirdpage");
            function fourthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fourthpage");
                videoContainer = new MovieClip();
                addChild (videoContainer);
                thumbs = new MovieClip();
                thumbs.x = thumbX;
                thumbs.y = thumbY;
                thumbs.buttonMode = true;
                videoContainer.addChild(thumbs);
                thumbs.addEventListener(MouseEvent.CLICK,playVideo);
                thumbs.addEventListener(MouseEvent.MOUSE_OVER,onOverThumb);
                thumbs.addEventListener(MouseEvent.MOUSE_OUT,onOutThumb);
            function fifthPage()
                myBgHome = new bgAll();
                addChild(myBgHome);
                mybackBtn = new backBtn();
                mybackBtn.x = 720;
                mybackBtn.y = 40;
                addChild(mybackBtn);
                mybackBtn.addEventListener(MouseEvent.CLICK, gotoHomePage); trace("fifthpage");
                    function clearScreen()
                //Clear all movieclips from the display list
                    while (numChildren > 0){ removeChildAt(0); }
            function clearMenuListeners()
                //Remove event listeners to prevent double ups when menu is added again
                myBtn01.removeEventListener(MouseEvent.CLICK, gotoPage1);
                myBtn02.removeEventListener(MouseEvent.CLICK, gotoPage2);
                myBtn03.removeEventListener(MouseEvent.CLICK, gotoPage3);
                mybackBtn.removeEventListener(MouseEvent.CLICK, gotoHomePage);
            function makeMenu()
                //Place buttons and add event listeners to receive mouse clicks
                myBtn01 = new mcAbout();
                myBtn01.x = 260;
                myBtn01.y = 500;
                addChild(myBtn01);
                myBtn01.addEventListener(MouseEvent.CLICK, gotoPage1);
                TweenMax.to(myBtn01, 0.5, {x:260, y:450});
                myBtn02 = new mcPortfolio();
                myBtn02.x = 400;
                myBtn02.y = 500;
                addChild(myBtn02);
                myBtn02.addEventListener(MouseEvent.CLICK, gotoPage2);
                TweenMax.to(myBtn02, 0.5, {x:400, y:450});
                myBtn03 = new mcContact();
                myBtn03.x = 540;
                myBtn03.y = 500;
                addChild(myBtn03);
                myBtn03.addEventListener(MouseEvent.CLICK, gotoPage3);
                TweenMax.to(myBtn03, 0.5, {x:540, y:450});

  • Need help with videos!!! Please

    i need help! i have a 30G ipod video and my videos are being weird. They used to play on my ipod but now there is no picture or sound. it plays on itunes too so i dont understand. Also, my purchased music plays on itunes but skips past them on my ipod-they used to play on my ipod. PLEASE help me!

    Welcome to Apple Discussions!
    For Videos:
    So what are they doing? Are the videos showing up under "Videos" on the iPod? What happens when you try to play them? Have you tried these?
    Resetting iPod
    Restore the iPod
    For Purchased Music Skipping:
    Have you played the songs in iTunes for a few seconds? This will authorize them. Now sync your iPod. Do they play?
    If not, make sure everything is up to date on your computer and iPod..
    iTunes
    iPod Updater
    Updating iPod's Software
    If that doesn't work, in iTunes, go to advanced-->deauthorize computer. Now play the songs in iTunes. It will ask for your account information (from the iTunes Music Store). Enter that. Now play a few purchased songs for a few seconds. Sync your iPod. Do the songs work now?
    If they don't, try this...
    Deauthorize the computer. (Go to advanced-->deauthorize computer in iTunes)
    Create a new user in the system. (Start-->control panel-->user accounts-->create a new account)
    Download the free song of the week in the new user account. (First, log out of the current user and log in to the new user account. Then open iTunes and download the free song)
    Play the song in that username to authorize it.
    Restore the iPod in the New User account, sync just the Free song of the Week and see if it plays on the iPod.
    If it plays fine on the iPod when syncing with this user name (after you followed the above instructions), it would indicate a bad iTunes Library File. Post back for instructions on how to fix that.
    Now, if it still won't work (you followed the above instructions with the new user account) and the iPod still won't play the songs, then post back.
    btabz

  • Need help creating arraylist

    I am trying to help a friend in school with a project and we need some help...
    We need to write a program to estimate how much paint is needed to paint a house. Assuming we know the square feet that a gallon of paint covers, number of coats required, and the dimensions of the wall, window, door, or gable.
    We are using a GUI to enter the data for the different regions.
    We have the GUI created and the hierchy competed. I need some help creating the arraylist to run the program.
    The user will enter a new region by selecting:
    surface type
    width
    height
    then you will be able to add or insert to include this region in the list.
    You will also be able modify, delete, or navigate to existing regions in the list by selecting the appropriate navigigation buttons below:
    ( |< or < or > or >| )
    Classes include:
    PaintEstimatorView
    PainEstimator Model
    Regions:
    Wall
    Door
    Gable
    Window
    And the Approriate Listners
    Each region will have its own height and width which are set when the region is created
    Each region will compute and return its area and the walls and gables will contribute to the surface; windows and doors will reduce the surface.
    each region will calculate its area.
    We need to include a View and Model
    The view will manage the interface and the model will provide the necessary processing.
    responsibilities of the view:
    Instantiate and arrange the windowobjects
    instantiate and initialize the model
    handle user generated events such as button clicks and menu selections by sending message to the model
    represent the model to the user.
    Model:
    Define and manage the applications data(coordinating the activities of several programmer defined classes)
    respond to messages from the view
    We have the GUI completed I just need some help getting the arraylist started to run the program.
    We will need to keep a count and index of all the regions created by the user and you need to be able to shuffle throught them if you need to delete or modify them. You also need to insert windows and doors which will subtract from the total surface area but you have to go back to which ever wall or gable and create the window or door before or after that region.
    If anybody could help it would be greatly appreciated.
    Thanks in adavnce
    Rus

    Sorry, I forgot to add my code last night.
    This is what we have so far.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    public class TestSwingCommonFeatures extends JFrame {
    private JRadioButton wall, window, gable, door;
    private JButton computegal;
    public TestSwingCommonFeatures() {
    // Create a panel to group three buttons
    JPanel p1 = new JPanel(new GridLayout(2, 2, 5, 5));
    JTextField sqftpergal = new JTextField(8);
         JTextField coats = new JTextField(8);
         JTextField gallonsneeded = new JTextField(8);
         gallonsneeded.setEditable(false);
         p1.add(new JLabel("SQ ft / gallon"));
    p1.add(sqftpergal);
    p1.add(new JLabel("Number of gallons:"));
    p1.add(coats);
    p1.add(new JLabel("Gallons needed:"));
    p1.add(gallonsneeded);
         p1.add(computegal = new JButton("Compute gallons needed"));
         //computegal;
    p1.setBorder(new TitledBorder("Select gallons & coats"));
    // Create a font and a line border
    Font largeFont = new Font("TimesRoman", Font.BOLD, 20);
    Border lineBorder = new LineBorder(Color.BLACK, 2);
    // Create a panel to group two labels
    // panel 2
         JPanel p2 = new JPanel(new GridLayout(4, 2, 5, 5));
    p2.add(wall = new JRadioButton("wall"));
    p2.add(gable = new JRadioButton("gable"));
         p2.add(new JButton("ADD"));
              p2.add(window = new JRadioButton("window"));
              p2.add(door = new JRadioButton("door"));
                   p2.add(new JButton("Remove"));
    p2.add(new JLabel("Width"));
    p2.add(new JTextField(12));
         p2.add(new JButton("Insert"));
         p2.add(new JLabel("Height"));
    p2.add(new JTextField(12));
         p2.add(new JButton("Delete"));
    p2.setBorder(new TitledBorder("Controls"));
    ButtonGroup radiogroup = new ButtonGroup();
    radiogroup.add(wall);
    radiogroup.add(gable);
         radiogroup.add(window);
         radiogroup.add(door);
    //panel 3     
         JPanel p3 = new JPanel(new GridLayout(2, 1, 5, 5));
    p3.setBorder(new TitledBorder("Section Selection"));
         p3.add(new JButton("<|"));
              p3.add(new JButton("<"));
                   p3.add(new JButton(">"));
                        p3.add(new JButton("|>"));
    p3.add(new JLabel("Count"));
    p3.add(new JTextField(4));
         p3.add(new JLabel("Index"));
    p3.add(new JTextField(4));
    // Add two panels to the frame
    setLayout(new GridLayout(3, 1, 5, 5));
    add(p1);
    add(p2);
         add(p3);
    public static void main(String[] args) {
    // Create a frame and set its properties
    JFrame frame = new TestSwingCommonFeatures();
    frame.setTitle("TestSwingCommonFeatures");
    frame.setSize(600, 400);
    frame.setLocationRelativeTo(null); // Center the frame
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
    private class UpdateListener implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    System.out.println("Update button was clicked");
    private class NavListener implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    System.out.println("Nav button was clicked");
    // Create a list to store data
    java.util.ArrayList paintList = new java.util.ArrayList();
    This is the GUI for the project that we have come up with. I have to write the arraylist for inside the model.
    I have tried a couple different things but have been unsuccessful getting it to work. All I am looking for is a start of the arraylist I will try to figure out the rest myself.
    Thanks

  • Need help with JComponent class

    Hi,
    I'm trying to create a class that has all the characteristics of several GUI components such as JButton, JLabel, JRadioButton .... combined into one big class. But when I run the codes, the object of this new class is not visible on a frame like a JButton or a JLabel would be. Someone, please give me some hints. Thanks.
    The ButtonWrapper class extends JButton and the CheckBoxWrapper class extends JCheckBox and they both work without any problems. The GuiWrapper class (listed below) is the class that has the visibility problem when added to a container of a frame.
    import java.awt.*;
    import javax.swing.*;
    public class GuiWrapper extends JComponent{
      public GuiWrapper(String ptype, String p2, String p3) {
         if(ptype.toLowerCase() == "button"){
           ButtonWrapper b = new ButtonWrapper(p2, p3);
         if(ptype.toLowerCase() == "checkbox"){
           CheckBoxWrapper c = new CheckBoxWrapper(p2, p3);
    }

    Okay, so, for starters, I think this is a Really Bad Idea. If your developers can't handle using the API/tutorial to learn how the components work, your project will fail. This UberClass will not help in the long run. It will also almost certainly turn into a maintainence nightmare for you.
    Of course, since you're going to do it anyway... I suspect your issue lies with paintComponent. If I recall correctly, paintComponent doesn't render anything by default for a JComponent. You'll need to override paintComponent and have it invoke the renderer for the relevant child component.

  • Need help with video uploading in flex 4

    hey guys... so i need to create a video uploading application... with video chunking...
    basically i need to break up the video file (may be 1Gig or more in size) in pieces and send it to the server using a method i call from my webservice...
    any ideas??
    i believe this process is called chunking... not sure how to do this...
    thank you very much in advance!!!

    dude. some time itunes just doesnt support drag and drop techniques . just try the simple copy and paste(ctrl(c+v)). if that file is gonna be played on the ipod u get a small tab box in the itunes that the file which u r copying is being processed .
    even if this technique doesnt work , then thats a faulty format . u can try another video converter . say videora or Aplus video converter . u will find them in www.download.com

  • Need help creating landscape in AE

    Hi, I need to create an animation of a train moving through different landscape scenes. I want the hills to be an actual 3D rendering with the train moving through them but I am unsure how to do this. I am familiar with 3D and can create the hills in my 3D application but how do I get my 3D hill into AE so the train, camera and lights etc. can interact with the hill?
    1. How do i get my 3D hill into AE?
    2. How do I add the train so it goes around the hills?
    3. How do I get the camera and lights etc. to reflect on my 3D hill?

    First of all, it would be very helpful to post an example of the kind of look you're going for or a similar shot you're trying to recreate.  In animation there are limitless ways of making things so it really helps to be very specific.  For now I can advise this much...
    1.  Render your hills out of your 3D application as an image sequence that supports transperancy if you want to layer them or you want the sky to show up behind them.
    2.  If you want the train to go around the hills, it really depends on how you make the train.  Are you also rendering that in a 3D app?
    3.  I don't know what you mean by getting the camera to reflect, but when you make a layer 3D, After Effects shows the Material Options settings that allow you to control how your layers react to different lighting setups.

  • Aperture Workflow - need help creating workflow for photo management

    Hi -
    I currently shoot with a Canon SD890 (point & shoot) and a Nikon D300 (SLR). My photography is either personal photography or street photography. I may use some of my photography for a web project but that should not be considered right now. I shoot jpegs with the SD890 and RAW with the D300. I need to create a workflow that will allow me to manage all of my photos as well as the RAW vs JPEG aspect. Here are a few initial questions:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives?
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    Thanks for your help!

    jnap818 wrote:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives? I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    No, use a single Library. Aperture will have no problems with the various formats or with various different cameras.
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    Actually those date or event driven batches of images are very logically "Projects" in Aperture. Simply name each group of images as you import into AP as a new Project.
    IMO it is not good to import camera-to-Aperture (or direct to any app other than the Finder). Best is to use a card reader and use the Finder to copy images from the camera card to a folder on the computer hard drive.
    Below is my Referenced-Masters workflow:
    • Remove the CF card from the camera and insert it into a CF card reader. Faster readers and cards are preferable.
    • Finder-copy images from CF to a labeled folder on the intended permanent Masters location hard drive. I label that folder with the Project name suffixed with _masters, that way I can always find the Masters if Aperture forgets where they are.
    • Eject CF.
    • Burn backup copies of the original images to DVDs or to hard drives (optional backup step).
    • Eject backup DVDs/hard drives (optional backup step).
    • From within Aperture, import images from the hard drive folder into Aperture selecting "Store files in their current location."
    • Review pix for completeness (e.g. a 500-pic shoot has 500 valid images showing).
    • Reformat CF in camera, and archive DVDs of originals off site.
    Note that the "eject" steps above are important in order to avoid mistakenly working on removable media.
    I strongly recommend that every Aperture user spend $35 and work through the tutorial CD Apple Pro Training Series: Aperture 2 (Apple Pro Training Series) by Ben Long, Richard Harrington, and Orlando Luna (Paperback - May 8, 2008), Amazon.com. Note that the value is in working the tutorial, not in using the book as a manual.
    Good luck!
    -Allen Wicks

  • Quick Time VR - need help creating qtvr

    I'm teaching my middle school students web design and flash to create an interactive school map. I want to add 360 qtvr's but I need help - I can't seem to get information on how to create them. Any Los Angeles help possible?

    QuickTime Pro doesn't create VR files. It only presents them.
    http://www.panoramas.dk/quicktime/qtvr/software.html
    A pretty good list of tools at that link.

  • Need to create development class

    Hi,
    I need to create new development class 'ZCMF'.
    Anyone have some idea?
    Regards,
    Swati

    Development class support the distribution development of large application.Set of abap program with a common meaning are placed in the dev class. It is loosely connected with other system,Its a component of R/3 system.It also have another name called Package. Previously all the development was called dev class now especially in Netweaver it was described as Package only.
    METHOD1:
    u can create Package or Development class  in two ways.....
    =>goto object navigator(SE 80)
    =>object Navigator was spited into 2 parts.one is obj selection area and another one is editing area....
    =>you have 2 select the "Package" in the left side frame(object selection).....
    =>Type ur Package name wit customer namespace (Z|Y) and press enter.
    =>it display that the object is not created.need to create an object
    =>press  yes
    =>it opens a new  form. in that  give short description.
    =>giv the transport layer as HOME.click save.
    =>then create ur own request 4 ur objects....
    =>u can save  all your development objects inside ur package.
    =>to view wat all is been put into ur package, u can go to SE01-transport organiser n view the package contents.
    METHOD 2:
    GOTO ABAP DICTIONARY(SE11)
    SELECT DATABASE TABLE
    Give the table for dev class
    goto Display option.
    Goto MENUBAR Select UTILITIES >CONTENT OPTION>CRETE DEVELOPMENT CLASS
    Give the name and short disc as discuss earlier.
    i thing its useful.....

Maybe you are looking for