Adobe Flash

29K

Solutions

13K

Contributors

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi, I would like to be able to copy a selection from a text box (txtContent)  to the system clipboard in flash

I can easily get  text on to the clipboards using: System.setClipboard(txtContent);

And I think I can get the position of the selection like this: Selection.getBeginIndex() and Selection.getEndIndex();

But here is where i got lost!
      

0
I have a client that is lookig to stream some videos on their website.  We aren't talking about a ton of videos or anything, but a few.

The files will be around 45 mb in size, and will come in the form of .avi.

they are ok with converting to flash if needed.

They house their own website on an archaric web server that is in need of upgrading, and I'm not entirely sure of their internet connection speed.

What would be the best way to put these up on the web to stream without constant buffering or waiting 10 minutes to load?
0
Hi,

I have a javascript widget that I want to put on my website, which is a flash site. How can I do this? ActionScript? I don't really want to use an iframe if I don't have to because I want it on one of the pages, not fixed on the site at all times.

script for widget:
 
<script src="https://www.crossloop.com/widgetjs/pro_contact_widget.js?accountid=1183293" type="text/javascript" charset="utf-8"></script>

Open in new window


Site:
http://www.dantechmsp.com/dantechitnew2/site_flash/

Any help is appreciated.
0
I need an alternative solution to preloading several swf files whos content come from database.
Ive tried several, built into flash preloaders with no success. The problem that i'm having is that the content sometimes loads and sometimes it hangs. this site is an AS2 flash site which loads 7 swfs as sections, originally it was xml driven but it was converted to run with a content editor. at this point i just need  perhaps a javascript solution to keep these swf files in the browsers until i need them. One solution that was sort of working for me was using a header script to quickly reload the page just enough to capture the swf files but unfortunately the script just kept reloading over and over, and the one page loader that I found that reloded one time only worked great in FF but not in stupid IE(god I hate IE) Anyways any help would  be greatly appreciate and returned in great karma :)
0
Dear Experts,

I have a powerpoint presentation that I need to get into an SWF format. I have the full professional Adobe suite CS5, and I want to use this to make the conversion. I have tried a lot of free software but a lot of quality is lost in the conversion.

Can someone please guide me through which app in the suite I need to use and how to do it.

many Thanks,
0
Head out to http://www.countryshowdown/Chevron

You'll see a carousel with multiple images scrolling horizontally. Everything looks great but there's a gap between images. I'm not talking about the gap between each individual image, rather the distance between the first and last image of the entire group.

I've attempted to close that gap by adding additional images, but nothing seems to be making an impact. I've attached the settings and image xml.

How do I close that gap?
<settings>
  <General_Properties>
    <direction value="horizontal"/>
    <componentWidth value="600"/>
    <componentHeight value="220"/>
    <spacing value="3"/>
    <thumbWidth value="200"/>
    <thumbHeight value="90"/>
    <offset value="50"/>
    <preloader value="assets/preloaders/redstripes.swf"/>
    <assets value="images.xml"/>
    <showAbout value="false"/>
    <useColorbox value="false"/>
    <customPath value=""/>
  </General_Properties>
  <Colorbox_Properties>
    <transition value="elastic"/>
    <innerWidth value="900"/>
    <innerHeight value="500"/>
    <slideshow value="false"/>
    <slideshowSpeed value="2500"/>
  </Colorbox_Properties>
  <Expand_Properties>
    <direction value="center"/>
    <percent value="25"/>
    <func value="Back"/>
    <method value="easeOut"/>
    <duration value="0.6"/>
  </Expand_Properties>
  <Background_Properties>
    <fillType value="solid"/>
    <backgroundColor1 value=""/>
    <backgroundColor2 value=""/>
    <backgroundAlpha value="0"/>

Open in new window

0
Trying to set up vCenter 5 up on a brand new Windows 2008R2 server. The install completes fine but trying to load either the admin page or the client page results in just a plain blue screen. Right clicking gives the flash context menu with "Movie not loaded..." ghosted out.

I have tried this on two different servers, both clean builds, both have flash 11 installed. The flash plugin does work as youtube videos play fine. I have tried getting version 10 installed but it wont install without trying to put 11 on instead, however using the stand alone version of 10.3 still doesn't display anything.

I have set the site as a trusted site and dropped the security level as low as it will go... no difference. Am I missing some other config options within 2008R2 which may be blocking this content? I disabled the firewall as a test, as any other machine apart from the server, doesn't even get a blank screen (probably a different issue), but this made no difference.
0
My OS is windows 7 and whenever I want to play a video from the web, I get a message saying that I do not have the latest Flash installed at least a 9.0 (I think), but I have the version 11.0 installed.    But if I were to use Morzilla and play the same file, it does so without any problems.  Why do I repeatedly get this message and how do I fix this? thank u.
0
please check http://cms.onlineoasis.com.au/

the "Play" in elearning section is working on most modern browser except safari. I dont understand why...
0
Hello,

Application inludes many RSL's and on load is taking a while . The same scenario happens on deleting flash cache ( where RSL's are loaded again) .  Is there any way to load RSL's on demand or to decreases load time of application.

2) resource modules and styles modules are also loaded simultaneously. Does it impact on load time?

Please share your thoughts the ways to decrease the load time and to improve application performance
0
Hi,

I am new to action script 3.0

I am working on existing flash project which is calling internaly swf files one after the other.

I have code available.

In my website I have all the .swf files are available

In SaveForm.swf file below code is used

Settings.getInstance().dispatchEvent(new SiteEvent(SiteEvent.JUMP_TO_PAGE, true, true, { page: 13 } ));

which is taking to the another ShareForm.swf file


This is in method submitData()

Also in the same SaveForm.swf, I have another object UserData, where all user data is saved

private function saveUserData():void {
      var my_message:String = 'Hello';

      // setup User Data object
      //popAlert("Dinesh3",yourfirstname);
      //popAlert(titleList.value,yourfirstname);
      UserData2.getInstance().setTitle(String(titleList.value));
      trace("--------------->"+typeof(titleList.value))
      popAlert("Dinesh4",yourfirstname);
      trace("Dinesh 5");
      UserData2.getInstance().setFirstname(yourfirstname.text);
      UserData2.getInstance().setLastname(yourlastname.text);
      UserData2.getInstance().setEmail(youremail.text);
      UserData2.getInstance().setCountry(_selectedCountry);                  
}
 

I wanted to recive UserData2 object values in my ShareForm.swf

All object values are accepting in method jumpToPageHandler() ShareForm for example
youremail.text = UserData2.getInstance().getEmail();

What code I should write in both files so, that I should receive UserData2 object values in ShareForm.swf

I am not sure why this is …
0
I'm hoping someone can help - I've spent way too much time trying to get something to work.

I'm trying to setup a tree structure that the user can edit.  I want to use an itemrender and a few events to handle the edits.  The only way I've gotten this to work nicely is to feed the tree an object that is created by Flex at compile time.  What I need is the ability to read in the data at runtime.

If I use a MX:XML model, Flex casts the XML as an object and everything works perfectly.

What I can't figure out is how to read this same data from an HTTP Service call.  I've tried setting the result type to object, e4x, xml etc.  I've tried XMLList, XML, and Array Collections.

I need the XML  cast as an object in the same manner that Flex stores/compiles it using the <mx:XML> model.


Any ideas of thoughts?


Thanks,

John


<mx:XML id="treedata"  format="e4x">
		<top label="node 0">
			<row label="node 1">
				<row label="subnode 1"/>
			</row>
			<row label="node 3"> </row>
			<row label="node 5"></row>
		</top>
	</mx:XML>	


private function initCatalog(cat:Object):void {
				myTree.dataProvider = cat;
			}

.....

initCatalog(remotetreedata);

Open in new window

0

I need to put a widget on my site using the script tag. How can I do this so that it works in a flash site?

<script src="https://www.crossloop.com/widgetjs/pro_contact_widget.js?accountid=1184493" type="text/javascript" charset="utf-8"></script>



Any help is appreciated!
0
The redirect coding that I have been using no longer works in default safari, I cant seem to find a lot of information on it either. I have attached the coding below.
It also still works in my atomic web browser, with identify as a ipad mobile browser selected. Maybe there is a better code to use with the new safari.

Randy



<script type="text/javascript"> 
	if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) {
		document.location = "http://www.google.com/mobile.htm";
	}
</script>

Open in new window

0
Hello -

I'm using Flash CS5 on a Mac and ActionScript 2.0 (I have to use this language because the software I need to import the SWF to only supports AS2).

I need to create a "closed captioning" button in my .fla file.  I am NOT looking to control a Flash video with this button.  I NEED to place it on the timeline with the "rewind" and "pause/play" buttons I have created that control the movieclips on the timeline.

I have a few audio files and would like the CC button to scroll the words/sentences spoken on the bottom of the screen.  I then will publish my file as a SWF and use software (Articulate) to publish it to my LMS.

Any help would be greatly appreciated.
0
i want to make dynamic gradient text in my flash swf.

the way i have been playing with is this:
i create two layers on my time line
the top layer has a static text textbox on it
on the bottom layer i have a gradient box

in the text box i type some letters-  then i right click on the layer with the textbox and select mask
This produces the desired effect.
now the problem…
 i want to dynamically add text to this text box.
to do so i have to switch the text box type to dynamic and in my code i
set my textbox.text = "mytext";

the result is not consistent.
I’ve tried other thing like applying the mask in code. I’ve tried cacheAsBitmat for both my textfield and the gradient box and setting the mask gradiantbox.mask = textfield which also doesn’t work for me. I’ve also tried adding the textbox through code.
 every way that i have tried i get inconsistent results. sometime the text seems to disappear! sometimes the mask does not apply. what the heck am i doing wrong?!  : )
any help would be appreciated.

Thanks : )


0
Can Adobe Flash CS4 make an animated GIF?
0
Hi Experts,

