Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 47

Thread: Flash XML editor

  1. #1
    Administrator Living At The FlepStudio! Flep is on a distinguished road
    Join Date
    Jul 2007
    Posts
    5,609
    Rep Power
    9

    Flash XML editor

    flash templates

    Hi all !


    Great news on the go !


    FlashDoes Flash XML editor for free at FlepStudio.


    Lets your customers manage their picture galleries


    Give them FlashDoes! They will love it and you have no more problems and complaints they can not handle the XML file.


    FlashDoes is a fantastic Flash based Image manager and gallery.

    You can use it to manage XML data driven picture galleries without ever directly editing the XML. FlashDoes manages the XML data file for you!

    Do you have clients who want to use data driven image galleries but don’t know how to edit or upload the XML file? With FlashDoes this is never a problem!

    The client can upload, and edit images, descriptions and titles and more.


    Multi categories


    FlashDoes supports unlimited categories.


    No need DataBase !





    Requires at least Flash CS3, Flash Player 9, Actionscript 3.0 .


    How does it work


    All you have to do is install FlashDoes, done.


    Once you installed FlashDoes, access its admin panel and add/remove/edit categories, images, titles and descriptions.

    FlashDoes creates the XML file and it update the XML everytime you do an action.

    Now load its XML file into your Flash and build your own gallery.

    You don't need hard Actionscript codin, just he basics of Flash and XML.

    Infact, FlashDoes creates a classic and simple XML format like the following:



    <?xml version="1.0" encoding="UTF-8"?>

    <gallery>

    <category name="">

    <image name="" title="" date="">description</image>

    <image name="" title="" date="">description</image>

    <image name="" title="" date="">description</image>

    </category>

    <category name="">

    <image name="" title="" date="">description</image>

    <image name="" title="" date="">description</image>

    </category>

    <category name="">

    <image name="" title="" date="">description</image>

    </category>

    </gallery>

    6 languages



    .


    Requirements


    FlashDoes does NOT need mySQL or any other DataBase.

    PHP 4.3 or greater is required.

    Flash CS3 or greater.

    Note:

    Having Adobe Flash is suggested but it's not a must, you can use FlashDoes also for other purposes. For example you can build a javascript or PHP/ASP/JSP/HTML gallery that reads from XML file provided by the interface of FlashDoes.


    Things to Know Before Installing FlashDoes


    Before you begin the install, there are few things you need to have and do.

    You need access to your site and its directory and software to proceed with the installation. These are:

    An access to your web server (via shell or FTP).

    A text editor.

    An FTP Client (if you need to install FlashDoes on a remote server).

    In order for PHP scripts to save changes to files and folders you must have the possibility to assign write permissions (777) for individual files and folders.

    Your web browser of choice.


    Installation


    Unzip the downloaded file to a folder on your hard drive.

    Place/Upload the "upload" folder and its files in the desired location on your web server ( We suggest to create a folder with name "flashdoes" ).

    Set writable permissions (777) to the following files and folders:

    - PHP/XML

    - PHP/XML/gallery.xml

    - images

    - all the subfolders of images/

    Now point your browser to yourdomain.com/flashdoes/cms.html

    Note:

    Default username and password are "admin" and "demo1234", we suggest you to change them using the following way:

    - Open the file main.fla

    - Open the file com/flashdoes/cms/Main.as with a text editor

    - Change username and password at lines 23 and 24

    - Save the file Main.as and launch main.fla

    - Upload the new main.swf on your web server



    view EXAMPLE GALLERY 1


    source files:
    Attached Files

  2. #2
    Junior Member Settled In JANJ@N is on a distinguished road JANJ@N's Avatar
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0

    Re: Flash XML editor

    thanks ! its very cool

  3. #3
    Junior Member Settled In kul_shan is on a distinguished road
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Thumbs up Re: Flash XML editor

    Thank you !!!

    I liked it. I was looking for the same.
    I think, it needs a Log Out Option too.

    In next version, please keep taht point in mind.

    ShaanK


  4. #4
    Junior Member Settled In rynzco is on a distinguished road
    Join Date
    Sep 2008
    Posts
    1
    Rep Power
    0

    Re: Flash XML editor

    thanks great work

  5. #5
    Junior Member Settled In miaoulis is on a distinguished road
    Join Date
    Jul 2008
    Posts
    5
    Rep Power
    0

    Re: Flash XML editor

    interesting Flep, thanks

  6. #6
    rbz
    rbz is offline
    Junior Member Settled In rbz is on a distinguished road
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Simplesmente Beautiful

    hi Guys!
    very nice work: simple, efective and elegant
    thanks for sharing all this knowledge


    the portuguese translation has a few typos:
    PHP Code:
    remove_image="QUERES ELIMINAR A IMAGEM?";
    no="NÃO";
    title_="Título";
    already_exist="A categoria já existe"
    and this ones in spanish:
    PHP Code:
    pass_title="CONTRASEÑA";
    login_error="el nombre de usuario o la contraseña no es correcta";
    current_categories="CATEGORÍAS ACTUALES";
    add_category="AÑADIR CATEGORÍA";
    add_="AÑADIR";
    cancel="CANCELAR";
    add_image="AÑADIR IMAGEN";
    list_title="Los siguientes archivos y carpetas DEBEN TENER permisos de escritura (777):";
    already_exist="La categoría ya existe"
    i'm attaching a brazilian portuguese configuration file for anyone who's interested

    IMHO there should be a preference setting to select just one language and hide all the flag buttons, usually the clients doesn't speak more than one

    thanks again
    rudolf
    Attached Files

  7. #7
    Junior Member Settled In ANdyTheFlash is on a distinguished road
    Join Date
    Mar 2008
    Posts
    2
    Rep Power
    0

    Re: Flash XML editor

    Hey looks very nice but i get an error if i want to change the category:

    ArgumentError: Error #2025: Das angegebene DisplayObject muss ein untergeordnetes Element des Aufrufers sein.
    at flash.display::Loader/unload()
    at com.flashdoes.cms::Images/destroy()
    at com.flashdoes.cms::Images/showImages()
    at com.flashdoes.cms::Categories/onCombo1Selection()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::ComboBox/onListChange()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererClick()


    lg,
    Andy

  8. #8
    Administrator Living At The FlepStudio! Flep is on a distinguished road
    Join Date
    Jul 2007
    Posts
    5,609
    Rep Power
    9

    Re: Flash XML editor

    Quote Originally Posted by ANdyTheFlash View Post
    Hey looks very nice but i get an error if i want to change the category:

    ArgumentError: Error #2025: Das angegebene DisplayObject muss ein untergeordnetes Element des Aufrufers sein.
    at flash.display::Loader/unload()
    at com.flashdoes.cms::Images/destroy()
    at com.flashdoes.cms::Images/showImages()
    at com.flashdoes.cms::Categories/onCombo1Selection()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::ComboBox/onListChange()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererClick()


    lg,
    Andy
    I do not get that error, I am checking

  9. #9
    Administrator Living At The FlepStudio! Flep is on a distinguished road
    Join Date
    Jul 2007
    Posts
    5,609
    Rep Power
    9

    Best way to load the XML file into your Flash

    Best way to load the XML file into your Flash


    Using Actionscript 3.0


    PHP/XML/gallery.xml


    Declare the variables:



    var xml_path:String="http://www.PHP/XML/gallery.xmll";

    var request:URLRequest=new URLRequest(xml_path);

    var loader:URLLoader=new URLLoader();

    load the XML:



    loader.addEventListener(Event.COMPLETE,onXMLcomple te);

    loader.load(request);

    get the XML data:



    function onXMLcomplete(event:Event):void

    {

    var loader:URLLoader=URLLoader(event.target);

    var pure_xml:XML=new XML(loader.data);

    var myXML:XMLDocument=new XMLDocument();

    myXML.ignoreWhite=true;

    myXML.parseXML(pure_xml.toXMLString());

    var node:XMLNode=myXML.firstChild;

    trace(node);

    }

    Now you just need to build your own Flash gallery by fetching data from the loaded xml.


    IMPORTANT:

    The image paths of FlashDoes's XML are relatives ( ie: images/categoryFolder/imageName.jpg ).

    When you use them into your Flash you must add the main root ( ie: http://www. ).

    That way you will obtain the absolute url of the image:

    http://www.http://www.flepstudio.org/forum/images/categoryFolder/imageName.jpg

    and your Flash will now find it during image loading phase.


  10. #10
    Junior Member Settled In ANdyTheFlash is on a distinguished road
    Join Date
    Mar 2008
    Posts
    2
    Rep Power
    0

    Re: Flash XML editor

    Hey Fleps.. the error is only in flashplayer 9 debug now with the 10 version it works.. may this helps....

    peace
    Andy

+ Reply to Thread
Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. Flash XML editor
    By Flep in forum Utilità di FlepStudio
    Replies: 123
    Last Post: 4 Weeks Ago, 09:41
  2. Flash XML editor galleria 1
    By Flep in forum Utilità di FlepStudio
    Replies: 32
    Last Post: 09-03-10, 08:34
  3. accedere alle proprieta di un editor itemRenderer
    By Aenema in forum FLEX builder 3
    Replies: 0
    Last Post: 07-02-10, 17:07
  4. Flash XML editor gallery 1
    By Flep in forum FlepStudio utilities
    Replies: 16
    Last Post: 28-09-09, 09:26
  5. Editor XML
    By manTiz in forum Off Topic - Libera la mente
    Replies: 7
    Last Post: 06-08-07, 20:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts