Ventanda dentro de un swf

alguien sabe algun tutorial para que al hacer un click en un
boton me salga
una ventana dentro del mismo swf a un tamaño y medida
especifico con fotos y
texto dentro y que pueda mover y cerrar la ventana cuando
quiera???
Gracias

Gracias es algo similar a esto pero que dentro de las
ventanas hubiese texto
y imagenes...
"Fco. Moreno" <[email protected]> escribió
en el mensaje
news:f7kr1c$59$[email protected]..
>A ver si te sirve esta direccion:
>
>
http://flash.astalaweb.net/Coger%20y%20arrastrar/1_Coger%20y%20arrastrar.asp
>
> Salu2
>
> "JmR" <[email protected]> escribió en el
mensaje
> news:f7fhql$8qi$[email protected]..
>> alguien sabe algun tutorial para que al hacer un
click en un boton me
>> salga una ventana dentro del mismo swf a un
tamaño y medida especifico
>> con fotos y texto dentro y que pueda mover y cerrar
la ventana cuando
>> quiera???
>>
>> Gracias
>>
>
>

Similar Messages

  • Html dentro de un swf

    Hola a todos, ya se que esta pregunta muchos la saben pero yo
    no. ¿como hago
    para que dentro de una web en swf se me habra un venta en swf
    dentro del
    mismo swf a un tamaño especifico y que dentro de esa
    ventana tenga una
    pagina html?.
    Gracias y si hay algun ejemplo en fla decidmelo así lo
    tendre más claro.
    Saludos a todos.

    OK entendido gracias, no se puede, pero si se puede abrir
    dentro del swf una
    ventana (y quiero que sea de una medida exacta)swf y que
    dentro se cargue
    texto con fotos y que no sea html.
    Ejemplos please ya que no me aclaro mucho gracias....
    "Juan Muro `8¬}" <[email protected]>
    escribió en el mensaje
    news:f4c1sd$au7$[email protected]..
    > No, no se puede hacer. Lo que hacen en el ejemplo que
    pones, Ale, es meter
    > un iframe en una capa superior del html, pero cuando
    pulses sobre el swf,
    > te desaparecerá.
    > Salu2
    > `8¬}
    > Juan Muro
    > ": : Ale Photoshop : :" <[email protected]>
    escribió en el mensaje
    > news:f4bt5e$4ts$[email protected]..
    >>
    http://www.manuales-swish.com/foros/index.php?showtopic=4463
    >>
    >> Por ahí tienes una respuesta...
    >>
    >> Saludos,
    >>
    >> Ale Photoshop
    >>
    >>
    >> "JmR" <[email protected]> escribió en
    el mensaje
    >> news:f4bjqg$mub$[email protected]..
    >>> Hola a todos, ya se que esta pregunta muchos la
    saben pero yo no. ¿como
    >>> hago
    >>> para que dentro de una web en swf se me habra un
    venta en swf dentro del
    >>> mismo swf a un tamaño especifico y que
    dentro de esa ventana tenga una
    >>> pagina html?.
    >>>
    >>> Gracias y si hay algun ejemplo en fla decidmelo
    así lo tendre más claro.
    >>>
    >>> Saludos a todos.
    >>>
    >>
    >>
    >
    >

  • [FL8] Redimensionamiento

    hola foro....
    estoy intentando averiguar (si es posible) el tamaño
    (ancho x alto) de una
    imagen para poder redimensionarla con AS (si es posible,
    claro)
    hace podo se publicó una función para hacer esto en
    PHP, pero si es posible
    me gustaría hacerla con AS....
    alguien me echa una mano al cuello, por favor?

    Hola javiestufa:
    No sé exáctamente el caso que te traes entre manos,
    pero intentaré
    responderte:
    > estoy intentando averiguar (si es posible) el
    tamaño (ancho x alto) de una
    > imagen
    - De una imágen ¿que vas a cargar dentro de tu swf,
    o que ya está cargada en
    la librería?.
    > para poder redimensionarla con AS (si es posible, claro)
    - Sí, se puede, pero siempre que ya haya sido cargada en
    el swf.
    Si lo quieres hacer con AS2, deberías usar las clases
    MovieclipLoader y
    Matrix, en cristalab tenían una clase para cargar y
    escalar a porcentajes.
    Pero si quieres personalizar tu clase, te comento cuáles
    son las claves:
    Imaginemos que lo que quieres es cargar unas imágenes de
    tamaños diferentes
    dentro de un movieclip que tenga de dimensiones, por ejemplo,
    132 x 89
    pixels, y que también quieres que esas imágenes,
    que pueden ser mayores,
    ocupen como máximo el área especificada (el
    tamaño del movieclip contenedor)
    sin deformarse:
    //lanzamos un evento que determine si se ha cargado la imagen
    en el
    movieclip en el que pondremos:
    onClipEvent (load) {
    if (this._width>this._height) {
    //regla de tres simple para sacar porcentaje
    porcentaje = int((132*100)/this._width);
    //reescalamos sobre el mismo porcentaje para no deformar
    this._xscale = this._yscale=porcentaje;
    } else {
    //regla de tres simple para sacar porcentaje
    porcentaje2 = int((89*100)/this._height);
    //escalo sobre el mismo porcentaje para mantener la
    apariencia y no
    deformar
    this._yscale = this._xscale=porcentaje2;
    //luego la centramos en el movieclip (en 'this')
    this._x = this._x+(120-this._width)/2;
    //Y más tarde, cuando ya haya sido mostrada la
    imágen en su nuevo tamaño,
    eliminamos el evento:
    delete.onClipEvent;
    Salu2
    `8¬]
    Juan Muro

  • Navegación por Niveles,_levels, loadmovie?

    Buenas!!!
    soy nuevo en este foro saludes a todos..
    Llevo dos días tratando de hacer lo siguiente:
    Tengo en una multimedia un nivel 0.swf ke funciona komo root y el kual me karga 1.swf en el nivel 2, la kual la reemplazo por 2.swf en el mismo nivel 2. Lo que necesito es ke en el ultimo frame de 1.swf le pueda decir ke vaya a una instancia dentro de 2.swf en ese mismo nivel 2; mejor dicho necesito descargar en ese frame el 1.swf y cargar 2.swf pero en un frame numero 50 ke esta dentro de una instancia.
    Hasta el momento tengo este codigo: _level2.instancia.gotoAndStop(50);  pero no me funciona porke no logro ir desde 1.swf al frame 50 d una instancia ke esta en 2.swf manteniendo el nivel 2.
    Entonces finalmente necesito mantener el nivel 2 pero ke 1.swf se deskargue y me kargue 2.swf en el frame 50 de una instancia ke logikamente esta en 2.swf. asi reemplazo 1.swf por 2.swf pero 2.swf debe ir  dentro de una instancia al frame 50
    agradeceria ke alguien me ayudara ke no logro realizar esta navegacion...

    buenas!
    no señor no hablo ingles...

  • Navegación por Niveles, loadmovie?

    Buenas!!!
    soy nuevo en este foro saludes a todos..
    Llevo dos días tratando de hacer lo siguiente:
    Tengo en una multimedia un nivel 0.swf ke funciona komo root y el kual me karga 1.swf en el nivel 2, la kual la reemplazo por 2.swf en el mismo nivel 2. Lo que necesito es ke en el ultimo frame de 1.swf le pueda decir ke vaya a una instancia dentro de 2.swf en ese mismo nivel 2; mejor dicho necesito descargar en ese frame el 1.swf y cargar 2.swf pero en un frame numero 50 ke esta dentro de una instancia.
    Hasta el momento tengo este codigo: _level2.instancia.gotoAndStop(50);  pero no me funciona porke no logro ir desde 1.swf al frame 50 d una instancia ke esta en 2.swf manteniendo el nivel 2.
    Entonces finalmente necesito mantener el nivel 2 pero ke 1.swf se deskargue y me kargue 2.swf en el frame 50 de una instancia ke logikamente esta en 2.swf. asi reemplazo 1.swf por 2.swf pero 2.swf debe ir  dentro de una instancia al frame 50
    agradeceria ke alguien me ayudara ke no logro realizar esta navegacion...

    buenas!
    no señor no hablo ingles...

  • Dimensiones de SWF usando Flash Paper

    Hola amigos, soy nuevo en este foro y quisiera que me
    ayudaran a resolver un problemita que tengo. Estoy implementando
    una aplicación flash para un cd card el cual contendrá la
    memoria anual de una institución. He usado el Flash Paper 2
    para convertir mi archivo PDF a SWF. Dentro de mi aplicación
    flash cargo el archivo SWF externamente, pero al momento de
    ejecutar la pelicula me muestra el archivo SWF en dimensiones
    pequeñas, el cual no es muy claro para poder leer. ¿
    Cómo podria hacer para asiganarle las dimensiones de este
    archivo SWF que cargo externamente?
    Espero que me puedan ayudar, ps lo necesito con suma
    urgencia.
    Gracias de antemano
    Atte
    Jonhwww

    Cuando hago CDs con muuuucha documentación, lo cual es
    bastante a menudo
    para la web de e-learning que llevamos, o para los balances
    de gestión
    anuales de algunos ayuntamientos, personalmente utilizo mucho
    Flash Paper 2.
    Tengo algunas funciones ya preparadas en AS que cargan los
    documentos swf de
    Flash paper en un mc contenedor de mi película flash
    principal, adaptándolos a un tamaño
    específico. Después o bien utilizar
    botones o componentes combo que carguen los diferentes swf
    externos.
    Se puede cargar un swf generado de Flash Paper en el
    tamaño que quieras,
    siempre que le des al movieclip de destino el tamaño que
    necesites. Como
    adelanto, mediante esta función, se carga el swf ya
    convertido de flash
    paper y se adapta al tamaño del contenedor (estoooo, con
    flamx2004, que
    conste que no lo he programado yo...) :
    function loadFlashPaper (
    path_s, // path of SWF to load
    dest_mc, // MC which we should replace with the SWF
    width_i, // new size of the dest MC
    height_i ) // new size of the dest MC
    var intervalID = 0;
    var loadFunc = function()
    dest_mc._visible = false;
    var fp = dest_mc.getIFlashPaper();
    if (!fp)
    return;
    if (fp.setSize(width_i, height_i) == false)
    return;
    dest_mc._visible = true;
    clearInterval(intervalID);
    loaded_o.onLoaded(fp);
    intervalID = setInterval(loadFunc, 100);
    dest_mc.loadMovie(path_s);
    Y la orden de carga:
    on (press) {
    _root.recomienda.gotoAndStop(1);
    unloadMovie(contenedor2);
    loadFlashPaper("swfs/tu_documento.swf", contenedor, 719,
    701);
    Salu2
    "Jonhwww" <[email protected]> escribió
    en el mensaje
    news:[email protected]...
    > Hola amigos, soy nuevo en este foro y quisiera que me
    ayudaran a resolver
    > un
    > problemita que tengo. Estoy implementando una aplicaci?n
    flash para un cd
    > card
    > el cual contendr? la memoria anual de una instituci?n.
    He usado el Flash
    > Paper
    > 2 para convertir mi archivo PDF a SWF. Dentro de mi
    aplicaci?n flash cargo
    > el
    > archivo SWF externamente, pero al momento de ejecutar la
    pelicula me
    > muestra el
    > archivo SWF en dimensiones peque?as, el cual no es muy
    claro para poder
    > leer. ?
    > C?mo podria hacer para asiganarle las dimensiones de
    este archivo SWF que
    > cargo
    > externamente?
    > Espero que me puedan ayudar, ps lo necesito con suma
    urgencia.
    >
    > Gracias de antemano
    >
    > Atte
    > Jonhwww
    >
    >

  • How to edit a Animated Gif file and convert to SWF

    I am using the creative cloud with fireworks. I chose the free trial with buying in mind if I saw it work properly. I simply want to upload an animated GIF file and then download it as a SWF file. I saw someone on youtube do this and it's not that if I get on the correct page I would not know how to do that but I just cannot find how to get the GIF into the software to edit. It has just simply put them in the creative cloud folder which can open them on IE> How do i make it available to edit and convert to SWF please? Thanks in advance.

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How can I pubish SWF interactive magazine to flash based website? It's not working!

    I hope someone can help me launch my first interactive magazine (SWF) to our website with ID 5. Okay, my hard copy mag came out great so then I started on the interactive edition. Everything was going swell with adding 3 short videos ( FLV  ) and creating 3 slide shows. When I previewed it by exporting to SWF I could preview it in my browser fine. Page curls, fade in words (although the “hide until animated” options only works in two out of about 7 instances. (same settings) file:///C:/Users/lauralaptop/Documents/NEW%20PUBLICATION%20QUARTERLY%20JOURNAL%202011%20se pt%202/LIFE%20apr-may-june%202011%201st%20issue%20INTERACTIVE%20TRYOUT%20Aug%2031%204pm.ht ml
    I then followed instructions from another Adobe exercise, exported it to Flash, went to Publish Settings, but of course when I pressed “publish” I didn’t get the same result as the teacher…I got an error message about text. I searched a forum with the same message I got and saw that making sure my text setting was set for Classic, solved someone else’s problem. So I did and was able to “publish”. But now, when I open either the SWF or HTML file, it’ just rapidly repeating the 12 pages in my file in a loop!
    file:///C:/Users/lauralaptop/Desktop/LIFE%20apr-may-june%202011%201st%20issue%20INTERACTIV E%20TRYOUT%20Aug%2031%204pm.html
    I have spent most of the summer self teaching myself InDesign CS5 (not easy!) and am excited to be able to put out an interactive SWF file that can be opened in a Flash player through our Flash based website. I feel like I’m just inches away for launch but now I’m getting frustrated. Isn’t this going to be possible?
    Also, when I publish it in Flash, it creates a SWF file AND an HTML file. But on our website, I have only one option to make a link to a document OR an outside link to open a file. How does that work?
    Many thanks for whoever can help me out here. This was supposed to be a spring issue. Had to change it to summer and now I guess it’s a fall launch!

    Thank you for your quick reply, Rob. Well, i can't open the link you gave me to mysite (got a 404 error), could you resend it?
    Originally, I exported the file to SWF (player) and just tried to link that file from our flash based website. It opens fine, page curls fine, slide shows fine, but when you click on the photos with videos, page 5 (father and baby) and two others, the image disappears and only a white comes up to fill that area.
    http://scpres.org/#/media-sermons-online/our-publications. Could you go to this link on our website to see what I mean? Go to the NEWSBREAK TRANSFORMS and click on the Life, Stories of Transformation.
    Rob, here is where i have very limited knowledge: As I said we use a flash based (read very user friendly) web hosting company. When I am in the back end to upload the swf file, I have only one option  - "attach a video, attach a document, attach a link" so how would I upload a "folder" with more than one item to the server?
    I thought it would be considered a video since the SWF file says SWF movie, but when I when i try to upload as a video, it doesn't come up as importable. (am i sounding really stupid?) Maybe I should admit that yes, I'm an ID5 newbie AND yes,  I'm no spring chicken but I have been working in CS2,3,4 for several years and now 5 and am quite proficient in the create aspect of Adobe products. It's just now the technical part about how to actually get my  in work published to the site.There isn't anyone else in my company able to help me so I have to reach out to this forum!
    I love ID and this is just my first effort but I'm looking forward to creating many more interactive magazines for my company.
    Thanks for any help.

  • AS3: How to create one base class for classes loaded in multiple swfs?

    Our application have 3 different modules and all use
    fscommand and ExternalInterface alot. Now the problem is we are
    combining all those modules, but they all will reside in different
    swfs. Is there any way that they extend to same base class and its
    static members have only one instance accessible by all
    three?

    Hi,
    You can achieve this via Workshop 9.2 by using the exported Ant script for your project as follows:
    -Ensure that all Jars needed to resolve com.bea.p13n.property.EntityPropertyManager (this particular class is found in weblogic92/common/p13n/lib/p13n_ejb.jar) and all referenced classes are added to the Java build path for your WebLogic EJB project (Properties->Java Build Path->Libraries)
    -Export the "Workshop Ant Script" for your WebLogic EJB project (File->Export->Workshop Ant Script); this will generate a "build.xml" Ant script under your project root directory.
    -Edit this default build script as follows: in the call to the "ejbgen" task within the "build" target, add the attribute: propertyFile="ejbgen.properties"
    -Create a file "ejbgen.properties" under the root of your WebLogic EJB project and add the following entry:
    YourSessionBeanClassName.remote.baseClass=com.bea.p13n.property.EntityPropertyManager
    -Add a "<path refid="java.classpath"/>" within the "<classpath>" for the "java" task element that calls "weblogic.ejbc" (this will ensure that the p13n classes are resolved by EJBC)
    Follow the instructions for executing the Ant build script found here: http://edocs.bea.com/workshop/docs92/ws_platform/ideuserguide/conUseCustomAntBuild.html
    For more information on the EJBGen property file support, see: http://e-docs.bea.com/wls/docs92/ejb/EJBGen_reference.html

  • XML not loading in SWF

    Please, please someone help. I have been at this for days and can't see the woods for the trees any more.
    I have a swf embedded in a htm file. I pass FlashVars to it with a view to setting colours for symbols already in the swf.
    No matter what I do I simply cannot get the xml loaded. Can someone help and have a look at the following code and tell me where I am going wrong.
    I am using Flash CS4/AS 3. The default class is com.main and all .AS files are located in a folder 'com' within the root. All fla. .swf and  .xml files are located in the root.
    TIA
    Default.htm
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body>
    <p>Hello World!</p>
        <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="400" id="8 - WHN Sixth Floor.swf" ALIGN="">
        <param name="allowScriptAccess" value="sameDomain" />
        <PARAM NAME=movie VALUE="8 - WHN Sixth Floor.swf">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE=#FFFFFF>
        <PARAM NAME="FlashVars" value="xmlfile=myxml2.xml" />
        <EMBED FlashVars="xmlfile=myxml2.xml" width="550" height="400" src="8 - WHN Sixth Floor.swf" allowScriptAccess="sameDomain" quality=high bgcolor=#FFFFFF NAME="8 - WHN Sixth Floor.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
        </OBJECT>   
    </body>
    </html>
    Main.as
    package com
    import com.*;
    import flash.display.MovieClip;
    import flash.display.SimpleButton;
    import flash.text.TextField;
    import flash.display.Stage;
    import flash.display.LoaderInfo;
    import flash.events.*;
    public class main extends MovieClip
      public var gx:getXML;
      public var xmlFileName:Object;
      public function Main()
       //addEventListener( Event.ADDED_TO_STAGE, init );
       init();
      private function init():void 
       //removeEventListener( Event.ADDED_TO_STAGE, init )
       //var xmlFileName:Object = stage.loaderInfo.parameters;
       var gx:getXML = new getXML("myxml2.xml");
       addChild(gx);
    getXML.as
    package com
      // Static Class
      import com.*;
      import flash.display.SimpleButton;
      import flash.xml.XMLDocument;
      import flash.xml.XMLNode;
      import flash.xml.XMLNodeType;
      import flash.events.*;
      import flash.net.URLLoader;
      import flash.net.URLRequest;
      import flash.net.URLVariables;
      import flash.net.URLRequestMethod;
      import flash.geom.ColorTransform;
      import flash.net.navigateToURL;
      import flash.system.fscommand;
      public class getXML extends SimpleButton
       public var xmlData:XML;
        public function getXML(xmlurl:String):void
         var loader:URLLoader = new URLLoader();
         loader.addEventListener(Event.COMPLETE, LoadXML);
           var urlReq:URLRequest = new URLRequest(xmlurl);
            //urlReq.method = URLRequestMethod.POST;  
            //var variables:URLVariables = new URLVariables();
            //urlReq.data = variables;
            //try {  
                      loader.load(urlReq);
                  //} catch (error:Error) {  
                      //trace ("Unable to load requested document.");  
        public function LoadXML(e:Event):void
         xmlData = new XML(e.target.data);
         //xmlData = new XML("myxml2.xml");
         var rslt:XMLDocument = new XMLDocument();
         rslt.ignoreWhite = true;
         rslt.parseXML(xmlData.toXMLString());
         //trace(result.firstChild.childNodes.length);
         for (var i=0; i<rslt.firstChild.childNodes.length; i++)
          staticClass.head_Array.push(xmlData.data[i].head);
          staticClass.color_code_Array.push(xmlData.data[i].colorcode);
          staticClass.url_Array.push(xmlData.data[i].url);
          staticClass.note_Array.push(xmlData.data[i].mc_name + "##" + xmlData.data[i].note);
          staticClass.mc_Array.push(xmlData.data[i].mc_name);
         var k = staticClass.mc_Array.length  
         var j = 0;
         for each (var val:String in staticClass.mc_Array)
          var btn:SimpleButton = SimpleButton(this.parent.getChildByName(val));
          if (btn != null)
           var rojo:ColorTransform = new ColorTransform();
           rojo.color = uint (staticClass.color_code_Array[j]);    
           btn.transform.colorTransform = rojo;
           btn.addEventListener(MouseEvent.CLICK, onClick);
           btn.addEventListener(MouseEvent.MOUSE_OVER, onOver);
           btn.addEventListener(MouseEvent.MOUSE_OUT, onOut);
           * Set mouse over separate colour
           btn.alpha = 3;
          j++;
         function onClick(e:MouseEvent )
          trace(e.currentTarget.name + "----" + staticClass.url_Array[e.currentTarget.name.substring(7, e.currentTarget.name.length)-1]);
          if(staticClass.url_Array[0] != "None")
           navigateToURL(new URLRequest(staticClass.url_Array[0] + "?Room=" + e.currentTarget.name), "_self");
          else
           fscommand("RoomType", e.currentTarget.name);
         function onOut(e:MouseEvent )
          e.currentTarget.parent.getChildByName("HoverText").text = "";
          e.currentTarget.alpha = 3;
         function onOver(e:MouseEvent )
          e.currentTarget.alpha = 1.5;
          for each (var val:String in staticClass.note_Array)
           if(e.currentTarget.name == val.substring(0, val.indexOf("##", 0)))
            e.currentTarget.parent.getChildByName("HoverText").text = val.substring(val.indexOf("##", 0) + 2, val.length);
            //e.currentTarget.parent.getChildByName("HoverText").text = "HELP ME";
    staticClass.as
    package com
    import flash.display.MovieClip;
    public class staticClass
       public static var head_Array:Array = new Array();
       public static var color_code_Array:Array = new Array();
       public static var url_Array:Array = new Array();
       public static var note_Array:Array = new Array();
       public static var mc_Array:Array = new Array();
       public static var url_Array1 :Array = new Array();

    i don't think you're using Main or you would see error messages.
    what's the following trace() reveal:
    oh, i can see an error in Main, too:
    Main.as
    package com
    import com.*;
    import flash.display.MovieClip;
    import flash.display.SimpleButton;
    import flash.text.TextField;
    import flash.display.Stage;
    import flash.display.LoaderInfo;
    import flash.events.*;
    public class main extends MovieClip   // main should be Main
      public var gx:getXML;
      public var xmlFileName:Object;
      public function Main()
    trace(this)
       //addEventListener( Event.ADDED_TO_STAGE, init );
       init();
      private function init():void 
       //removeEventListener( Event.ADDED_TO_STAGE, init )
       //var xmlFileName:Object = stage.loaderInfo.parameters;
       var gx:getXML = new getXML("myxml2.xml");
       addChild(gx);

  • [MM] Transferência Planejada entre centros dentro da mesma filial.

    Pessoal,
    Boa noite!
    Gostaria de uma ajuda num cenário de transferência planejada entre centros que estão sob a mesma filial.
    Para manter a rastreabilidade do pedido que foi gerado por MRP, etc, foi mantido o cenário de transferência por SD. A transferência por SD está amarrada no tipo de pedido UB, que está amarrada em um documento de transferência, que está amarrado no tipo de movimento 863.
    Como o movimento 863 é localizado, ele tem relevância fiscal, então programamos uma exit para modificar o código de imposto para A0 no momento de gerar a remessa.
    Efetuamos a saída de mercadoria e quando vamos receber a mercadoria na transação MB0A, ele critica o movimento 861 pois não a remessa não possui nota fiscal. (Como estão dentro da mesma filial, ele não gera DOCNUM!!!)
    Devido a essa crítica, tentei receber a remessa com outro tipo de movimento (Ex: 101) e não obtive sucesso.
    Por acaso alguém pode me ajudar? Alguém sugere algum movimento que eu possa utilizar nesse cenário? Pq apesar do movimento estar amarrado eu posso tentar forçá-lo através da mesma exit que altera o código de imposto.
    Fico no aguardo e desde já agradeço!
    Obrigado.
    Raphael Otsuka
    (21)9866-6941

    Pessoal, tenho um processo de transferencia MM/SD e o que ocorre e que na nota fiscal o valor esta saindo com preco embutido mais impostos.
    Ex:
    Alíquota de ICMS =7%
    Quantidade: 36
    Preço Material: 143,52
    Calculo Qtd x Preço material =  36 x 143,52 = 5.166,72
    Calculo Preço com ICMS embutido: 5.166,72 / 0,93 = 5.555,61  
    Nota Fiscal: 5.5561,61 X 7% = 388,89
    A questao se o cliente nao quiser  esse preço embutido, e quer ver na verdade o calculo dos 7% em cima do valor 5.166,72  que daria: 361,67
    Como faco para que isso ocorra ? Alguem ja passou por isso ?
    o fluxo do processo de transferencia ocorre da seguinte forma:
    Pedido
    Remessa ( onde temos a price)
    Doc.material ( atraves dele chegamos a nota fiscal e seus valores com impostos embutido)
    desde ja agradeço qq ajuda postada.
    abracos

  • Unable to play audio stream in a swf file

    Making a swf file that reacts like a button: it plays sound
    when you pass over it. Or should play. When the button keyframes
    sound options are set to "start" or "event", there is no problem,
    it works well. But it doesn't work if I set to "stream". My
    original file is an mp3. Is there something special avout it? Help
    tutorials didn't help me so far...

    With "stream" you have to make sure there are enough frames
    in the movie to play the whole sound file. Try adding some frames
    and see if it plays then.

  • Detail Region as TOC for captivate (.swf) files

    Hi All,
    Not sure how to explain this, but i will do my best. I didnt like the TOC/Aggregator for CP 5. Thinking maybe to use Spry data using the Detail Region sample. I thought it would be simple to just combine the Detail Region code with the publsihed .swf and .htm code. But not sure what im doing wrong or if this is even possible to do. I was experimenting just using the exact same code and xml for Detail Region sample and modifying it a bit. See below...
    Appreciate the Help! Thank you.
    XML:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <products>
         <product>
              <name>Adobe Photoshop CS2</name>
              <category>Digital Imaging</category>
              <boximage>images/photoshop.gif</boximage>
              <bkgimage>M_1.swf</bkgimage>
              <descheader>The professional standard in desktop digital imaging</descheader>
              <desc>Adobe&#174; Photoshop&#174; CS2 software, the professional image-editing standard and leader of the Photoshop digital imaging line, delivers more of what you crave. Groundbreaking creative tools help you achieve extraordinary results. Unprecedented adaptability lets you custom-fit Photoshop to the way you work. And with more efficient editing, processing, and file handling, there's no slowing you down.</desc>
              <features></features>
         </product>
         <product>
              <name>Adobe Illustrator CS2</name>
              <category>Print Publishing</category>
              <boximage>images/illustrator.gif</boximage>
              <bkgimage>M_2.swf</bkgimage>
              <descheader>Vector graphics reinvented</descheader>
              <desc>Adobe&#174; Illustrator&#174; CS2 software gives you new creative freedom that lets you realize your ideas quickly and powerfully. Instantly convert bitmaps to vector artwork and paint more intuitively. Save time with intelligent palettes and optimized workspaces. Plus, tight integration with other software allows you to produce extraordinary graphics for print, video, the web, and mobile devices.</desc>
              <features></features>
         </product>
         <product>
              <name>Adobe InDesign CS2</name>
              <category>Print Publishing</category>
              <boximage>images/indesign.gif</boximage>
              <bkgimage>M_3.swf</bkgimage>
              <descheader>A new standard in professional layout and design</descheader>
              <desc>Join the growing ranks of creative professionals discovering new levels of creative freedom and productivity using Adobe&#174; InDesign&#174; CS2 software. Tightly integrated with the Adobe applications you use most, InDesign CS2 delivers faster production workflows and a more fluid creative environment for designing professional layouts with sophisticated graphics and typography.</desc>
              <features></features>
         </product>
         <product>
              <name>Adobe GoLive CS2</name>
              <category>Web Publishing</category>
              <boximage>images/golive.gif</boximage>
              <bkgimage>M_4_1.swf</bkgimage>
              <descheader>Professional, standards-based Web and mobile authoring</descheader>
              <desc>Adobe&#174; GoLive&#174; CS2 software lets you unlock the power of CSS with intuitive visual tools such as prebuilt CSS objects that you can drag and drop to build sophisticated sites. Jump-start your designs by easily converting Adobe InDesign&#174; layouts into Web pages. Or, design Web and mobile content in an advanced, standards-based coding environment.</desc>
              <features></features>
         </product>
         <product>
              <name>Adobe Dreamweaver 8</name>
              <category>Web Publishing</category>
              <boximage>images/dreamweaver.gif</boximage>
              <bkgimage>M_5_1.swf</bkgimage>
              <descheader>Dreamweaver 8 is the industry-leading web development tool, enabling users to efficiently design, develop and maintain standards-based websites and applications.</descheader>
              <desc>With Dreamweaver 8, web developers go from start to finish, creating and maintaining basic websites to advanced applications that support best practices and the latest technologies.</desc>
              <features></features>
         </product>
         <product>
              <name>Adobe Flash 8 Professional</name>
              <category>Web Publishing</category>
              <boximage>images/flash_pro.gif</boximage>
              <bkgimage>M_6_1.swf</bkgimage>
              <descheader>Introducing Macromedia's biggest Flash release to date.</descheader>
              <desc>Flash&#174; Professional 8 is the industry's most advanced authoring environment for creating interactive websites, digital experiences and mobile content. With Flash Professional 8, creative professionals design and author interactive content rich with video, graphics, and animation for truly unique, engaging websites, presentations or mobile content.</desc>
              <features></features>
         </product>
    </products>
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Detail Region and Effects Sample</title>
    <link href="files/samples.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .product {
         cursor: pointer;
    .hover {
         background-color: #FFFFCC;
    .selected {
         background-color: #CCCCCC;
    #description {
         opacity: 0;
         filter: alpha(opacity=0);
         background-color: white;
    </style>
    <script src="files/xpath.js" type="text/javascript"></script>
    <script src="files/SpryData.js" type="text/javascript"></script>
    <script src="files/SpryEffects.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var ds1 = new Spry.Data.XMLDataSet("files/products.xml", "products/product");
    var gEffectInProgress = null;
    var gPendingSetRowIDRequest = -1;
    function fadeInContent(notificationType, notifier, data)
         if (notificationType != "onPostUpdate")
              return;
         var effect = new Spry.Effect.Fade('description', { to: 100, from: 0, duration: 500, finish: function() {
              // The region is now showing. Process any pending row change request.
              gEffectInProgress = null;
              if (gPendingSetRowIDRequest >= 0)
                   var id = gPendingSetRowIDRequest;
                   gPendingSetRowIDRequest = -1;
                   fadeOutContentThenSetRow(id);
         effect.start();
    Spry.Data.Region.addObserver('description', fadeInContent);
    function fadeOutContentThenSetRow(rowID)
         if (gEffectInProgress)
              gPendingSetRowIDRequest = rowID;
              return;
         if (rowID == ds1.getCurrentRowID())
              return;
         gEffectInProgress = new Spry.Effect.Fade('description', { to: 0, from: 100, duration: 500, finish: function() {
              ds1.setCurrentRow(rowID);
         gEffectInProgress.start();
    //-->
    </script>
    <script src="files/standard.js" type="text/javascript"></script>
    </head>
    <body>
    <h3>Detail Region and Effects Sample</h3>
    <hr />
    <table width="100%" border="0">
         <tr>
              <td width="21%">
    <ul spry:region="ds1" spry:repeatchildren="ds1">
                        <li class="product" onclick="fadeOutContentThenSetRow('{ds_RowID}');" spry:select="selected" spry:hover="hover">{name}</li>
                </ul>
              </td>
           <td width="79%">
       <div id="description" spry:detailregion=" ds1">
      <div id="CaptivateContent">
       </div>
       <script type="text/javascript">
          var so = new SWFObject("{bkgimage}", "Captivate", "100%", "100%", "8", "#CCCCCC");
             so.addParam("quality", "high");
             so.addParam("name", "Captivate");
             so.addParam("id", "Captivate");
             so.addParam("wmode", "opaque");
             so.addParam("bgcolor","#F1F4F5");
             so.addParam("menu", "false");
             so.addParam("allowScriptAccess", "always");
             so.addVariable("variable1", "value1");
             so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash");
             so.write("CaptivateContent");
       </script>
            <script type="text/javascript">
          document.getElementById('Captivate').focus();
          document.Captivate.focus();
       </script>    
          </div>
          </td>
      </tr>
    </table>
    </body>
    </html>
    Message was edited by: drodax

    Hi,
    I think you will need a third party convertor - a quick
    google sent me to this one
    http://www.winavi.com/swf-to-avi.htm
    which is free.

  • How to pause stage/swf with audio when a new tab is opened/ out of focus in browser

    I have created a container in Flash Professional CS5 for my project’s CBT.  I’ve been able to script many of the features we require using AS3, but there are a couple of things I’m still trying to work out.
    I would like the swf presently playing in one tab to pause and go silent when another swf is opened in a new tab (the sound is inside this externally loaded swf which is loaded inside a movie clip from buttons nested a movie clip down).  I’ve tried :
    var originalFrameRate:uint = stage.frameRate;
    var standbyFrameRate:uint = 0;
    addEventListener(Event.ACTIVATE, onActivate);
    addEventListener(Event.DEACTIVATE, onDeactivate);
    function onActivate(e:Event):void
           stage.frameRate = originalFrameRate;
           trace("in focus");
    function onDeactivate(e:Event):void
           stage.frameRate = standbyFrameRate;
           SoundMixer.stopAll();
           trace("out of focus");
    And
          I’ve looked into the HTML tag “has Priority”
    and coded buttons to:
    function fl_ClickToGoToWebPage(event:MouseEvent):void
           navigateToURL(new URLRequest("http://www.ansaldo-sts.com/AnsaldoSTS/EN/index.sdo"), "_blank");
           MovieClip(this.stage).stop();
    With variations of:
    MovieClip(this.parent.parent)stop();
    MovieClip(this.parent.parent.parent.parent)stop(); because the button is 3 movie clips deep.
    MovieClip(this.root)stop();      MovieClip(root)stop();MovieClip(this.currentTarget.root)stop();
    Could someone please provide me with the code?
    This function is present when I publish the CBT with Captivate, so obviously there must be code available. You can set the Captivate button to open url in new window and pause movie.
    Is there something I can add to the html file that is similar to the “has Priority” for mobile devices or is there javascript that can be added to the flash itself?

    You would send a command to Flash from JavaScript when window.onblur event occurs.

  • What is or isn't possible on iOS?  (Not having Loader, loadBytes(), external swfs, etc)

    My basic question is:  "What are the classes which we should not use for iOS using the packager."
    I have been trying for a few days trying to get a simple Flash app to run on the iPad.  A very simple app (with sound!) with just 2 classes works fine (Performance is a whole other issue.  We will get to that).  But if I try anything else, all I get is a white/black screen on the iPad.  So it would be really nice to know what classes, functions, etc we CANNOT use for the Packager.
    I have fairly simple app (not as simple as 2 classes) which loads some art assets via URLRequest/Loader, puts them on the stage.  Fairly common standard practice in AS3.
    I've read about not able to load an external file using the Packager.  So to fix the situation of loading assets, I have looked into the [embed] tag, which seems to work.  I hope the blogger doesn't mind, but this page is an excellent source on what works and doesn't work with the [embed] tag in it's various flavors:  http://www.richardleggett.co.uk/blog/index.php/2010/03/08/flash_builder_and_flash_pro_asse t_workflows.  For example, AS3 in a swf is stripped out from an external swf using [embed].
    The best way to load an external swf file for iOS seems to be using [embed] with "application/octet-stream" and load the swf through ByteArray (Option #4 in the link above).  This works great on the PC.  HOWEVER, on iPad, it fails.  The [embed] tag works on the iPad with the other ways, so my guess is that loadBytes() does not work.  Is this true Adobe/Flash guys?  Can you confirm this?
    My initial question is "why is this not allowed on iOS?".  If it is because of the fact that it uses a Loader, can it be changed so it's not using a Loader to construct a MovieClip?  I have a ByteArray with the raw swf/MovieClip data.  Why can't I construct a MovieClip from it without going through Loader?
    This loadBytes() failure seems to be the only thing preventing me from using the normal pipeline of Flash development in loading external assets.  If there are other ways people have found, please share!
    Now on to performance.  Adobe, can you post some examples/samples of code which runs at decent performance?  Like a "tech demo" of what is possible using the Packager running on iPad/iPhone.  That would be extremely helpful for everyone.  I have done a lot of the optimizing suggestions on various sites and pages ( and by Adobe http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html), but I am not seeing the 30 fps performance that is MORE than possible on iPhone/iPad.  Displaying and moving around Bitmaps (I don't use any vector graphics) should be blazing fast.  Quake runs on iPad without any problems and that code is 10 years old.  Moore's law dictates that drawing Bitmaps using CPU should be faster than a 3D engine written 10 years ago...  I am trying out the new iOS 4.2 which is supposed to be "significantly" better, but I am still stuck on loadBytes().
    So at this point, I am blocked on loadBytes() and my performance for a simple app which draws a few Bitmaps and MovieClips is terrible.  I am hopeful some people out there have figured out some solution (there are lots of clever people out there) and I will stumble on to something.  But being forced to go native Objective-C seems to be my only option at this point.
    In summary, here are the questions I would like to ask the Adobe/Flash group for some more help/information/advise:
    - Why is Loader not allowed on iOS?  Is it a technical limitation of the hardware/os/Flash?  Will it never be supported?  What is the future of this class on iOS?
    - Why is loadBytes() not allowed on iOS?  I have the raw embedded data in memory.  I don't need to make a remote call so security should not be an issue.  Can I create a MovieClip without using Loader?
    - Why is AS3 stripped from the timeline when a Symbol is retrieved using [embed]?  Maybe this is the same reason loadBytes() fails, but if I could use [embed] and get a copy of the Symbol, that is what I need.  (There are issues with the mx.core.MovieClipLoaderAsset/Asset, but it is better than being blocked by loadBytes())
    - What are some apps you guys have written that we can use to compare PC vs iOS?  Again, a "tech demo" or sample code of what you as experts in Packager for iOS have done which runs at decent framerate (30+fps) would be of tremendous help.  If the Adobe/Flash group hasn't gotten the current Packager for iOS to handle more than 50+ 2D Bitmaps on screen running at 30+fps, that would be good to know.  Please let us know what the experts and owners of your software are capable of getting the most throughput using the Packager.  I'd hate to sound a bit fed up/angry, but I think you are wasting a lot of people's time and energy with a piece of software that, to me, seems like it was a bit early to release.  Flash can do some great things.  If it can do it on iOS, even better.  But PROVE it to us that it's possible, before having your customers run into barriers imposed on us by trial and error.
    Thanks.

    I have hardly ever seen a post here from someone at Adobe, so you may need to be patient.
    Read this article, and get its associated demo files, to see some good performing tech demos:
    http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html
    Back to your main point, loaders are working, what isn't working for you is accessing of things in the library of a successfully loaded swf, that have been set to Export for ActionScript. That means that the swf you have loaded has an ActionScript Class, to represent the library symbol. iOS Flash apps are native ARM code, and don't include the virtual machines that a browser plugin has, and so it's not able to interpret ActionScript. That may be why it would fail.
    Now, I can think of at least a couple of reasons why you might want to have external swfs with elements that you want to reuse in the main swf. One would be if you're intending to make a lot of them, like say if you wanted to have an Asteroids game and the ability to use artwork from a set of different swfs. Another reason might be if you want to skin your interface, by taking specific elements from the loaded swf and using them in the main swf. That way you could have artists preparing those swfs for you, and you just include them in your package, and load the one you want.
    There is a way to do either of those things. The second one can be done by having the item as a named symbol on the stage of the loaded swf. With a to-be-loaded swf named "inner.swf", that has a movieclip on its stage named "mc1", this script in the main swf would load that external swf and use its symbol on the main swf's stage, without having to make the inner swf's symbol use ActionScript:
    var req:URLRequest = new URLRequest("inner.swf");
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,loaded);
    ldr.load(req);
    function loaded(e:Event) {
    var mc:MovieClip = e.target.content as MovieClip;
    var innermc:* = mc.mc1;
    innermc.x = 50;
    innermc.y = 50;
    addChild(innermc);
    For the other case, you can take the item off the stage of the loaded swf and draw it into a bitmapdata, and then make as many bitmaps from that as you like. Here's the above example, only it adds the original movieclip to the main swf stage, and also creates a bitmap that looks the same:
    var req:URLRequest = new URLRequest("inner.swf");
    var ldr:Loader = new Loader();
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,loaded);
    ldr.load(req);
    function loaded(e:Event) {
    var mc:MovieClip = e.target.content as MovieClip;
    var innermc:* = mc.mc1;
    innermc.x = 50;
    innermc.y = 50;
    addChild(innermc);
    var bmd:BitmapData = new BitmapData(innermc.width,innermc.height);
    bmd.draw(innermc);
    var bm:Bitmap = new Bitmap(bmd);
    bm.x = 150;
    bm.y = 150;
    addChild(bm);
    So, the thing to learn is that a native ARM code application does not have an ActionScript interpreter in it, and if you need to do something that normally requires interpreting ActionScript, find another way to do it.

Maybe you are looking for

  • SharePoint 2013 Workflow (SPD 2013) fails for Active Directory Group members

    Hi I have a SharePoint 2013 site called "Team Meetings". There are a number of lists and an InfoPath form library. The site's SharePoint Group "Team Meeting Members" has two Active Directory groups (All Club Managers and All Club Police) as members.

  • Macbook pro will not "wake up" after going into powersave mode?

    I've tried everything. I hit the enter key any key for that matter, reclosing the macbook or even giving it a few moments. I've had some issues with it lately. Like a kernel panic last week, tried a disk utility repair option. Fixed some things but N

  • IPad 2 stopped receiving iMessages sent to my phone number

    I have an iPad 2 and an iPhone 4S. When I got the iPad, I was able to sync it with my iPhone just fine. It was sending and receiving iMessages that were directed to my iPhone phone number, and the messages on the two devices were syncing perfectly, a

  • Problem with getServletContext().getRequestDispatcher(....).forward()

    We are using the latest SJSWS 7.0U8, but have the following problem: During GET requests, getServletContext().getRequestDispatcher(....).forward(req,resp) works fine. But if the client issues a HEAD request, the servlet crashes with a ClassCastExcept

  • Error Code 0 in Web Service to File

    Hi all, I am trying to do an webservice to file scenario. When I am trying to send the WSDL file,   SOAP - send request to server, I am getting the following error. " http: could not post file' and return code is '0' and no text is displayed in text