I am new to flash. I am using action script 3.0

I have many movie clips in my .fla library.

If I wanted to open and modify any of the movie clip how do I modify movie clip present in library and see action scripts present in that library

I have full code available and  I am sure the movie clip I am discussing is not third party movie. Its created by us and used in frames in .fla

Please guide

Many Thanks
0
Hi Experts,

In my attached bottomleftpanel.fla file there is a link called "Visit Company"

I wanted to update this link.

This .fla file is not attached to any .as files but I can see one BottomLeftPanel.as file lies at path
com.saatchi.sitetemplate.model.BottomLeftPanel

when I am attaching this file as .as files with this .fla file then I am getting the error saying URL not found at the time of loading the swf file

Can we link text "Visit Company" in .fla file as well.

Please see both .as file and .fla file

Please comment

Many Thanks bottomleftpanel.fla
package com.saatchi.sitetemplate.m<wbr ></wbr>odel {
	import flash.display.Loader;
	import flash.display.LoaderInfo;
	import flash.display.MovieClip;
	import flash.display.StageDisplay<wbr ></wbr>State;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.net.URLRequest;
	import flash.text.TextField;

	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Con<wbr ></wbr>figuration<wbr ></wbr>2;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Set<wbr ></wbr>tings;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Sit<wbr ></wbr>eConstants<wbr ></wbr>2;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>config.Omn<wbr ></wbr>itureTrack<wbr ></wbr>ingManager<wbr ></wbr>;
	import com.saatchi.sitetemplate.c<wbr ></wbr>ontroller.<wbr ></wbr>text.TextU<wbr ></wbr>til;
	import 

Open in new window

0
i have a requirement where admin will be adding urls of his youtube videos to the database.
in frontend I need something really cool, and fancy – where it has little thumbnails on front for each video and they can slide into each other.

pls help with suggestions....
0
How can I edit this flash website template? I have the main .fla open in flash but I don't see how to edit the content. I can see some of the items in the library but I don't see the content I need to edit. Am I missing something here? Does something else like an xml file or something send the data to the flash object?

Site is
http://www.dantechmsp.com/dantechitnew2/site_flash/
0
how do i add a graphic image here, replace text with an arrow:

<preview_play_label><![CDATA[<playLabel>play/pause</playLabel>]]></preview_play_label>

and remove the scrubber and video timer?
0
I would like to create an image gallery where users can view images in various categories.

There will be a category list and when the user clicks a category the wall is populated with images.

Users can then click on an image to further inspect.

Then users can vote (thumbs up/down) on each image. This voting tally is stored.

The user can then pick another category and the wall is populated again.

Desired important features:

-updated by XML
-sortable by category
-sortable by over all rank
-option to display all images in catalog, not just category.
-zoomable navigation look/feel of 3D Wall

I look forward to completing this project, but I just don't know if 3D Wall is customizable like that. Nor do I know the direction to go.

Can someone outline what will be needed to complete such a project and point me in the right direction?

Thanks!
0
Hi Guys,
This is for people with experience using the JWplayer.

I am having trouble with the jwplayer saving the xml playlist into the cache, so in another flash project I am fixing this by loading the xml file like this in actionscript
xml.load("file_name.xml?nocache="random(9999));

How could I use similar coding in html for the jwplayer. So that it adds the nocache query.

I have heard that a no-cache header could be an option, Can you explain how to add that for me, I figure it is javascript but I am wrong quite a bit. haha.
I really appreciate the help.

Thanks,
Randy
0
Hi Experts,

In my flash website.

I have a form called saveForm on submit button click I am calling method submitData.

I can see using trace debugger that I can reach to method submitPOST()

and I am able to reach till trace
      trace("Dinesh 55");
      
Then further it is not printing trace("Dinesh 55.1");

therefore I assume I am getting error at line
      loader.addEventListener(Event.COMPLETE, submitCompleteHandler);
      
and it is going to method "onIOErrorHandler" from base class

When calling method "submitCompleteHandler" it is also printing Dinesh 54 from trace and giving exception

Looks it is giving error at line

             var loader:URLLoader = URLLoader(event.target);
             
How do I fix event.target, if this is the issue

Please help
public class SaveForm extends MovieClipBase { 

	private function submitData():void {                 
		var subscribeconnector:Subscri<wbr ></wbr>beConnecto<wbr ></wbr>r2 = new SubscribeConnector2(variab<wbr ></wbr>les.utitle<wbr ></wbr>, variables.firstname, variables.lastname, variables.email, variables.sendnews, variables.country, variables.joincomp, variables.showgallery, variables.sequence, variables.bonus, variables.journeyname);                
		}
} // End of class SaveForm     



public class SubscribeConnector2 extends DataConnector2 {

	public function SubscribeConnector2(utitle<wbr ></wbr>:String, firstname:String, lastname:String, email:String, sendnews:int, country:String, joincomp:int, 

Open in new window

0

Adobe Flash

29K

Solutions

13K

Contributors

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.