FLVPlayback screws up fullscreen and resizes my swf on "Esc"
OK, so I have been modifying the Adobe AS3 videogallery for my site. It got just about everything working but fullscreen.
1) The HTML is set to enable fullscreen
2) The playback component is the newest version
3) The Flashplayer is version 10+
So when you click on any of the videos in the menu it loads into the side panel and plays as it should. But when you click on the fullscreen button it goes into fullscreen mode, but only displays the first frame of my last video in the menu. That's all it does, really weird!
When you press, "Esc" it exits out of fullscreen and the swf that was at 100% centered is now aligned top left at it's original size of 723px
I have NO idea where to start here. The link to my site is below. Let me know what you think!
http://www.xsxtreme.com/index2.html
I mean sir, when I click on one of the imported videos the video itself covers the entire screen. What i need is when i click the button for video 1, for sample, it will load with the size i manually transform on the stage.. and when the time comes i press the FULLSCREEN button on the "SkinOverAll.swf" that when the fullscreen happens..
Again, my settings stageDisplayState is FULL_SCREEN and scaleMode is NO_SCALE on the first frame. So, when i go and click the tab for video page it started fullscreen. The problem happens when i started clicking on one of the buttons on the video page, the screen all turns to black.. And when i hit ESC the screen turn to normal and no video is playing.. Tried playing the video, it work fine and press the FULLSCREEN BUTTON work fine too {that's because the stageDisplayState is NORMAL..
I hope that you could really help with this one.. I have a deadline tomorrow..
Thanks again,
YSONG
Similar Messages
-
Load and resize a SWF inside a MC
Hi,
I'm using AS2 to load an SWF inside an MC. The MC measures
800x600, while the SWF (which can vary in size) measures in this
case 14x60, even though, looking at it, it seems to be about half
the size of the hosting MC. This makes me think that the dimension
scales are different. I'm loading the SWF using MovieClipLoader and
I'd like to resize it so that it fits as proportionally snug as
possible within the MC. How can I do this? If I try to resize the
SWF to the MC's dimensions, it become way too large and goes off
screen. If instead I try to rescale the hosting MC to fit around
the SWF, the SWF itself rescales as well. I'm going nuts! How can
accomplish this?
Thank you,
TatianaTo make things simple, I'd like to take an existing SWF (the
picture) and load it into a FIXED SIZED MC (the frame) and I'd like
to rescale the SWF so that it fits perfectly into the frame.
By all means, I know that what you said should work and I
admit my inexperience with AS2, but somehow the SWF's I'm loading
in, have scales that are totally different with respect to my
Stage. I even tried loading the SWF directly onto the stage and
then I loaded the frame separately onto the stage and tried to
resize it to the SWF's _width and _height. The frame became a tiny
dot on the screen, while the SWF filled half of my Stage.
Thanks again for your help. -
How to load and resize a SWF in a MovieClip
Hello.
I want to download a SWF file and load it in a MovieClip.
Once the
downloaded SWF is loaded in the MoviClip I want to adjust its
size to
the parent MovieClip. I also want to restore the child clip
to its
original size and to drag it inside the parent MovieClip
But it doesn't work:
http://www.tel.uva.es/personales/jpozdom/moviClipLoaderWithPreload.swf
http://www.tel.uva.es/personales/jpozdom/moviClipLoaderWithPreload.fla
Could you help me?
Thanksblemmo escribi�:
> you can't change the properties before the clip is fully
loaded. You already
> have a listener for onLoadComplete, that's the right
place to change the size.
> Just place the restaurar() call before the play() call
in that event.
I tried it before submit the question but it doesn't work. If
I call
restaurar() just before the play() call in the onLoadComplete
then I
don't view the loaded clip in the window. You can test it if
you want.
I have fixed this using onClipEvent ( load ) in the
contenedor_mc
moviecliep. If I call restaurar() in this event it does work.
You can test that in this example:
http://www.tel.uva.es/personales/jpozdom/moviClipLoaderWithPreload.swf
http://www.tel.uva.es/personales/jpozdom/moviClipLoaderWithPreload.fla
Know I'm trying to make drag works...
Thanks -
How to resize a SWF file to fit on stage
Hi everyone,
I'm fairly new to Flash so please bear with me. I'm trying to resize a SWF file made in InDesign. My Flash application is set at 1920x1080 and the SWF file was made at the same size. I need it to be resized to 1700x956. This is the section of script that relates to the SWF file.
break;
case 'fact_btn':
eventAction = ".../FactSheet.aspx";
eventLog(eventAction);
factLoader.load(new URLRequest("FactSheet/HABFactSheet.swf")); //fact.swf
factLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
break;
factLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
spotlightStageRect.addChild(factLoader);
spotlightStageRect.visible = true;
spotlightStageRect.addChild(close_btn);
close_btn.addEventListener(MouseEvent.CLICK, removeSpotlight);
I've tried adding in the code below but the stage comes up blank when I run it in Flash. Anyone have suggestions? Also let me know if you need to see more of the script.
factLoader.width = 1700
factLoader.height = 956you need to execute that resize factLoader code in loaderCompleteHandler
-
i need to resize a swf file thats 800 x 300 down to 600 x 226
how can i do this without having to set the new parameters in
the embed tag like this <embed src="banner.swf" height="226"
width="600"> ..??
is there a way to resize the whole project when i export the
swf file or something.
i made my project a lil to bigger than i needed and have
already imported a few other swf files into this main banner swf
project so i need to resize everything down now..
How can i do this..??What format is the file in before you export to SWF?
What program are you using to convert your file from its
current form to SWF? -
Component Loader resizing external swfs
Hi. Fairly new to Flash. I'm putting together my first full
Flash site. The tutorial I'm following along with for some
assistance is written for Flash8, but I'm using CS3. To try to
minimize differences, I'm doing my files in Actionscript 2.
I've used an instance of the component Loader to load
external swfs (my pages) into the content portion of my main swf.
The problem I've run into is the loaded swfs are showing up at
different sizes. For ease of layout, the document sizes of the
external swfs are exactly the same as the mx.controls.Loader
instance on my main swf. But when they load, one is coming in
slightly larger than the original size, one nearly a quarter of the
size it should be. Everything else works.
In playing around to try to troubleshoot, I made one change
to my home swf (the external that loads immediately with a
Loader.contentPath command. This one had been loading slightly
enlarged), I changed a guide layer so it was a regular layer, no
longer a guide, then it loaded at the right size. When I changed
the layer back to a guide, it loaded somewhat enlarged again. I
tried turning off the guide layer on the other swf that was loading
small, it didn't help. I'm going nuts trying to figure it out.
I thought maybe it might have to do with the fact that some
elements start outside the document frame of the external swfs and
slide in, so I masked all layers to the size of the document. That
didn't help. Is there some scale setting for the Loader component
that I'm not aware of? That would cause the external swf to scale
up or down to fit the size of the Loader instance?
Any help would be appreciated. ThanksThanks. I tried a few more searches in Flash's Help for
Loader scaling and resize and found the scaleContent property, was
just coming back here to say nevermind and saw your response.
Sometimes it takes writing out the problem to spark more
troubleshooting inspiration.
BTW, changing Loader.scaleContent to false did solve my
problem. :) -
Adobe Air is very smiller than Zinc App - Reposition and Resize not working?
Hello guys, i have found and readden nice solution like NativeWindow was saved positions and sizes If i close Adobe Air App and i open again like NativeWindow was moved and resized. It is very simple working. And it works fine. 100 % Good! But how does it work with Zinc App because it doesn't work for positions and sizes. How do i fix? I have upgraded code from FileSerializer.as With mdm.Script:
package
import flash.events.Event;
import flash.net.URLRequest;
import flash.net.URLStream;
import flash.utils.ByteArray;
import mdm.Application;
import mdm.FileSystem;
import mdm.System;
public class FileSerializer
public static function WriteObjectToFile(object:Object, filename:String):void
var fileExists:Boolean = mdm.FileSystem.fileExists(mdm.Application.path+filename);
var outByte:ByteArray = new ByteArray();
outByte.writeObject(object);
if(fileExists == false)
mdm.FileSystem.saveFile(mdm.Application.path+filename, "");
mdm.FileSystem.BinaryFile.setDataBA(outByte);
mdm.FileSystem.BinaryFile.writeDataBA(mdm.Application.path+filename);
private static var stream:URLStream;
public static function ReadObjectfromFile(filename:String):Object
var fileExists:Boolean = mdm.FileSystem.fileExists(mdm.Application.path+filename);
if(fileExists == false)
var obj:Object;
stream = new URLStream();
stream.addEventListener(Event.COMPLETE, function(evt:Event):void
obj = stream.readObject();
stream.close();
stream.load(new URLRequest(filename));
return obj;
return null;
That is improved to mdm.Script and it saves sometimes.
And i have create UserPref.as
package
public class UserPref
public var zincForm:String = "MainForm";
public var zincType:String = "sizeablestandard";
//public var zincSWF:String = "MainApp.swf";
public var zincPosX:Number;
public var zincPosY:Number;
public var zincWidth:Number;
public var zincHeight:Number;
And i create MainApp.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
layout="absolute" applicationComplete="applicationCompleteHandler(event)" creatingComplete="creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mdm.Application;
import mdm.Event;
import mdm.Forms;
import mdm.mdmForm;
import mx.events.FlexEvent;
private var up:UserPref;
private var form:mdmForm;
protected function applicationCompleteHandler(event:FlexEvent):void
mdm.Application.init();
this.up.zincPosX = this.form.x;
this.up.zincPosY = this.form.y;
this.up.zincWidth = this.form.width;
this.up.zincHeight = this.form.height;
FileSerializer.WriteObjectToFile(this.up, "pref.zup");
mdm.Application.onAppExit = function (appevt:flash.events.Event):void
mdm.Application.exit();
mdm.Application.enableExitHandler();
protected function creationCompleteHandler(event:flash.events.Event):void
this.up = FileSerializer.ReadObjectfromFile("pref.zup") as UserPref;
if(up) {
mdm.Application.onFormReposition = function(rpevt:mdm.Event):void
this.form.x = up.zincPosX;
this.form.y = up.zincPosY;
mdm.Application.onFormResize = function(rsevt:mdm.Event):void
this.form.width = up.zincWidth;
this.form.height = up.zincHeight;
}else
this.up = new UserPref();
]]>
</fx:Script>
<fx:Declarations>
<!-- Platzieren Sie nichtvisuelle Elemente (z. B. Dienste, Wertobjekte) hier -->
</fx:Declarations>
</mx:Application>
And i recompile with Zinc Studio 4.0.22 than i try reposition and resize with Zinc Window than i close since saved files and i open again. But why does it not reposition and resize?
How do i fix? Can somebody help me?
Thanks best regards Jens EckervogtI little more searching and I found the answer. Check it out here:
http://forums.adobe.com/message/2879260#2879260 -
Fullscreen button outside the swf?
Hi,
I don't know anything about Flash, so please be gentle with me....
I have a swf file that doesn't have any fullscreen button although it's prepared for fullscreen anyway.
Now I'd like to have some kind of button beside/under or elsewhere in the html that can activate the fullscreen mode for the swf.
If it's possible to do this with a regular image, AS3 and html instead of creating a flash movie, that would be nice (see, that was probably a stupid qestion) as I have tried and tested half a dozen flash tutorials to no avail.
Oh, and IF the only way to do it is to create a button in flash, it need to be transparent.....
Thanks in advance for hints and help.if it's a web-based swf, the button needs to be in the swf. a transparent button is fine.
-
I have imported an SWF into a FLA project library and have
dragged it onto a frame in my project. I am trying to resize the
SWF to about 1/4 of its original size to make it fit correctly in
the new project. I cannot figure out how to resize the SWF. I have
tried the properties sheet, but it won't take different width and
height parameters. No object boundaries appear (all I have is a dot
to select the object) so I cannot use the transform tool to scale
it. Any ideas?I did this recently where I had a backdrop clip that I wanted
to serve as a 'screen' for jpgs I loaded in. I wanted them to
resize to the full extent of the background clip and maintain their
aspect ratio. The backdrop clip could have different dimensions at
different points in time as well... anyhow this should work with
swfs same as jpegs.
So I'll explain it in my context as I don't know exactly
yours (sorry this might sound a bit complicated because of that).
#1 If your holderclip is called
imageHolder and it contains a single clip inside at location
0,0 called
imageBackdrop
#2 You create an emptyMovieClip inside imageHolder and use it
to load your swf into using a Loader with a listener
#3 you have some code similar to this in your onLoadInit
event for the Loader (onLoadInit lets you initialise things like
size location etc before it displays)
If you can do something like that then I think you should be
on the right track for what I think you want to do. -
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 -
What is the best way to move and resize layers?
When I click on a layer to move and resize it in Elements 8 in Windows 7, it disappears. After I go to Edit/Undo, it reappears. What should I do?
I have PSEv.8 and Windows 7, and the Editor works like a charm for me.
Try the following:
Open picture 1, duplicate the background layer.
Open picture 2, make a selection of something in the picture with one of the selection tools, and then go to Edit>copy. This puts the selection on the clipboard.
Go back to to picture 1, go to Edit>paste, and the selection will be on its own layer
Use the move tool to position and resize the selection.
The middle layer can be dragged to the top. Here, this process will obscure visibility of Layer 1, but you can drag the layer structure back, of course.
http://www.pixentral.com/show.php?picture=1D3wrzjD5r24U8LfdTA1sdUb0zJOY0
I opened a picture of the house on the lake, copied/pasted the "Slick Rock Divide" sign as per above. The layer structure is represented in the print screen.
You should note that it is best if the resolution of the picture files is the same, or close to it. -
I have a template that I am able to plug different pictures into at different times. The problem is that when I plug an image into that template, I find that the image is either too big or too small. Is there a way to plug the image into the template and resize the image (and not the template itself) OR will I have to go to the file with the original image and resize it there and then try to plug it in to the template to see if it fits------and if it does not fit, go back to the original file with the image and resize it again and see if that fits---and so on and so on...........? I have tried the" image size" option but it's hit or miss------mostly miss!
Thanks!Read up on Smart Objects. It looks like you have no idea as to how to create and use them.
Jut create a Smart Object from the layer containing whatever it image it is that you are "plugging into your template". But you do need to learn the application at its most basic levels.
Photoshop is a professional level application that makes no apologies for its very long and steep learning curve. You cannot learn Photoshop in a forum, one question at a time.
Or is it possible that you don't even have Photoshop proper but the stripped-down Photoshop Elements?"
If the latter is the case, you're in the wrong forum. This is not the Elements forum.
Here's the link to the forum you would want if you're working in Elements.:
https://forums.adobe.com/community/photoshop_elements/content
If you do have Photoshop proper, please provide the exact version number of that application and of your OS.
(edited for clarification) -
Help needed in Drag and Drop and resizing of image icons
Hi all,
I'm doing a project on Drag and Drop and resizing of image icons.
There is one DragContainer in which i have loaded the image icons and i want to drop these image icons on to the DropContainer.
After Dropping these icons on to the DropContainer i need to resize them.
I have used the Rectangle object in resizing.
The problem now i'm facing is when i drag, drop and resize an image icon and when i try to drag, drop a second image icon the first image icon gets erased.
can any one help me in fixing this error.
if u want i can provide the source code.
thanks in advance
muralithe major restrictions in its implemented only in
jdk1.1.Why! -
Upload and Resize Image not inserting filename in database
I have a form that I created using the insert record form wizard. One of the fields is a file field and my form enctype is set to multipart/form-data. I then used the upload and resize image behavior and set the parameters. When testing the form the file uploads to the correct directory but no entry is made into the database for that particular field. The other fields are entered into the database just fine. If it helps, here is the code generated before the tag:
<br />
<br /><?php require_once('../../Connections/test.php'); ?>
<br /><?php<br />// Load the common classes<br />require_once('../../includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('../../includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("../../");<br /><br />// Make unified connection variable<br />$conn_test = new KT_connection($test, $database_test);<br /><br />// Start trigger<br />$formValidation = new tNG_FormValidation();<br />$tNGs->prepareValidation($formValidation);<br />// End trigger<br /><br />//start Trigger_ImageUpload trigger<br />//remove this line if you want to edit the code by hand <br />function Trigger_ImageUpload(&$tNG) {<br /> $uploadObj = new tNG_ImageUpload($tNG);<br /> $uploadObj->setFormFieldName("picture");<br /> $uploadObj->setDbFieldName("picture");<br /> $uploadObj->setFolder("../images/");<br /> $uploadObj->setResize("true", 120, 0);<br /> $uploadObj->setMaxSize(1500);<br /> $uploadObj->setAllowedExtensions("gif, jpg, jpe, jpeg, png, bmp");<br /> $uploadObj->setRename("auto");<br /> return $uploadObj->Execute();<br />}<br />//end Trigger_ImageUpload trigger<br /><br />// Make an insert transaction instance<br />$ins_team = new tNG_insert($conn_test);<br />$tNGs->addTransaction($ins_team);<br />// Register triggers<br />$ins_team->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");<br />$ins_team->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);<br />$ins_team->registerTrigger("END", "Trigger_Default_Redirect", 99, "../team.php");<br />$ins_team->registerTrigger("AFTER", "Trigger_ImageUpload", 97);<br />// Add columns<br />$ins_team->setTable("team");<br />$ins_team->addColumn("id", "NUMERIC_TYPE", "POST", "id");<br />$ins_team->addColumn("sort", "NUMERIC_TYPE", "POST", "sort");<br />$ins_team->addColumn("name", "STRING_TYPE", "POST", "name");<br />$ins_team->addColumn("title", "STRING_TYPE", "POST", "title");<br />$ins_team->addColumn("description", "STRING_TYPE", "POST", "description");<br />$ins_team->addColumn("picture", "FILE_TYPE", "FILES", "picture");<br />$ins_team->setPrimaryKey("id", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rsteam = $tNGs->getRecordset("team");<br />$row_rsteam = mysql_fetch_assoc($rsteam);<br />$totalRows_rsteam = mysql_num_rows($rsteam);<br />?>If the reason is about memory, warning message should be happened when upload the image, because "show thumbnail" means resize at second time, how come you failed to resize the picture that system let it upload succeed at the first time by the same resize process?
upload procedure
a.jpg: 2722x1814, 1.2mb
upload condition: fixed width 330px, 1.5mb
"upload and resize" a.jpg -> file upload -> "resize engine" -> passed (but not work and no warning message)
"show thumbnail" a.jpg -> "resize engine" -> failed (not enough memory)
it doesn't make sense.
and you miss an important key point, I upload the same picture myself, and resize work, so I said it happened at random, and that's why I am so worried. -
How can I download and read a SWF file on IPad 2? The message returned is that Safari cannot download that file
SWF files are flash files, which are not supported on the iPad : http://www.apple.com/hotnews/thoughts-on-flash/
If you want to play the file then the iSwifter or Skyfire browser apps might work (they don't work on all flash sites) but you won't be able to download it
Maybe you are looking for
-
How create a Component Usage for a BI Report
Hi, I am new to CRM and I am trying to Display a BI Report Inside of a CRM WebClient UI, but I cannot find where to create a Component Usage for my BI Report. I have done the following steps: 1. I defined my (BI) report in Customizing for Customer Re
-
SQL Management Pack - login to databases required?
I've recently imported the SQL Management Packs (version 6.5.4.0) and discovery has been working fine - Databases are being discovered and displayed in the Databases view in the SCOM console. On one of the 2012R2 SQL servers, I noticed these errors i
-
How to write hierarichal query when a child has multuple parent
Following sql is not able to provide the results where ever child has more then one parent, can somebody help me write the query to deal with this scenario select w.s2_child_contract_id, w.s2_parent_contract_id, w.s2_modifier_type_nm, LEVEL, connect_
-
Keyboard cursor/shift keys !
Can anyone tell me how to get up the cursor/shift keys (left, right, up and down) please ? Many thanks.
-
Hello all, How r u ? I have created many Generic Datasources using InfoSets in R/3 System and now i have to transport the DataSources. In SE09 I could see only DataSources Requests. Then I tried changing the Package for the InfoSet then it gave me th