How can create a Simple Flash Preloader
Hi ,
How can create preloader in flash (AS2).
Please help me.
put a textfield on stage in frame 1. assign its instance name to be tf in the properties panel. change your code to:
kglad wrote:
stop();
this.onEnterFrame=function(){
var bl:Number=this.getBytesLoaded();
var bt:Number=this.getBytesTotal();
tf.text=Math.round(100*bl/bt);
// you can use bl and bt to animate your movieclip, if you have one
if(bl==bt){
delete this.onEnterFrame;
play();
Similar Messages
-
How to create a simple idoc in practice? can you provide an example?
how to create a simple idoc in practice? can you provide an example with full source code?
Try with the follwoing steps
Sending System(Outbound ALE Process)
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Create Model View
Tcode BD82 ¡V Generate partner Profiles & Create Ports
Tcode BD64 ¡V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ³ for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ¡V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ¡V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 ¡V Send Material Data
Tcode WE05 ¡V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Thanks & regards
Sreenivas
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Take a look at this guide.
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
http://www.sappro.com/downloads/OneClientDistribution.pdf
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
Create The Extension Segment
Transaction: WE31
The first step in extending an IDoc is to create the new segments that will go into that IDoc. There are some rules that you need to follow when creating the segments:
- The name of each segment type must start with Z1
- For each field in the segment you need to define a field name and a
data element.
- The data element for the segment structure must be of data type CHAR.
How to create new segments:
Run the segment maintenance transaction WE31.
Type your new segment name, and click on Create.
Define the fields of your segment:
Field name
Data Element for the field (from the ABAP dictionary).
Do not change the Export length!
Save the segment
Run Segment -->Check to check the segment for consistency.
Release the segment for transport. Select Edit -->Set Release. Note that the Release column now has a check mark.
Create the Extension IDoc Type
Transaction: WE30
After you create the segments to be added to the extension type, you can create the extension type itself. Execute transaction WE30, enter the extension name, select Extension type, and click Create. You now have three options:
Create new type: Does not refer to other extension types
Create copy: Copies info from an extension type that already exists
Create successor: Extends an extension type from a previous release
of R/3. You can only have one version of an extension type for
each release.
Enter the Basic IDoc type that this extension type will extend.
The screen now shows the structure of the IDoc type you used as
a reference.
Position the cursor on one of the segments and click Create. This will insert an extension segment as a child of the selected segment.
NOTE: A segment cannot appear more than once in an IDoc type! You must control the use of duplicate segments with the segment attributes (the next screen).
The segment attribute screen appears. Enter the information and save.
Extension segments should not be mandatory (for future upgrades), and will need to have minimum and maximum number of instances defined. This answers the question, for each instance of the parent segment, how many instances of the child segment may we have?
You can press the Segment Editor pushbutton to view or change the segment definition.
Create the new Message Type
You can only use an extension IDoc type by assigning it to a message type. You can create a new message type for this.
First the message type itself needs to be created.
Transaction: WE81
Create a new entry and save. Use SAP established customer naming conventions (good form is to start with a Z and retain the rest of the related SAP message type, so, for example, MATMAS becomes ZMATMAS).
After creating the message type, associate it with the corresponding Basic IDoc Type and Extension Type. This relationship is used when IDocs are sent to or received from a partner to determine what segments are valid and what the hierarchy for those segments is.
Transaction: WE82
Create a new entry and enter the Message type, Basic IDoc type, Extension type, and Release, and save your data. Note: the release assignment is not valid for prior SAP releases.
One message type can be associated with many basic IDoc types; however, you need a one-to-one relationship for distribution via ALE.
regards,
srinivas
*reward for useful answers*</b> -
How can I script a Flash .exe file to always stay on top of all other windows?
Hi All,
I'm new to action script, and I just need this one script
> How can I script a Flash .exe file to always stay on top of
all other windows?
Basically what i want to do is have a flash-created
step-by-step instructional movie, but for the movie to remain on
top of all windows so the instructee is able to follow the
instructions on-screen...
It would be preferable to not have to buy another product
just to do this... as I said, this is the only scripting I need.
Thanks in advance
Cheers
Rickif you create your exe with mProjector you can use one of its
new AS
commands to do this.
setZOrder
http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
all APIS
http://www.screentime.com/software/mprojector/docs/index.html
Demo
http://www.screentime.com/software/mprojector/demo.html
mProjector installs new classes and help into Flash, to
enable them you
must build your app with mProjector (its input is your swf)
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com -
How to Create a Bootable Flash Drive to do a clean install of Lion. I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?
The system I'm have is a Mac-mini that had SL on it and no SuperDrive. I have also call Apple Support and they have really have not been to much help over 1st did my up grade to Lion and Installed the Lion Server.... it lost my SSL that I paid for and kill almost on of my server setting, plus kill all my web servers (using apache vhosts), and not to say the LDAP will even let remote users login to your laptops.
PS: There is no way that I'm going to buy a Install USB from Apple... They have over billed me over $300.00 because the Apps Store still has bugs (Glad I did not write that App/Service)
If there is anyone that can give in the information to create a USB install stick, I would be very thinkful.Here you are bro, courtesy of "softpedia.com"....brilliant site!!!
If you ever had problems with your Mac OS X installation you know that the first thing you should do is to check the startup volume using Disk Utility.
After the check has ended and, if the errors exceed a certain level of seriousness, the Disk Utility application will require you to restart your Mac and use its Mac OS X Install disc counterpart.
Other users may have to reinstall OS X altogether, but will find, or already know, that their SuperDrive (a CD/DVD reader and write combo drive) is not functioning properly and it will not be able to read the Install disc.
Although this might happen to Mac OS X Leopard users due to faultyhardware, the vast majority of problematic SuperDrives will be encountered inside Snow Leopard running Macs.
This is due to the updated SuperDrive firmware included in either the Install disc or the software updates one has to install to reach the latest version of OS X, namely 10.6.6.
This can be fixed by flashing the SuperDrive’s stock firmware using free command line tools that one can find for free online (I will write about this process also, but at a later time because this article only focuses on allowing you to create your own alternative USB boot disc).
If you are reading this last bit of information with skepticism, than you should know that it happened to me too. Despite all my tries to make it work properly, the SuperDrive kept on munching any inserted DVDs and just popped them out in about twenty seconds.
The workaround to this issue was to create my own Leopard bootable USB memory stick. I am not suggesting a Snow Leopard bootable stick mainly because there are lots of users that have decided to buy the cheaper, Upgrade version, which I have not tested and, therefore, I’m not sure if it will work properly once written to a USB disk.
And now, here are the exact steps you should follow in order to obtain a fully bootable Leopard (or Lion) Install disc.
Step 1 (If you already have the Leopard install disc DMG file you can skip to Step 2)
Launch Disk Utility (you can find it inside /Applications/Utilities). Here select the Leopard Install disc in the list of drives on the left and click on the New Image menu entry at the top of the window. A save message will appear where you will have to select the Desktop as a destination.
Step 2
After Disk Utility has finished creating the Leopard DMG, insert your USB stick and erase all data and reformat the disk. To do this select the USB in the list of drives on the left and, after clicking on the Erase tab on the right side of the window, choose the Mac OS Extended (Journaled) format and click the Erase button beneath.
Step 3
After the USB has been reformatted, download the SuperDuper app from HERE and launch it. Once SuperDuper starts, you will only have to select the DMG in the Copy drop-down menu, your USB memory stick on the right and hit the “Copy Now” button.
One can also use Disk Utility for this task but creating a bootable USB stick failed 2 out 4 times when copying the DMG to the stick (with the exact same settings each time). Creating the bootable stick using SuperDuper proved to be the perfect way to do it because it worked each of the 4 times I tested it.
The steps above can also be used to create a bootable Mac OS X Lion USB by using the InstallESD.dmg image you can find inside the Lion installer (named “Install Mac OS X Lion.app”) downloaded from the Mac App Store in the /Applications folder.
To locate the InstallESD.dmg right click the Lion installer, select the “Show Package Contents” entry, go inside the “Contents” folder, and from there into the “SharedSupport” folder. Inside this folder you can find the InstallESD.dmg you can use to create your own bootable Mac OS X Lion USB stick. To do so, go to the third step described above and use the InstallESD.dmg as the DMG to be copied to your USB disc.
That’s it! Once the process ends you will have a fully bootable Leopard (or Lion) USB disk that you can use as an alternative to the Apple’s DVD Install disc that comes bundled with all Macs.
To use your newly created bootable disk you will have to restart the Mac, press and hold the OPTION key until the StartupManager appears. Here, select the Mac OS X Install disk using your keyboard arrows and press return to start from the selected drive. -
How to create dynamic ed flash charts based on user selected fields in Orac
Hi all,
Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
Thanks
ManishHello,
Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
How can I repeat my flash animation (my frames)?
Hi Flash forum members
Can you help me somebody: How can I repeat my flash animation (my frames) many times?
I will be looking forward to hearing from you,
SultanIt depends on what you mean and how your design is done.
You can copy and paste frames as many times along a timeline as you, though creating a movieclip of one set and placing that to extend the full length of the timeline would produce the same result.
If the problem is that your animation stops when it is done, you need to be sure to not have any code in place that will stop it. -
How can I make my flash video load faster?
How can I make my flash video created in Flash Pro CC load faster, as of now it takes 2 minutes to load?
This is the source file for video.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title> VOPVIU Video
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
<!--html, body { height:100%; background-color: #666666;}
body { margin:0; padding:0; overflow:hidden; }-->
#flashContent { width:750; height:600; }
</style>
</head>
<body style="background-color:#6E9BD2;">
<center>
<div width="100%" height="100%">
<h3 align="center"> Victims of Political Violence in Uganda <br/> (VOPVIU)
</h3>
<table border="0" width="52%">
<td width="80%" align="center">
<em>
<font color="#FFFFFF">
<strong>
<p> Victims Of Political Violence in Uganda
</p>
Number of views 344 </strong>
</font>
</em>
</td>
<td width="20%" align="right">
<form action="vopviu.php">
<div>
<input type="submit" value="Exit Video">
</div>
</form>
</td>
</table>
<table width="70%" height="70%" border="0">
<td width="70%" height="70%">
<center><div id="flashContent">
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="423" id="faddu_vopviu" align="middle">
<param name="movie" value="faddu_vopviu.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="faddu_vopviu.swf" width="750" height="423">
<param name="movie" value="faddu_vopviu.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</center>
</div>
</center>
</td>
</center>
</table>
</div>
</center>
</body>
</html> -
Where can i find simple flash play/stop button tutorial
Can anyone help me where can i find simple flash play/stop
button tutorial. All i need to import a icon play/stop button, when
click it load wav file.
How can i attach media.fla
when u click btn
on(release) {
CodePlayer.start();
on(release) {
CodePlayer.stop();
action script
CodePlayer = new Sound();
CodePlayer.loadSound("ContactUs.wav",true);OK your sorta close. the .wav file "ContactUs.wav" couldn't
be too large a file, and you can't use 'loadSound' with a .wav, it
would need to be an mp3 file and you also have it set to be a
streaming file, which I would image is not necessary.
So under File>>import select the wav file and add it to
the Library. Select it, right click, and select 'linkage'. Enter a
name for the identifier like 'contact_id' and hit OK. Now go back
to your code on frame one, main timeline and change the code you
have to:
var CodePlayer:Sound = new Sound();
CodePlayer.attachSound("contact_id");
Now in your button handlers change to:
on(release) {
_parent.CodePlayer.start();
on(release) {
_parent.CodePlayer.stop();
} -
How can i send simple message from PC-to-another device
How can i send simple message from PC-to-another device
just simple message (like command String) not SMS or Data File.
I have a computer with bluetooth and the oter side is Embeded Blue
Thanks.http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
This document details how to create triggers on a table that send out JMS messages.
In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
an alternative idea.
you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db. -
How can I use adobe flash player on iPad2
How can I use adobe flash player on iPad 2?
You cannot. Adobe does not make it for ipad.
This has been discussed over and over and over and over and over and over again on these forums. Please do a forums search - right side of this page.
There is no need to add yet another thread on this very tired subject.
Adobe has announces d that they are selling a platforms that will allow ipad users to view flash content. This is nothing that users will have. The developer of the video will have to do this. -
How can I install adobe flash on my firefox when it keeps opening automatically in Chrome?
How can I install adobe flash on my firefox when it keeps opening automatically in Chrome?
Flash Player Plug-in (All other browsers)
That's the installer, regardless of what browser you download it with. -
How can I export an Flash archive to Powerpoint or into a Visual basic form
How can I export an Flash archive(Flash cs4 profesional) with animation to Powerpoint or into a Visual basic form ?,
How can I export an Flash archive(Flash cs4 profesional) with animation to Powerpoint or into a Visual basic form ?,
-
How can I get a Flash Slideshow to show in a browser?
Running Mac Leopard, CS3. Created a simple Flash slideshow using the Modern Photo Slideshow Template. Placed into DW page as dynamic Flash element. Slideshow is 2 photos, and uses manual buttons only. When viewed in DW preview only the first frame shows and buttons don't work (when viewed in Flash preview, it works as expected). When viewed in browser, nothing shows (although the space is visible), unless I turn off Javascript in the browser; then the first frame shows but nothing else works.
I've tried this with 4 different browsers and DW, and all work the same way. What am I missing? Any help appreciated.
<script type="text/javascript">
AC_FL_RunContent( 'codebase','<?php echo $row_rsDispatches2['Image']; ?>','width','450','height','350','src','photos/<?php echo $row_rsDispatches2['Image']; ?>','loop','false','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','play ','false','movie','photos/<?php echo $row_rsDispatches2['Image']; ?>' ); //end AC code
</script><noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="<?php echo $row_rsDispatches2['Image']; ?>" width="450" height="350">
<param name="movie" value="photos/<?php echo $row_rsDispatches2['Image']; ?>" />
<param name="quality" value="high" /><param name="PLAY" value="false" /><param name="LOOP" value="false" />
<embed src="photos/<?php echo $row_rsDispatches2['Image']; ?>" width="450" height="350" loop="false" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" play="false"></embed>
</object>If turning off the javascript makes the file at least appear, then that part of the problem likely means the AC_RunActiveContent.js file is not where it needs to be (if it is not coded directly into the html page). In the head of your html page should be some indication of where that file needs to be (if it is not coded into the head section directly). Turning off javascript is forcing the <noscript> section to load the file.
As for nothing working anyways when you view it in a web page, it may be because of the location of the file. Your code indicates that the swf is located in a folder named photos. If that swf loads the images dynamically from that same folder, then the problem arises when you load the swf into a file in a different folder. Once the swf is planted into a file in a different folder, that folder becomes its frame of reference for loading content dynamically. So if the swf originally loaded files using targets like...image1.jpg, image2.jpg, etc.... when it is placed into parent folder's file, it needs to target them as if it actually lives in that folder using... photos/image1.jpeg, photos/image2.jpg, etc... -
How can I install adobe flash player on my iPod mini.
How can i install adobe flash player on my Ipad mini?
Adobe has not made a version of Flash for the iPad.
Kappy explains why. https://discussions.apple.com/message/19446567#19446567
5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
Top 4 browsers supports flash player on iPad and iPhone
http://mashtips.com/flash-player-ios/
Cheers, Tom -
How can I install Adobe Flash Player on my Mac/Yosemite?
How can I install Adobe Flash Player on my Mac Pro/Yosemite?
Zoeykm wrote:
How can I install Adobe Flash Player on my Mac Pro/Yosemite?
Download the DMG installer from Adobe here and run it.
Maybe you are looking for
-
I was messing around with some footage I shot with my little Panny Lumix still camera. I dropped the clips into the timeline and was immediately told the clips did not conform to the sequence settings and did I want FCP to reset the sequence properly
-
Yosemite Filevault No External Monitor Until Authentication
I have a MB Pro with an external monitor attached via display port. In Mavericks, I would cold boot then shut the MB screen and my login prompt, etc would show on the external monitor. After doing a fresh install of Yosemite and enabling file vault
-
Hi. I have an Arris cable modem connected to my MacBook and everything works fine but when I connect my AE everything seems go go wrong. I have a static IP and I transfered the details to the AE via ethernet and then plugged the cable modem into the
-
Intrastat Output File doesnot contain VAT number and Document Number
Hi experts, While creating a output file from Intrastat Dispacth, I am not getting Document number and VAT number in output file. I can see the Document number in Display of selection log. Can someone help me? Thanks Arpit
-
What is best Application to track my kid's iphone?
My kid and I have different Apple IDs so I believe that I cannot use 'Find My iphone'. Does anyone know the best app for me to track my kid's iphone. He will know about it