Show mask action/script
I am trying to create an action or a script that will allow me to reveal a layer mask with a keyboard shortcut.
Normally, in PS CC 2014 I select the layer mask in the layers palette, then hold option and click on the mask icon.
This sequence reveals the layer mask in BW.
I am having trouble recording an action which selects an existing layer mask and then reveals the mask.
The action recording stops after I select the layer mask.
Additionally, I try making a script with the code generated with the script listener plugin. But this also does not work.
Any ideas how to make an action or script that shows the layer mask?
Trying to take the code one step further by creating a script to toggle the layer mask visibility.
I am able to call the showMask hideMask functions individually but not toggle the mask visibility yet.
Is the if statement the right way to proceed to create the toggle effect?
I am unclear how to target the mask element in a layer with javascript.
if the mask is not visible
showMask();
else if the mask is visible
maskHide();
#target photoshop
//Make Photoshop the formost Appplication
app.bringToFront();
//Test for open document
if(app.documents.length > 0){
//Select mask layer
var docRef = app.activeDocument;
var layerRef=docRef.layers.getByName("255 fill"); //"Layer Name"
docRef.activeLayer=layerRef;
// call showMask function
//showMask ();
// call hideMask function
//hideMask ();
//toggle mask visbility
else {
alert("No documents are open");
// FUNCTIONS
function showMask () {
// showMask
// =======================================================
var idslct = charIDToTypeID( "slct" );
var desc21 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref21 = new ActionReference();
var idChnl = charIDToTypeID( "Chnl" );
var idChnl = charIDToTypeID( "Chnl" );
var idMsk = charIDToTypeID( "Msk " );
ref21.putEnumerated( idChnl, idChnl, idMsk );
desc21.putReference( idnull, ref21 );
var idMkVs = charIDToTypeID( "MkVs" );
desc21.putBoolean( idMkVs, true );
executeAction( idslct, desc21, DialogModes.NO );
function hideMask () {
// hideMask
// =======================================================
var idslct = charIDToTypeID( "slct" );
var desc22 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref22 = new ActionReference();
var idChnl = charIDToTypeID( "Chnl" );
var idChnl = charIDToTypeID( "Chnl" );
var idRGB = charIDToTypeID( "RGB " );
ref22.putEnumerated( idChnl, idChnl, idRGB );
desc22.putReference( idnull, ref22 );
var idMkVs = charIDToTypeID( "MkVs" );
desc22.putBoolean( idMkVs, false );
executeAction( idslct, desc22, DialogModes.NO );
Similar Messages
-
Show the user action script function is in progress
Hi friends,
iam using action script code to store bitmap images and
display in the required format.
This code takes noticable time to complete.How can i show the
user that the operation is in progress .
regards,
KrishnaThe bar won't animate unless you give it a source.
Also, it won't animate if a loop clogs up the CPU.
Consider using callLater() for step by step execution of the
function in sync with the application framerate. -
How do I use the button states in an action script?
In my Captivate 8 project I use smart shape as buttons. The buttons have different images presented dependent on the state of the button. I have also created a simple action script that shows what happens when the button is pressed. When the button has been pressed the normal state of the button appear. I, however, want the down state of the button to remain visible util the user presses another button. How do I accomplish this? Is there variables for the buttons different state or how can I create that?
BR,
MadeleineWhen you talk about 'actionscript' do you mean advanced or shared actions? You cannot write actionscript within Captivate, only Javascript. If you use advanced/shared actions they'll be converted on runtime to either Actionscript (for SWF output) or Javascript (for HTML5 output).
The states in shape buttons are the normal way buttons behave (not only in Flash). If you are indeed using shared/advanced actions, and you want the down state to remain until the next shape button is clicked, you'll have to go the way described by iFlashAppsToo. Create shapes that have the look of the down state, make them initially invisible and group all those shapes on one slide. Add two statements to the shared/advanced action (please do use shared actions, you'll save time):
Hide Group so that eventual down mimicked states on previously clicked buttons disappear
Show Im_Downx to show the down image for that button -
Error in phase of assigniment Action Script
Hello Guys!
I created the following action script named "sketch.as" :
package
import flash.display.Sprite;
import flash.events.MouseEvent;
import com.adobe.images.JPGEncoder;
public class sketch extends Sprite {
public function sketch():void {
//this is your documentclass constructor
stage.addEventListener(MouseEvent.MOUSE_MOVE, moveCursor);
Mouse.hide();
function moveCursor(event:MouseEvent):void
pencil.x = event.stageX;
pencil.y = event.stageY;
var canvas_mc:MovieClip = new MovieClip()
addChildAt(canvas_mc, 0);
canvas_mc.swapDepths
function sketch()
canvas_mc.graphics.beginFill(0xFFFFFF);
canvas_mc.graphics.drawRect(0, 0, 600, 500);
canvas_mc.graphics.endFill();
canvas_mc.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function startDrawing(event:MouseEvent):void{
canvas_mc.graphics.lineStyle(1, 0, 1);
canvas_mc.graphics.moveTo(mouseX, mouseY);
canvas_mc.addEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function stopDrawing(event:MouseEvent):void{
canvas_mc.removeEventListener(MouseEvent.MOUSE_MOVE, makeLine);
function makeLine(event:MouseEvent):void{
canvas_mc.graphics.lineTo(mouseX, mouseY);
sketch();
var serverPath:String = "";
function createJPG(m:MovieClip, q:Number, fileName:String)
var jpgSource:BitmapData = new BitmapData (m.width, m.height);
jpgSource.draw(m);
var jpgEncoder:JPGEncoder = new JPGEncoder(q);
var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
var header:URLRequestHeader = new URLRequestHeader ("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest ( serverPath+"jpg_encoder_download.php?name=" + fileName + ".jpg");
jpgURLRequest.requestHeaders.push(header);
jpgURLRequest.method = URLRequestMethod.POST;
jpgURLRequest.data = jpgStream;
var jpgURLLoader:URLLoader = new URLLoader();
//jpgURLLoader.load(jpgURLRequest);
navigateToURL(jpgURLRequest, "_blank");
save_btn.addEventListener(MouseEvent.CLICK, saveBtnPress);
save_btn.addEventListener(MouseEvent.ROLL_OVER, saveBtnOver);
save_btn.addEventListener(MouseEvent.ROLL_OUT, saveBtnOut);
function saveBtnPress(e:Event):void
createJPG(canvas_mc, 90, "sketch");
function saveBtnOver(e:Event):void
Mouse.show();
pencil.visible = false;
function saveBtnOut(e:Event):void
Mouse.hide();
pencil.visible = true;
Lately I created a file .fla in the same root of the file .as naming it "sketch.fla"
When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:
“A definition for the document class could not be found in the classpath, so one will be automatically generated in tha SWF file upon export.”
Obviously, it doesn’t function
Could somebody help me??i don't understand, "When I try, in the Adobe Flash CS4 Professional screen, to assign to ".fla" in the properties Publish my action script, the following message appears:"
but i do understand that error message. you need to assign the document class for your fla. in the properties panel with the backstage selected, assign sketch in the class or document class field. -
With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
How to correct that
Thanks in advance for any hint you can provide.I've had the same problem. This solved it...
Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
Hope it works for you to... -
Help with adding action script to an order form
Hi - Firs time I'm on this board. Searched and didn't see
anything that fit. Adobe/Macromedia Support told me my form needs
an action script insert for me to gain access to a previous page.
I'm revamping an online order form. It's about 2 1/2 pages in
length. I find that I can't go back to the first page -- I'm locked
in the second one. On split screen the HTML coding shows there is
more than one page. Also, when I look at it in a browser the whole
page is there.
Does anyone know how and where I can put in action script.
I'm not an HTML maven so this isn't my thing. Thanks for whatever
advice you can give.
Best - ETideVisit gotoandlearn.com and find a tutorial there for creating
a preloader. -
Flash photo gallery - loading first movie - action script
Hi,
I have a movie gallery (they are basically images with a fading effect), and I got it setup, and working, but I cannot get right the action script to make the first movie load when the page opens. The only thing I get to see is the scroll bar with the thumbnails, and after I click on the images I can see the full size. I would like the full size image of the first thumbnail to show up as default when the page opens. And then, if you click on the thumbnails the other images will appear. This is my link:
http://www.mauriciolopez.info/paintings/
This is the action script for a typical Thumbnail (setup as a button):
on (release) {
loadMovie("clip0.swf", "_root.screen");
I appreciate your help!!!!
Thanks!!!!Rob, thanks for your answer. I do have a movieClip, at the root level. All my other movies load when I click the thumbnails. For some reason I'm not able to make a video appear before clicking on the thumbnails. I'd like to open the gallery and see the first video full size (automatically), before even clicking the thumbnails. Then, when you scroll and enlarge the other ones, they will replace the default one. I haven't been able to make it do this, and it's driving me crazy....
Thanks again for your help. -
Flash Newbie needs help with Movie Clips/Action Scripting
Hi -
I'm having a problem with my movie clips playing
simultaneously and cannot, for the life of me, figure out what I
have done wrong. I'm new to flash, so I may have set something up
incorrectly, but here's what I have so far:
11 layers, total: 1 layer with 10 control buttons, each
button with the following actionscript:
on (release) {
gotoAndPlay(85);
Where the number changes in relation to which keyframe the
next movie is on.
I have 10 movies, total, but they are only movie clips,
essentially photo slide shows with audio, made all in the library.
The problem happens when I click on the second or third
button. Not only does the movie that I have selected begin to play,
but all of the previous clips do as well, so it all sounds quite
garbled. I don't know what I am missing in the action script, as my
Action Layer has a stop command on it at each keyframe where there
is a new clip to play.
I have tried to add a stopAllSounds command, but I'm afraid
that doesn't do anything because it is not a "sound file" per se,
playing in the timeline.
I'm at the end of my rope and really need some help in
figuring this one out. My project is hanging in the balance on
this, as I have scripted everything else correctly and it runs
beautifully.
Please help!
Thanks,
CarolineEach layer has a blank keyframe before and after each
movieclip. Each movie clip is at a different frame. Even with the
blank keyframes added, the second video starts to play and then the
first video begins to play. Same happens if I click on the third
button. Third plays, and starts 1st and 2nd shortly thereafter. Is
there an action script I can put in that will tell the timeline
that, when a button is clicked, no matter where the movieclip is,
it will stop and start the newly selected movieclip? -
FLASH MX 2004 action script question
Hi!
I need to create an script for a basic function; when mouse goes over a moveclip, that works also link, I want it to trigger an invisible red dot on a nerby map. I have created a movieclip and named it "red", it's a 1 sec clip with nothing in the beginning and a red dot in the end. I want this dot to trigger and show only when mouse goes over this specific link, otherwise it must be invisible.
I know this is pretty basic stuff and I have done this before few years back but I have forgotten how to do it and need help now.
Any help would be very much appreciated :-)
KimI still need help, this problem is little more complicated;
I can manage making the red dot visible and invisible by triggering roll over and roll out on a button.
The problem is, I have a navbar which is line of flags made to a movie clip, with 5 invisible buttons. These buttons are configured to do three different actions; get URL, trigger a light effect and a movement effect.
Now I need this invisible button to trigger my red dot also so that when mouse is over a certain flag a red dot appears on a map on the correct location.
I have the red dot on a new layer. It has instance name "redDot" and on the very first frame of this red button layer, I have action script that says: redDot._visible = false;
This works as it should and the dot is invisible when the movie has loaded.
I need to make this invisible button to trigger the visibility of my red dot, and I have tried to add the code:
on (rollOver) {
redDot._visible = true;
on (rollOut) {
redDot._visible = false;
to this invisible button, but it dosent work, furthermore it affects the other functions of the button/movie clip, which were working fine before.
Here is the code attached to this invisible button so far:
on (release) {
getURL(/:url1);
on (rollOver) {
gotoAndPlay(2);
on (rollOut) {
gotoAndPlay("sec");
I have the URL:s on an external text file.
So my question is; where do I add the action script to make it visible when moving the mouse over this invisible button? To my understanding, it should go in the same place as the other code that is working, but I'm doing something wrong...
I tried to do this:
on (release) {
getURL(/:url1);
on (rollOver) {
gotoAndPlay(2)
redDot._visible = true;
on (rollOut) {
gotoAndPlay("sec")
redDot._visible = false;
But it is wrong, I also tried like this:
on (release) {
getURL(/:url1);
on (rollOver) {
gotoAndPlay(2);
on (rollOut) {
gotoAndPlay("sec");
on (rollOver) {
redDot._visible = true;
on (rollOut) {
redDot._visible = false;
But it makes the other functions that worked to stop working.
I also tried to give the invisible button an instance name and do it like this:
invisible.on (rollOver) {
redDot._visible = true;
invisible.on (rollOut) {
redDot._visible = false;
And put them in the actions layer of button movie clip but nothing works.
Flash is really giving me a headache now...
To conclude, I made a simple test button, put it on the scene somewhere and and attached the rollOver and rollOut codes, targeting the "redDot" and it works fine, the button didn't need a instance name to work. I don't understand why I can't make it to work with the invisible button where it should be.
I hope this clarifies the point and I can get some help with this and sorry for bothering again with this problem.
Oh and I use old Flash MX 2004.
Thanks
Kim -
Difference in using the same component made in mxml or action-script
Hi,
I made a sample project to show a kind of bug in the SuperTabNavigator component of FlexLib
In this sample you can see that using the same component (made in both mxml or action-script) can make a difference
I'm just wondering why ?
Thanks
Here is what i've posted :
What steps will reproduce the problem?
1. Create a button to dynamically add new tab with icon on a SuperTabNavigator
2. Click on this button to add new tabs
What is the expected output?
- The expected output is tabs added without abnormal behavior
What do you see instead?
- Every time a new tab is created the one who had the focus has its content
(icon + label) moving from the top-left of the tab to its original position
Please provide any additional information below.
Configuration:
- Flex Builder 3 in Eclipse
- FlexLib 2.3
Sample:
(see attached file)
There is two type of tab, one in action-script and one in mxml
They both are equal
- Adding a new action-script tab to SuperTabNavigator works fine
- Adding the same tab but an mxml one doesn't
- Adding a new action-script or mxml tab to TabNavigator works fine
-> meanings that the issue comes with SuperTabNavigator
- Adding a new mxml tab to both SuperTabNavigator and TabNavigator at the
same time makes TabNavigator to get the same bad behavior
Remarks:
- Tried everything but i'm really stuck
- Weirdly, removing the PopUpButton correct the issue
- In the same way if you keep adding action-script tab it automatically scroll to the
last tab. And if you do the same with mxml tab then it add the tab at the end and
scroll to the first one.
=> what could be the difference between using action-script or mxml object ?Here is one possible solution:
You can use the ExternalInterface (
http://livedocs.macromedia.com/flex/2/langref/flash/external/ExternalInterface.html)
class to communicate with JavaScript. JavaScript can then popup the
media player very easily like this:
http://www.webreference.com/programming/javascript/jf/column5/index.html
The documentation on the ExternalInterface class has a nice
example (in the bottom of the page) on how to communicate with
JavaScript in a browser. Hope this helps,
-george -
Help with action script please
hay guys, im having trouble with changing my action script to
allow multiple layers of the same thing in order to show a greater
sense of depth than the normal application. im using a flash
toutorial on making a sort of matrix like falling text (
link)
and im not completely understanding what to change in order to
accomplish my goal. i tryed to send them a message using their
contact page, but its broken, forcing me to find a forum. im sure
it has something to do with the third group of code where it
identifies what its using. but whenever i change anything there to
either match the identifiers or movie clip names the action script
crashes when i test the movie. any help is appreciated.
im using flash cs3 and made sure to create it all in action
script 2.0
please excuse my spelling, im sure i made a mistake
somewhere."FlashTastic" <[email protected]> wrote in
message news:e4ir4t$ru4$[email protected]..
>I don't think an enterframe will be your best bet.
>
> You might want to use something like
>
> if(_root._currentframe >= _root.totalframes){
> loadMovie("myMovie.swf",_root)
Why in the world would you do that when you can just put a
keyframe on the last frame and ..
loadMovie("myMovie.swf");
tralfaz -
Can FC put action script in a 'code behind'.
Once of the practices I do in FB3 is to move all my action script into 'code behind' files instead of having all the code in the mxml files. Does FC have the option to do that (as part of the gen process) and if not, does anyone else who 'codes' instead of 'designs' feel that is a benefit? I know I'd prefer it to be in a 'separate' as3 file. Also, if I DO move the code into code behinds (I've not tried it yet), does FC have any issues reading the code behind? I'll be trying that on a 'simple' project to be sure but figured I'd ask just in case anyone else wants to know...
The two references cited helped answer questions about Adobe's overall philosophy and approach that came up as I worked a simple example down the design/development stack of tools from Illustrator (AI) to Catalyst (FC) to Flash Builder 4 (FB).
Other questions that arose were:
Each application (AI, FC, FB) contains tools for design with some degree of overlap.
Will FC eventually include from AI (or Photoshop, InDesign, etc.) and the FB design view all functionality needed for interactive storyboarding and skin generation?
Is it the intent for FC to become the designer's tool and FB the developer's tool, at least for application design?
The diagram in the Gumbo skinning spec shows that base components and their subclasses are typically implemented in AS and skins in MXML and recommends this as the preferred design pattern. Yet when I converted one of my groups (essentially a form) to a customized component, and exported the project into FB, I noticed that FC had generated a single mxml file (CustomComponent1 ...) and not a pair of files (an X.as file for the base component and an X.mxml file for the skins).
For several reasons, wouldn't you want to generate separate files as depicted in the Gumbo diagram as a starting point for code customization?
How does one develop custom components in FB (or using AI+FC+FB) and package them as a library so that they can be dropped into FC and used in the way that the current set of 5 components (button, hscrollbar, vscrollbar, text input and data list) are used?
How will I integrate my hand-coded dynamic components for data visualization alongside more generic and static app components on an RIA page?
How would I use AI+FC to design liquid layouts where children at each level often utilize constraints (i.e. top, bottom, left, right) between parent and child?
For agile methodologies, how will refactoring the interaction or software design work in this new world where interaction designers are trying to maintain full control over appearance and interactive behavior?
Finally, I would like to know what tools and steps Ely used to develop the component shown in the video. It would be instructive to turn that into a tutorial that we could walk through, step by step, in slow motion
While I understand the arguments for separation of design and development as a workflow methodology, those of us with development and HCI/visualization backgrounds building research prototypes would like to see integration of the design and development tools (from the perspective of the workflow, not the architecture and code).
As Jordan said, the direction you are heading is inspiring. Keep up the good work. -
Problem with action script from Schewe and Frasier book.
I am working on a Photoshop CS3 action script to
open raw files, do a couple of modifications
in Camera Raw, exit camera raw and save
the file as a jpeg.
I think this should work, because I am working
on an example out of "Camera raw with Adobe
Photoshop CS3" by Schewe and Frasier which
shows the step recorded.
See page 344 of Schewe and Frasier.
In figure 9-11 you see, after the open
statement, 10 lines of details like
"As camera raw"
"Model:Canon 350d" etc.
I get the file path and name line, but
none of the other details reflecting
actions in Camera Raw.
The problem is that in setting up the action, none
of the steps done in camera raw after I do the
open get recorded.
And it works in my old CS version !
Out of frustration I repeated the action
script creation in my old CS version and
it worked fine.
Any idea where I am screwing up ?Crappy format justification:
I sometimes have a day of family
type pictures that are in raw format
that I want to put up on the internet
quickly. I would like to be able to
apply the "Auto" feature, as in general
it seems to be pretty good for something
quick.
OK, it sorta works in CS, go here
http://www.angelplace.net/photos/sample.jpg
It sets up all of the details and gets the
"As camera raw" but opens the .dng file
rather than the Camera raw window.
The point is, these important settings
seem to be saved, which does not happen
in CS3. -
I am creating a video gallery off of the demo action script
3, video gallery, that is shown on this site. I have updated the
XML file that contains the link to the thumbnails and videos to the
appropriate url. When I test the project out, I get the following
error:
TypeError: Error #1085: The element type "video" must be
terminated by the matching end-tag "</video>".
at
fvg::FlashVideoGallery/fvg:FlashVideoGallery::onDataHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
I am fairly new to Action Scripts and would really appreciate
overcoming this hurdle.
Thanks
Ariarikanoa wrote:
> I am creating a video gallery off of the demo action
script 3, video gallery,
> that is shown on this site. I have updated the XML file
that contains the link
> to the thumbnails and videos to the appropriate url.
When I test the project
> out, I get the following error:
>
> TypeError: Error #1085: The element type "video" must be
terminated by the
> matching end-tag "</video>".
> at
fvg::FlashVideoGallery/fvg:FlashVideoGallery::onDataHandler()
> at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
> n()
> at flash.events::EventDispatcher/dispatchEvent()
> at
flash.net::URLLoader/flash.net:URLLoader::onComplete()
>
> I am fairly new to Action Scripts and would really
appreciate overcoming this
> hurdle.
>
> Thanks
>
> Ari
>
> <?xml version="1.0" encoding="utf-8"?>
> <!--
> ***************************************
> Settings.xml
> Provides a configurable data source for the Flash Video
> Gallery application.
>
> Configurable Settings:
> - labels: exposes labels for localization.
> - links: configure main screen links and resulting urls.
> - filters(1): creates a list for filtering (up to 4
filters).
> - filters(2): creates an alternate list for filtering
(up to 4 filters).
> - videos: creates a list of video display information.
>
> Note: Text nodes are for localization and node
attributes
> are not. The exception is the 'url' attributes...
>
> Last Modified: March 2, 2007
> ***************************************
> -->
> <flashvideogallery>
>
> <!-- Labels for localization -->
> <labels>
> <label name="title"><![CDATA[ActionScript 3.0
Flash Video Gallery]]></label>
> <label name="welcome"><![CDATA[<b>Click
on a thumbnail to view
> details</b>]]></label>
> <label name="videoPreview"><![CDATA[Webvideo
Preview]]></label>
> </labels>
>
> <!-- Links for the main screen (up to 8 sidebar
links) -->
> <links>
> <link name="textLink1"
> url="
http://www.adobe.com/products/flash/video/"><![CDATA[Learn
more about
> Flash video >]]></link>
> <link name="textLink2"
> url="
http://www.adobe.com/devnet/flash/"><![CDATA[Visit
the Flash Developer
> Center >]]></link>
> <link name="textLink3"
> url="
http://www.adobe.com/devnet/flash/articles/video_gallery.html"><![CDATA[Exa
> mine the gallery source files >]]></link>
> <link name="textLink4" url="
http://www.adobe.com"><![CDATA[View
more
> examples of Flash video >]]></link>
> <link name="textLink5"
> url="
http://www.adobe.com/products/flash/"><![CDATA[Learn
about Flash CS3
> Professional >]]></link>
> <link name="textLink6" url=""/>
> <link name="textLink7" url=""/>
> <link name="textLink8" url=""/>
> </links>
>
> <!-- Filter by list #1 (category radio button and up
to 4 checkbox filters)
> -->
> <filters>
> <filter name="radio1" view="1"><![CDATA[Filter
videos by industry]]></filter>
> <filter name="checkbox1" id="i0"
view="1"><![CDATA[Content]]></filter>
> <filter name="checkbox2" id="i1"
view="1"><![CDATA[Entertainment]]></filter>
> <filter name="checkbox3" id="i2"
view="1"><![CDATA[Marketing]]></filter>
> <filter name="checkbox4" id="i3" view="0"/>
> </filters>
>
> <!-- Filter by list #2 (category radio button and up
to 4 checkbox filters)
> -->
> <filters>
> <filter name="radio2" view="0"><![CDATA[Filter
videos by region]]></filter>
> <filter name="checkbox5" id="r0"
view="1"><![CDATA[Europe]]></filter>
> <filter name="checkbox6" id="r1"
view="1"><![CDATA[North America]]></filter>
> <filter name="checkbox7" id="r2" view="0"/>
> <filter name="checkbox8" id="r3" view="0"/>
> </filters>
>
> <!-- List up to 36 videos for display in the gallery
-->
> <videos>
> <video
preview="thumbnails/Qlippit_3_Adam3_pix_to_grandP-26May07-0523PM.flv"
>
flv="video/Qlippit_3_Adam3_pix_to_grandP-26May07-0523PM.flv"
filter2="r1"
> filter1="i2">
> <title><![CDATA[Creative
Bubble]]></title>
> <description><![CDATA[Creative Bubble needed a
way to show their demo reels
> to the largest audience possible with the best
experience. Their solution is a
> Flash-based UI that instantly streams video to their
home page.]]></description>
> <moreInfo url="
http://www.adobe.com"><![CDATA[More
info...]]></moreInfo>
> </video>
> </flashvideogallery>
>
1st. If you haven't already, get a nice xml editor such as
http://www.wmhelp.com/download.htm
free xmlpad editor for windows. Why? because it supports
editing the
dating in 3 different ways: Source <which has syntax/tag
hilighting ,
Grid , Table.. the grid is easiest to use and helps avoid
deleting tags
by mistake, which is what it sounds like you did based on the
error
message. If the above was a straight cut and paste of your
xml file then
you are missing
the </videos> tag that belongs between
</video> and </flashvideogallery>
I have personally spent the last week playing with the
example and
modifying it to have a scrollbar so that i can show more than
36 videos,
and have edited the xml files to add more entries. -
Transparency with action script
I have a swf file and i want to give it a transparent background to the stage. I understand that it's possible to give it the transparency through the HTML publish setting using the 'transparent windowless' property.
However, i wanted to know whether there's an actionscript property to give the same transparency effect to the stage. like the opactiy or something (sorry, I might be wrong)
The thing is I have a external preloader which loads the content swf and when it gets loaded, the stage loses it's transparency.
any help please with the action script on transparency?you're either misunderstanding what you see or not accurately explaining what you see.
there's only one html that embeds a swf. that embedded swf's stage color will be seen (or not depending on the html settings). no loaded swf's background color will be seen. all loaded swf graphics will be seen. everything is this paragraph are facts that you cannot change using actionscript or anything else.
if you removed the graphics from content.swf there's no way it can "still show". the below paragraph explains the ways you could misinterpret what you're seeing:
if you removed graphics from content.fla and FAILED to publish a new swf, graphics will still show. and, if you're testing in a browser, and fail to clear your cache you may be seeing an old swf version that still has background and other graphics.
Maybe you are looking for
-
Actual COGS and Production Variances to COPA (KE27)
Dear all, if the COGS is revaluated with the ML (revaluation of consumption) if the COGS is mapped as a dedicated value field in COPA if the COGS @ actual is passed to the COPA (KE27) Hence is no longer needed to settle the production order variance
-
I searched and did not see this listed as a bug, but I seem to have issue anytime i used the Icon Text feature versus just using the Text tool. 2013 SP1 2012 SP1 Solved! Go to Solution.
-
Solaris Coolstack 1.3.1 Innodb engine not working
Last night I spent about 7 hours at my collocation facility setting up the server. It says that the coolstack 1.3.1. package comes with Innodb, I do even have the innodb skip command in the my.cnf file. I for the life of me can't figure out why it wo
-
HDMI HDCP Support Issue Resolved
Everyone, I've struggled for months with the HDCP non-support issue. I've tried everything, rebooting the network, resetting ATV, etc to no avail. I think I've found a solution and have verified this by trying to watch a movie I'm in the process of d
-
Hi, I ran exp with full=yes. When I run imp in another (blank) database with full=yes, some of the grants do not get re-created, specifically some of the grants from sys (but not all -- most of them are re-created). Using Oracle 9i. Anyone heard of t